Lines Matching refs:listptr
226 #define rq_list_add(listptr, rq) do { \ argument
227 (rq)->rq_next = *(listptr); \
228 *(listptr) = rq; \
231 #define rq_list_pop(listptr) \ argument
234 if ((listptr) && *(listptr)) { \
235 __req = *(listptr); \
236 *(listptr) = __req->rq_next; \
241 #define rq_list_peek(listptr) \ argument
244 if ((listptr) && *(listptr)) \
245 __req = *(listptr); \
249 #define rq_list_for_each(listptr, pos) \ argument
250 for (pos = rq_list_peek((listptr)); pos; pos = rq_list_next(pos))
252 #define rq_list_for_each_safe(listptr, pos, nxt) \ argument
253 for (pos = rq_list_peek((listptr)), nxt = rq_list_next(pos); \