Lines Matching refs:cq
926 struct cache_queue *cq; in cache_poll() local
938 for (cq= &rp->q; &cq->list != &cd->queue; in cache_poll()
939 cq = list_entry(cq->list.next, struct cache_queue, list)) in cache_poll()
940 if (!cq->reader) { in cache_poll()
954 struct cache_queue *cq; in cache_ioctl() local
964 for (cq= &rp->q; &cq->list != &cd->queue; in cache_ioctl()
965 cq = list_entry(cq->list.next, struct cache_queue, list)) in cache_ioctl()
966 if (!cq->reader) { in cache_ioctl()
968 container_of(cq, struct cache_request, q); in cache_ioctl()
1010 struct cache_queue *cq; in cache_release() local
1011 for (cq= &rp->q; &cq->list != &cd->queue; in cache_release()
1012 cq = list_entry(cq->list.next, struct cache_queue, list)) in cache_release()
1013 if (!cq->reader) { in cache_release()
1014 container_of(cq, struct cache_request, q) in cache_release()
1037 struct cache_queue *cq, *tmp; in cache_dequeue() local
1043 list_for_each_entry_safe(cq, tmp, &detail->queue, list) in cache_dequeue()
1044 if (!cq->reader) { in cache_dequeue()
1045 cr = container_of(cq, struct cache_request, q); in cache_dequeue()