Lines Matching refs:kcq
444 static void kyber_ctx_queue_init(struct kyber_ctx_queue *kcq) in kyber_ctx_queue_init() argument
448 spin_lock_init(&kcq->lock); in kyber_ctx_queue_init()
450 INIT_LIST_HEAD(&kcq->rq_list[i]); in kyber_ctx_queue_init()
573 struct kyber_ctx_queue *kcq = &khd->kcqs[ctx->index_hw[hctx->type]]; in kyber_bio_merge() local
575 struct list_head *rq_list = &kcq->rq_list[sched_domain]; in kyber_bio_merge()
578 spin_lock(&kcq->lock); in kyber_bio_merge()
580 spin_unlock(&kcq->lock); in kyber_bio_merge()
599 struct kyber_ctx_queue *kcq = &khd->kcqs[rq->mq_ctx->index_hw[hctx->type]]; in kyber_insert_requests() local
600 struct list_head *head = &kcq->rq_list[sched_domain]; in kyber_insert_requests()
602 spin_lock(&kcq->lock); in kyber_insert_requests()
610 spin_unlock(&kcq->lock); in kyber_insert_requests()
670 struct kyber_ctx_queue *kcq = &flush_data->khd->kcqs[bitnr]; in flush_busy_kcq() local
672 spin_lock(&kcq->lock); in flush_busy_kcq()
673 list_splice_tail_init(&kcq->rq_list[flush_data->sched_domain], in flush_busy_kcq()
676 spin_unlock(&kcq->lock); in flush_busy_kcq()