Lines Matching refs:listptr
213 #define rq_list_add(listptr, rq) do { \ argument
214 (rq)->rq_next = *(listptr); \
215 *(listptr) = rq; \
224 #define rq_list_pop(listptr) \ argument
227 if ((listptr) && *(listptr)) { \
228 __req = *(listptr); \
229 *(listptr) = __req->rq_next; \
234 #define rq_list_peek(listptr) \ argument
237 if ((listptr) && *(listptr)) \
238 __req = *(listptr); \
242 #define rq_list_for_each(listptr, pos) \ argument
243 for (pos = rq_list_peek((listptr)); pos; pos = rq_list_next(pos))
245 #define rq_list_for_each_safe(listptr, pos, nxt) \ argument
246 for (pos = rq_list_peek((listptr)), nxt = rq_list_next(pos); \