Lines Matching refs:icq
387 return bic->icq.q->elevator->elevator_data;
392 * @icq: the iocontext queue.
394 static struct bfq_io_cq *icq_to_bic(struct io_cq *icq)
396 /* bic->icq is the first member, %NULL will convert to %NULL */
397 return container_of(icq, struct bfq_io_cq, icq);
412 struct bfq_io_cq *icq;
415 icq = icq_to_bic(ioc_lookup_icq(ioc, q));
418 return icq;
4538 icq_to_bic(async_bfqq->next_rq->elv.icq) == bfqq->bic &&
5000 static void bfq_exit_icq(struct io_cq *icq)
5002 struct bfq_io_cq *bic = icq_to_bic(icq);
5068 int ioprio = bic->icq.ioc->ioprio;
5280 if (atomic_read(&bic->icq.ioc->active_ref) == 0 ||
5941 * rq either is not associated with any icq, or is an already
5945 if (!rq->elv.icq || !bfqq)
6086 * Regardless of whether we have an icq attached, we have to
6104 * rq, rq may still be transformed into a request with no icq, i.e., a
6127 if (unlikely(!rq->elv.icq))
6140 bic = icq_to_bic(rq->elv.icq);