Home
last modified time | relevance | path

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

/openbmc/linux/block/
H A Dblk-ioc.c37 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()
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
64 hlist_for_each_entry(icq, &ioc->icq_list, ioc_node) in ioc_exit_icqs()
65 ioc_exit_icq(icq); in ioc_exit_icqs()
[all …]
H A Dbfq-iosched.c438 return bic->icq.q->elevator->elevator_data; in bic_to_bfqd()
445 static struct bfq_io_cq *icq_to_bic(struct io_cq *icq) in icq_to_bic() argument
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()
5000 icq_to_bic(async_bfqq->next_rq->elv.icq) == bfqq->bic && in bfq_select_queue()
5479 static void bfq_exit_icq(struct io_cq *icq) in bfq_exit_icq() argument
5481 struct bfq_io_cq *bic = icq_to_bic(icq); in bfq_exit_icq()
5578 int ioprio = bic->icq.ioc->ioprio; in bfq_check_ioprio_change()
[all …]
H A Dbfq-iosched.h479 struct io_cq icq; /* must be the first member */ member
/openbmc/linux/include/linux/
H A Dblk-mq.h175 struct io_cq *icq; member