Lines Matching refs:icq
438 return bic->icq.q->elevator->elevator_data;
443 * @icq: the iocontext queue.
445 static struct bfq_io_cq *icq_to_bic(struct io_cq *icq)
447 /* bic->icq is the first member, %NULL will convert to %NULL */
448 return container_of(icq, struct bfq_io_cq, icq);
457 struct bfq_io_cq *icq;
464 icq = icq_to_bic(ioc_lookup_icq(q));
467 return icq;
4987 icq_to_bic(async_bfqq->next_rq->elv.icq) == bfqq->bic &&
5466 static void bfq_exit_icq(struct io_cq *icq)
5468 struct bfq_io_cq *bic = icq_to_bic(icq);
5565 int ioprio = bic->icq.ioc->ioprio;
5971 if (atomic_read(&bic->icq.ioc->active_ref) == 0 ||
6655 * rq either is not associated with any icq, or is an already
6659 if (!rq->elv.icq || !bfqq)
6707 if (rq->elv.icq) {
6708 put_io_context(rq->elv.icq->ioc);
6709 rq->elv.icq = NULL;
6812 rq->elv.icq = ioc_find_get_icq(rq->q);
6815 * Regardless of whether we have an icq attached, we have to
6833 * rq, rq may still be transformed into a request with no icq, i.e., a
6857 if (unlikely(!rq->elv.icq))
6870 bic = icq_to_bic(rq->elv.icq);