Lines Matching refs:hws_work
8567 struct mlxsw_sp_router_hwstats_notify_work *hws_work = in mlxsw_sp_router_hwstats_notify_work() local
8572 rtnl_offload_xstats_notify(hws_work->dev); in mlxsw_sp_router_hwstats_notify_work()
8574 netdev_put(hws_work->dev, &hws_work->dev_tracker); in mlxsw_sp_router_hwstats_notify_work()
8575 kfree(hws_work); in mlxsw_sp_router_hwstats_notify_work()
8581 struct mlxsw_sp_router_hwstats_notify_work *hws_work; in mlxsw_sp_router_hwstats_notify_schedule() local
8589 hws_work = kzalloc(sizeof(*hws_work), GFP_KERNEL); in mlxsw_sp_router_hwstats_notify_schedule()
8590 if (!hws_work) in mlxsw_sp_router_hwstats_notify_schedule()
8593 INIT_WORK(&hws_work->work, mlxsw_sp_router_hwstats_notify_work); in mlxsw_sp_router_hwstats_notify_schedule()
8594 netdev_hold(dev, &hws_work->dev_tracker, GFP_KERNEL); in mlxsw_sp_router_hwstats_notify_schedule()
8595 hws_work->dev = dev; in mlxsw_sp_router_hwstats_notify_schedule()
8596 mlxsw_core_schedule_work(&hws_work->work); in mlxsw_sp_router_hwstats_notify_schedule()