Searched refs:icq (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/block/ |
H A D | blk-ioc.c | 34 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() 40 * Exit an icq. Called with ioc locked for blk-mq, and with both ioc 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() 57 * Release an icq 60 ioc_destroy_icq(struct io_cq *icq) ioc_destroy_icq() argument 102 struct io_cq *icq = hlist_entry(ioc->icq_list.first, ioc_release_fn() local 179 struct io_cq *icq; put_io_context_active() local 218 struct io_cq *icq = list_entry(icq_list->next, __ioc_clear_queue() local 334 struct io_cq *icq; ioc_lookup_icq() local 376 struct io_cq *icq; ioc_create_icq() local [all...] |
H A D | blk-mq-sched.c | 25 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()
|
H A D | bfq-iosched.c | 387 return bic->icq.q->elevator->elevator_data; in bic_to_bfqd() 392 * @icq: the iocontext queue. 394 static struct bfq_io_cq *icq_to_bic(struct io_cq *icq) in icq_to_bic() argument 396 /* bic->icq is the first member, %NULL will convert to %NULL */ in icq_to_bic() 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) in bfq_select_queue() 5000 bfq_exit_icq(struct io_cq *icq) bfq_exit_icq() argument [all...] |
H A D | bfq-iosched.h | 390 struct io_cq icq; /* must be the first member */ member
|
H A D | blk-mq.c | 349 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-6.6/block/ |
H A D | blk-ioc.c | 37 struct io_cq *icq = container_of(head, struct io_cq, __rcu_head); in icq_free_icq_rcu() local 39 kmem_cache_free(icq->__rcu_icq_cache, icq); in icq_free_icq_rcu() 43 * Exit an icq. Called with ioc locked for blk-mq, and with both ioc 46 static void ioc_exit_icq(struct io_cq *icq) in ioc_exit_icq() argument 48 struct elevator_type *et = icq->q->elevator->type; in ioc_exit_icq() 50 if (icq->flags & ICQ_EXITED) in ioc_exit_icq() 54 et->ops.exit_icq(icq); in ioc_exit_icq() 56 icq->flags |= ICQ_EXITED; in ioc_exit_icq() 61 struct io_cq *icq; in ioc_exit_icqs() local 73 ioc_destroy_icq(struct io_cq *icq) ioc_destroy_icq() argument 119 struct io_cq *icq = hlist_entry(ioc->icq_list.first, ioc_release_fn() local 175 struct io_cq *icq = ioc_clear_queue() local 327 struct io_cq *icq; ioc_lookup_icq() local 367 struct io_cq *icq; ioc_create_icq() local 410 struct io_cq *icq = NULL; ioc_find_get_icq() local [all...] |
H A D | bfq-iosched.c | 438 return bic->icq.q->elevator->elevator_data; in bic_to_bfqd() 443 * @icq: the iocontext queue. 445 static struct bfq_io_cq *icq_to_bic(struct io_cq *icq) in icq_to_bic() argument 447 /* bic->icq is the first member, %NULL will convert to %NULL */ in icq_to_bic() 448 return container_of(icq, struct bfq_io_cq, icq); in icq_to_bic() 457 struct bfq_io_cq *icq; in bfq_bic_lookup() local 464 icq = icq_to_bic(ioc_lookup_icq(q)); in bfq_bic_lookup() 467 return icq; in bfq_bic_lookup() 4987 icq_to_bic(async_bfqq->next_rq->elv.icq) in bfq_select_queue() 5466 bfq_exit_icq(struct io_cq *icq) bfq_exit_icq() argument [all...] |
H A D | bfq-iosched.h | 479 struct io_cq icq; /* must be the first member */ member
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | blk-mq.h | 175 struct io_cq *icq; member
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | blkdev.h | 187 struct io_cq *icq; member
|
Completed in 33 milliseconds