Lines Matching defs:work
784 static void cb_timeout_handler(struct work_struct *work)
786 struct delayed_work *dwork = container_of(work, struct delayed_work,
787 work);
863 static void cmd_work_handler(struct work_struct *work)
865 struct mlx5_cmd_work_ent *ent = container_of(work, struct mlx5_cmd_work_ent, work);
1005 INIT_WORK(&ent->work, cmd_work_handler);
1007 cmd_work_handler(&ent->work);
1008 } else if (!queue_work(dev->priv.health.wq_cmd, &ent->work)) {
1009 mlx5_core_warn(dev, "failed to queue work\n");
1387 struct mlx5_async_work *work = _work;
1388 struct mlx5_async_ctx *ctx = work->ctx;
1390 work->user_callback(status, work);
1397 struct mlx5_async_work *work)
1401 work->ctx = ctx;
1402 work->user_callback = callback;
1406 mlx5_cmd_exec_cb_handler, work, false);