Searched refs:hws_work (Results 1 – 1 of 1) sorted by relevance
8027 struct mlxsw_sp_router_hwstats_notify_work *hws_work = in mlxsw_sp_router_hwstats_notify_work() local8032 rtnl_offload_xstats_notify(hws_work->dev); in mlxsw_sp_router_hwstats_notify_work()8034 dev_put(hws_work->dev); in mlxsw_sp_router_hwstats_notify_work()8035 kfree(hws_work); in mlxsw_sp_router_hwstats_notify_work()8041 struct mlxsw_sp_router_hwstats_notify_work *hws_work; in mlxsw_sp_router_hwstats_notify_schedule() local8049 hws_work = kzalloc(sizeof(*hws_work), GFP_KERNEL); in mlxsw_sp_router_hwstats_notify_schedule()8050 if (!hws_work) in mlxsw_sp_router_hwstats_notify_schedule()8053 INIT_WORK(&hws_work->work, mlxsw_sp_router_hwstats_notify_work); in mlxsw_sp_router_hwstats_notify_schedule()8055 hws_work->dev = dev; in mlxsw_sp_router_hwstats_notify_schedule()8056 mlxsw_core_schedule_work(&hws_work->work); in mlxsw_sp_router_hwstats_notify_schedule()