Lines Matching refs:pQ
210 #define INIT_HTC_PACKET_QUEUE(pQ) \ argument
212 DL_LIST_INIT(&(pQ)->QueueHead); \
213 (pQ)->Depth = 0; \
217 #define HTC_PACKET_ENQUEUE(pQ, p) \ argument
218 { dl_list_insert_tail(&(pQ)->QueueHead, &(p)->ListLink); \
219 (pQ)->Depth++; \
223 #define HTC_PACKET_ENQUEUE_TO_HEAD(pQ, p) \ argument
224 { dl_list_insert_head(&(pQ)->QueueHead, &(p)->ListLink); \
225 (pQ)->Depth++; \
228 #define HTC_QUEUE_EMPTY(pQ) ((pQ)->Depth == 0) argument
241 #define HTC_PACKET_REMOVE(pQ, p) \ argument
244 (pQ)->Depth--; \
271 #define HTC_PACKET_QUEUE_DEPTH(pQ) (pQ)->Depth argument
300 #define INIT_HTC_PACKET_QUEUE_AND_ADD(pQ, pP) \ argument
302 DL_LIST_INIT_AND_ADD(&(pQ)->QueueHead, &(pP)->ListLink) \
303 (pQ)->Depth = 1; \
306 #define HTC_PACKET_QUEUE_ITERATE_ALLOW_REMOVE(pQ, pPTemp) \ argument
307 ITERATE_OVER_LIST_ALLOW_REMOVE(&(pQ)->QueueHead, \
310 #define HTC_PACKET_QUEUE_ITERATE_IS_VALID(pQ) ITERATE_IS_VALID(&(pQ)->QueueHead) argument
311 #define HTC_PACKET_QUEUE_ITERATE_RESET(pQ) ITERATE_RESET(&(pQ)->QueueHead) argument