Searched refs:work_ctx (Results 1 – 5 of 5) sorted by relevance
| /drivers/net/ethernet/mellanox/mlx5/core/sf/dev/ |
| A D | dev.c | 224 struct mlx5_sf_dev_active_work_ctx *work_ctx; in mlx5_sf_dev_add_active_work() local 227 if (work_ctx->table->stop_active_wq) in mlx5_sf_dev_add_active_work() 230 if (!xa_load(&work_ctx->table->devices, work_ctx->sf_index)) in mlx5_sf_dev_add_active_work() 231 mlx5_sf_dev_add(work_ctx->table->dev, work_ctx->sf_index, in mlx5_sf_dev_add_active_work() 232 work_ctx->event.function_id, work_ctx->event.sw_function_id); in mlx5_sf_dev_add_active_work() 245 kfree(work_ctx); in mlx5_sf_dev_add_active_work() 279 work_ctx = kzalloc(sizeof(*work_ctx), GFP_KERNEL); in mlx5_sf_dev_queue_active_works() 280 if (!work_ctx) in mlx5_sf_dev_queue_active_works() 284 work_ctx->event.function_id = function_id; in mlx5_sf_dev_queue_active_works() 286 work_ctx->table = table; in mlx5_sf_dev_queue_active_works() [all …]
|
| /drivers/crypto/intel/qat/qat_common/ |
| A D | adf_timer.c | 26 timer_ctx = container_of(to_delayed_work(work), struct adf_timer, work_ctx); in work_handler() 29 adf_misc_wq_queue_delayed_work(&timer_ctx->work_ctx, in work_handler() 51 INIT_DELAYED_WORK(&timer_ctx->work_ctx, work_handler); in adf_timer_start() 52 adf_misc_wq_queue_delayed_work(&timer_ctx->work_ctx, in adf_timer_start() 66 cancel_delayed_work_sync(&timer_ctx->work_ctx); in adf_timer_stop()
|
| A D | adf_telemetry.c | 163 telemetry = container_of(delayed_work, struct adf_telemetry, work_ctx); in tl_work_handler() 171 cancel_delayed_work_sync(&telemetry->work_ctx); in tl_work_handler() 196 adf_misc_wq_queue_delayed_work(&telemetry->work_ctx, get_next_timeout()); in tl_work_handler() 205 cancel_delayed_work_sync(&telemetry->work_ctx); in adf_tl_halt() 241 adf_misc_wq_queue_delayed_work(&telemetry->work_ctx, get_next_timeout()); in adf_tl_run() 270 INIT_DELAYED_WORK(&telemetry->work_ctx, tl_work_handler); in adf_tl_init()
|
| A D | adf_timer.h | 14 struct delayed_work work_ctx; member
|
| A D | adf_telemetry.h | 70 struct delayed_work work_ctx; member
|
Completed in 10 milliseconds