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