Searched refs:host_work (Results 1 – 1 of 1) sorted by relevance
3067 struct mlx5_host_work *host_work; in esw_functions_changed_event_handler() local3071 host_work = container_of(work, struct mlx5_host_work, work); in esw_functions_changed_event_handler()3072 esw = host_work->esw; in esw_functions_changed_event_handler()3081 kfree(host_work); in esw_functions_changed_event_handler()3087 struct mlx5_host_work *host_work; in mlx5_esw_funcs_changed_handler() local3090 host_work = kzalloc(sizeof(*host_work), GFP_ATOMIC); in mlx5_esw_funcs_changed_handler()3091 if (!host_work) in mlx5_esw_funcs_changed_handler()3097 host_work->esw = esw; in mlx5_esw_funcs_changed_handler()3099 INIT_WORK(&host_work->work, esw_functions_changed_event_handler); in mlx5_esw_funcs_changed_handler()3100 queue_work(esw->work_queue, &host_work->work); in mlx5_esw_funcs_changed_handler()