Lines Matching refs:tasklet_ctx
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()
415 cq->tasklet_ctx.priv = in mlx4_cq_alloc()
416 &priv->eq_table.eq[MLX4_CQ_TO_EQ_VECTOR(vector)].tasklet_ctx; in mlx4_cq_alloc()
417 INIT_LIST_HEAD(&cq->tasklet_ctx.list); in mlx4_cq_alloc()