Searched refs:q_tail (Results 1 – 5 of 5) sorted by relevance
212 sc->q_tail[i] = NULL; in tws_init_qs()226 sc->q_head[q_type] = sc->q_tail[q_type] = req; in tws_insert2_empty_q()255 if ( sc->q_tail[q_type] == NULL ) { in tws_q_insert_tail()258 req->prev = sc->q_tail[q_type]; in tws_q_insert_tail()260 sc->q_tail[q_type]->next = req; in tws_q_insert_tail()261 sc->q_tail[q_type] = req; in tws_q_insert_tail()279 sc->q_head[q_type] = sc->q_tail[q_type] = NULL; in tws_q_remove_head()297 r = sc->q_tail[q_type]; in tws_q_remove_tail()302 sc->q_head[q_type] = sc->q_tail[q_type] = NULL; in tws_q_remove_tail()304 sc->q_tail[q_type] = r->prev; in tws_q_remove_tail()[all …]
270 struct tws_request *q_tail[TWS_MAX_QS]; /* tail pointers to q's */ member
209 if ((q)->q_tail == NULL) \212 PDQ_OS_DATABUF_NEXTPKT_SET(((PDQ_OS_DATABUF_T *)(q)->q_tail), b); \213 (q)->q_tail = (b); \219 (q)->q_tail = NULL; \
237 if ((q)->q_tail == NULL) \240 PDQ_OS_DATABUF_NEXTPKT_SET(((PDQ_OS_DATABUF_T *)(q)->q_tail), b); \241 (q)->q_tail = (b); \247 (q)->q_tail = NULL; \
465 void *q_tail; member