Lines Matching refs:cq
980 struct cache_queue *cq; in cache_poll() local
992 for (cq= &rp->q; &cq->list != &cd->queue; in cache_poll()
993 cq = list_entry(cq->list.next, struct cache_queue, list)) in cache_poll()
994 if (!cq->reader) { in cache_poll()
1008 struct cache_queue *cq; in cache_ioctl() local
1018 for (cq= &rp->q; &cq->list != &cd->queue; in cache_ioctl()
1019 cq = list_entry(cq->list.next, struct cache_queue, list)) in cache_ioctl()
1020 if (!cq->reader) { in cache_ioctl()
1022 container_of(cq, struct cache_request, q); in cache_ioctl()
1066 struct cache_queue *cq; in cache_release() local
1067 for (cq= &rp->q; &cq->list != &cd->queue; in cache_release()
1068 cq = list_entry(cq->list.next, struct cache_queue, list)) in cache_release()
1069 if (!cq->reader) { in cache_release()
1070 container_of(cq, struct cache_request, q) in cache_release()
1095 struct cache_queue *cq, *tmp; in cache_dequeue() local
1100 list_for_each_entry_safe(cq, tmp, &detail->queue, list) in cache_dequeue()
1101 if (!cq->reader) { in cache_dequeue()
1102 cr = container_of(cq, struct cache_request, q); in cache_dequeue()