Searched refs:hws_work (Results 1 – 1 of 1) sorted by relevance
8567 struct mlxsw_sp_router_hwstats_notify_work *hws_work = in mlxsw_sp_router_hwstats_notify_work() local8572 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() local8589 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()[all …]