Home
last modified time | relevance | path

Searched refs:icq (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/block/
Dblk-ioc.c34 struct io_cq *icq = container_of(head, struct io_cq, __rcu_head); in icq_free_icq_rcu() local
36 kmem_cache_free(icq->__rcu_icq_cache, icq); in icq_free_icq_rcu()
43 static void ioc_exit_icq(struct io_cq *icq) in ioc_exit_icq() argument
45 struct elevator_type *et = icq->q->elevator->type; in ioc_exit_icq()
47 if (icq->flags & ICQ_EXITED) in ioc_exit_icq()
51 et->ops.exit_icq(icq); in ioc_exit_icq()
53 icq->flags |= ICQ_EXITED; in ioc_exit_icq()
60 static void ioc_destroy_icq(struct io_cq *icq) in ioc_destroy_icq() argument
62 struct io_context *ioc = icq->ioc; in ioc_destroy_icq()
63 struct request_queue *q = icq->q; in ioc_destroy_icq()
[all …]
Dblk-mq-sched.c25 struct io_cq *icq; in blk_mq_sched_assign_ioc() local
35 icq = ioc_lookup_icq(ioc, q); in blk_mq_sched_assign_ioc()
38 if (!icq) { in blk_mq_sched_assign_ioc()
39 icq = ioc_create_icq(ioc, q, GFP_ATOMIC); in blk_mq_sched_assign_ioc()
40 if (!icq) in blk_mq_sched_assign_ioc()
43 get_io_context(icq->ioc); in blk_mq_sched_assign_ioc()
44 rq->elv.icq = icq; in blk_mq_sched_assign_ioc()
Dbfq-iosched.c387 return bic->icq.q->elevator->elevator_data; in bic_to_bfqd()
394 static struct bfq_io_cq *icq_to_bic(struct io_cq *icq) in icq_to_bic() argument
397 return container_of(icq, struct bfq_io_cq, icq); in icq_to_bic()
412 struct bfq_io_cq *icq; in bfq_bic_lookup() local
415 icq = icq_to_bic(ioc_lookup_icq(ioc, q)); in bfq_bic_lookup()
418 return icq; in bfq_bic_lookup()
4538 icq_to_bic(async_bfqq->next_rq->elv.icq) == bfqq->bic && in bfq_select_queue()
5000 static void bfq_exit_icq(struct io_cq *icq) in bfq_exit_icq() argument
5002 struct bfq_io_cq *bic = icq_to_bic(icq); in bfq_exit_icq()
5068 int ioprio = bic->icq.ioc->ioprio; in bfq_check_ioprio_change()
[all …]
Dbfq-iosched.h390 struct io_cq icq; /* must be the first member */ member
Dblk-mq.c349 rq->elv.icq = NULL; in blk_mq_rq_ctx_init()
534 if (rq->elv.icq) { in blk_mq_free_request()
535 put_io_context(rq->elv.icq->ioc); in blk_mq_free_request()
536 rq->elv.icq = NULL; in blk_mq_free_request()
/kernel/linux/linux-5.10/include/linux/
Dblkdev.h187 struct io_cq *icq; member