Lines Matching refs:kcq
452 static void kyber_ctx_queue_init(struct kyber_ctx_queue *kcq) in kyber_ctx_queue_init() argument
456 spin_lock_init(&kcq->lock); in kyber_ctx_queue_init()
458 INIT_LIST_HEAD(&kcq->rq_list[i]); in kyber_ctx_queue_init()
571 struct kyber_ctx_queue *kcq = &khd->kcqs[ctx->index_hw[hctx->type]]; in kyber_bio_merge() local
573 struct list_head *rq_list = &kcq->rq_list[sched_domain]; in kyber_bio_merge()
576 spin_lock(&kcq->lock); in kyber_bio_merge()
578 spin_unlock(&kcq->lock); in kyber_bio_merge()
596 struct kyber_ctx_queue *kcq = &khd->kcqs[rq->mq_ctx->index_hw[hctx->type]]; in kyber_insert_requests() local
597 struct list_head *head = &kcq->rq_list[sched_domain]; in kyber_insert_requests()
599 spin_lock(&kcq->lock); in kyber_insert_requests()
607 spin_unlock(&kcq->lock); in kyber_insert_requests()
667 struct kyber_ctx_queue *kcq = &flush_data->khd->kcqs[bitnr]; in flush_busy_kcq() local
669 spin_lock(&kcq->lock); in flush_busy_kcq()
670 list_splice_tail_init(&kcq->rq_list[flush_data->sched_domain], in flush_busy_kcq()
673 spin_unlock(&kcq->lock); in flush_busy_kcq()