Lines Matching refs: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.
439 static void kyber_ctx_queue_init(struct kyber_ctx_queue *kcq)
443 spin_lock_init(&kcq->lock);
445 INIT_LIST_HEAD(&kcq->rq_list[i]);
567 struct kyber_ctx_queue *kcq = &khd->kcqs[ctx->index_hw[hctx->type]];
569 struct list_head *rq_list = &kcq->rq_list[sched_domain];
572 spin_lock(&kcq->lock);
574 spin_unlock(&kcq->lock);
592 struct kyber_ctx_queue *kcq = &khd->kcqs[rq->mq_ctx->index_hw[hctx->type]];
593 struct list_head *head = &kcq->rq_list[sched_domain];
595 spin_lock(&kcq->lock);
603 spin_unlock(&kcq->lock);
663 struct kyber_ctx_queue *kcq = &flush_data->khd->kcqs[bitnr];
665 spin_lock(&kcq->lock);
666 list_splice_tail_init(&kcq->rq_list[flush_data->sched_domain],
669 spin_unlock(&kcq->lock);