Searched refs:tasklet_ctx (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | cq.c | 58 tasklet_ctx.list) { in mlx5_cq_tasklet_cb() 59 list_del_init(&mcq->tasklet_ctx.list); in mlx5_cq_tasklet_cb() 60 mcq->tasklet_ctx.comp(mcq); in mlx5_cq_tasklet_cb() 73 struct mlx5_eq_tasklet *tasklet_ctx = cq->tasklet_ctx.priv; in mlx5_add_cq_to_tasklet() local 75 spin_lock_irqsave(&tasklet_ctx->lock, flags); in mlx5_add_cq_to_tasklet() 81 if (list_empty_careful(&cq->tasklet_ctx.list)) { in mlx5_add_cq_to_tasklet() 83 list_add_tail(&cq->tasklet_ctx.list, &tasklet_ctx->list); in mlx5_add_cq_to_tasklet() 85 spin_unlock_irqrestore(&tasklet_ctx->lock, flags); in mlx5_add_cq_to_tasklet() 117 cq->tasklet_ctx.priv = &eq->tasklet_ctx; in mlx5_core_create_cq() 118 INIT_LIST_HEAD(&cq->tasklet_ctx.list); in mlx5_core_create_cq()
|
D | eq.c | 612 tasklet_schedule(&eq->tasklet_ctx.task); in mlx5_eq_int() 731 INIT_LIST_HEAD(&eq->tasklet_ctx.list); in mlx5_create_map_eq() 732 INIT_LIST_HEAD(&eq->tasklet_ctx.process_list); in mlx5_create_map_eq() 733 spin_lock_init(&eq->tasklet_ctx.lock); in mlx5_create_map_eq() 734 tasklet_init(&eq->tasklet_ctx.task, mlx5_cq_tasklet_cb, in mlx5_create_map_eq() 735 (unsigned long)&eq->tasklet_ctx); in mlx5_create_map_eq() 772 tasklet_disable(&eq->tasklet_ctx.task); in mlx5_destroy_unmap_eq()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/ |
D | cq.c | 69 list_for_each_entry_safe(mcq, temp, &ctx->process_list, tasklet_ctx.list) { in mlx4_cq_tasklet_cb() 70 list_del_init(&mcq->tasklet_ctx.list); in mlx4_cq_tasklet_cb() 71 mcq->tasklet_ctx.comp(mcq); in mlx4_cq_tasklet_cb() 84 struct mlx4_eq_tasklet *tasklet_ctx = cq->tasklet_ctx.priv; in mlx4_add_cq_to_tasklet() local 88 spin_lock_irqsave(&tasklet_ctx->lock, flags); in mlx4_add_cq_to_tasklet() 94 if (list_empty_careful(&cq->tasklet_ctx.list)) { in mlx4_add_cq_to_tasklet() 96 kick = list_empty(&tasklet_ctx->list); in mlx4_add_cq_to_tasklet() 97 list_add_tail(&cq->tasklet_ctx.list, &tasklet_ctx->list); in mlx4_add_cq_to_tasklet() 99 tasklet_schedule(&tasklet_ctx->task); in mlx4_add_cq_to_tasklet() 101 spin_unlock_irqrestore(&tasklet_ctx->lock, flags); in mlx4_add_cq_to_tasklet() [all …]
|
D | eq.c | 1058 INIT_LIST_HEAD(&eq->tasklet_ctx.list); in mlx4_create_eq() 1059 INIT_LIST_HEAD(&eq->tasklet_ctx.process_list); in mlx4_create_eq() 1060 spin_lock_init(&eq->tasklet_ctx.lock); in mlx4_create_eq() 1061 tasklet_init(&eq->tasklet_ctx.task, mlx4_cq_tasklet_cb, in mlx4_create_eq() 1062 (unsigned long)&eq->tasklet_ctx); in mlx4_create_eq() 1105 tasklet_disable(&eq->tasklet_ctx.task); in mlx4_free_eq()
|
D | mlx4.h | 401 struct mlx4_eq_tasklet tasklet_ctx; member
|
/Linux-v4.19/include/linux/mlx5/ |
D | cq.h | 60 } tasklet_ctx; member
|
D | driver.h | 410 struct mlx5_eq_tasklet tasklet_ctx; member
|
/Linux-v4.19/drivers/infiniband/hw/mlx4/ |
D | cq.c | 254 cq->mcq.tasklet_ctx.comp = mlx4_ib_cq_comp; in mlx4_ib_create_cq()
|
/Linux-v4.19/include/linux/mlx4/ |
D | device.h | 758 } tasklet_ctx; member
|
/Linux-v4.19/drivers/infiniband/hw/mlx5/ |
D | cq.c | 1060 cq->mcq.tasklet_ctx.comp = mlx5_ib_cq_comp; in mlx5_ib_create_cq()
|