Lines Matching defs:kcq
138 * There is a same mapping between ctx & hctx and kcq & khd,
139 * we use request->mq_ctx->index_hw to index the kcq in khd.
444 static void kyber_ctx_queue_init(struct kyber_ctx_queue *kcq)
448 spin_lock_init(&kcq->lock);
450 INIT_LIST_HEAD(&kcq->rq_list[i]);
573 struct kyber_ctx_queue *kcq = &khd->kcqs[ctx->index_hw[hctx->type]];
575 struct list_head *rq_list = &kcq->rq_list[sched_domain];
578 spin_lock(&kcq->lock);
580 spin_unlock(&kcq->lock);
599 struct kyber_ctx_queue *kcq = &khd->kcqs[rq->mq_ctx->index_hw[hctx->type]];
600 struct list_head *head = &kcq->rq_list[sched_domain];
602 spin_lock(&kcq->lock);
610 spin_unlock(&kcq->lock);
670 struct kyber_ctx_queue *kcq = &flush_data->khd->kcqs[bitnr];
672 spin_lock(&kcq->lock);
673 list_splice_tail_init(&kcq->rq_list[flush_data->sched_domain],
676 spin_unlock(&kcq->lock);