Searched refs:icq (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/block/ |
D | blk-ioc.c | 35 struct io_cq *icq = container_of(head, struct io_cq, __rcu_head); in icq_free_icq_rcu() local 37 kmem_cache_free(icq->__rcu_icq_cache, icq); in icq_free_icq_rcu() 44 static void ioc_exit_icq(struct io_cq *icq) in ioc_exit_icq() argument 46 struct elevator_type *et = icq->q->elevator->type; in ioc_exit_icq() 48 if (icq->flags & ICQ_EXITED) in ioc_exit_icq() 52 et->ops.mq.exit_icq(icq); in ioc_exit_icq() 54 et->ops.sq.elevator_exit_icq_fn(icq); in ioc_exit_icq() 56 icq->flags |= ICQ_EXITED; in ioc_exit_icq() 63 static void ioc_destroy_icq(struct io_cq *icq) in ioc_destroy_icq() argument 65 struct io_context *ioc = icq->ioc; in ioc_destroy_icq() [all …]
|
D | blk-mq-sched.c | 38 struct io_cq *icq; in blk_mq_sched_assign_ioc() local 41 icq = ioc_lookup_icq(ioc, q); in blk_mq_sched_assign_ioc() 44 if (!icq) { in blk_mq_sched_assign_ioc() 45 icq = ioc_create_icq(ioc, q, GFP_ATOMIC); in blk_mq_sched_assign_ioc() 46 if (!icq) in blk_mq_sched_assign_ioc() 49 get_io_context(icq->ioc); in blk_mq_sched_assign_ioc() 50 rq->elv.icq = icq; in blk_mq_sched_assign_ioc()
|
D | blk-core.c | 1212 if (rq->elv.icq) in blk_free_request() 1213 put_io_context(rq->elv.icq->ioc); in blk_free_request() 1353 struct io_cq *icq = NULL; in __get_request() local 1422 icq = ioc_lookup_icq(ioc, q); in __get_request() 1443 if (unlikely(et->icq_cache && !icq)) { in __get_request() 1445 icq = ioc_create_icq(ioc, q, gfp_mask); in __get_request() 1446 if (!icq) in __get_request() 1450 rq->elv.icq = icq; in __get_request() 1455 if (icq) in __get_request() 1456 get_io_context(icq->ioc); in __get_request() [all …]
|
D | bfq-iosched.c | 375 return bic->icq.q->elevator->elevator_data; in bic_to_bfqd() 382 static struct bfq_io_cq *icq_to_bic(struct io_cq *icq) in icq_to_bic() argument 385 return container_of(icq, struct bfq_io_cq, icq); in icq_to_bic() 400 struct bfq_io_cq *icq; in bfq_bic_lookup() local 403 icq = icq_to_bic(ioc_lookup_icq(ioc, q)); in bfq_bic_lookup() 406 return icq; in bfq_bic_lookup() 4120 static void bfq_exit_icq(struct io_cq *icq) in bfq_exit_icq() argument 4122 struct bfq_io_cq *bic = icq_to_bic(icq); in bfq_exit_icq() 4187 int ioprio = bic->icq.ioc->ioprio; in bfq_check_ioprio_change() 4402 if (atomic_read(&bic->icq.ioc->active_ref) == 0 || in bfq_update_has_short_ttime() [all …]
|
D | cfq-iosched.c | 63 #define RQ_CIC(rq) icq_to_cic((rq)->elv.icq) 316 struct io_cq icq; /* must be the first member */ member 891 static inline struct cfq_io_cq *icq_to_cic(struct io_cq *icq) in icq_to_cic() argument 894 return container_of(icq, struct cfq_io_cq, icq); in icq_to_cic() 918 return cic->icq.q->elevator->elevator_data; in cic_to_cfqd() 2689 put_io_context(cfqd->active_cic->icq.ioc); in __cfq_slice_expired() 2947 if (!cic || !atomic_read(&cic->icq.ioc->active_ref)) in cfq_arm_slice_timer() 3518 atomic_long_inc(&cic->icq.ioc->refcount); in cfq_dispatch_request() 3634 static void cfq_init_icq(struct io_cq *icq) in cfq_init_icq() argument 3636 struct cfq_io_cq *cic = icq_to_cic(icq); in cfq_init_icq() [all …]
|
D | bfq-iosched.h | 361 struct io_cq icq; /* must be the first member */ member
|
D | blk-mq.c | 386 rq->elv.icq = NULL; in blk_mq_get_request() 496 if (rq->elv.icq) { in blk_mq_free_request() 497 put_io_context(rq->elv.icq->ioc); in blk_mq_free_request() 498 rq->elv.icq = NULL; in blk_mq_free_request()
|
/Linux-v4.19/include/linux/ |
D | blkdev.h | 202 struct io_cq *icq; member
|