Searched refs:q_head (Results 1 – 5 of 5) sorted by relevance
211 sc->q_head[i] = NULL; in tws_init_qs()226 sc->q_head[q_type] = sc->q_tail[q_type] = req; in tws_insert2_empty_q()237 if ( sc->q_head[q_type] == NULL ) { in tws_q_insert_head()240 req->next = sc->q_head[q_type]; in tws_q_insert_head()242 sc->q_head[q_type]->prev = req; in tws_q_insert_head()243 sc->q_head[q_type] = req; in tws_q_insert_head()274 r = sc->q_head[q_type]; in tws_q_remove_head()279 sc->q_head[q_type] = sc->q_tail[q_type] = NULL; in tws_q_remove_head()281 sc->q_head[q_type] = r->next; in tws_q_remove_head()302 sc->q_head[q_type] = sc->q_tail[q_type] = NULL; in tws_q_remove_tail()[all …]
269 struct tws_request *q_head[TWS_MAX_QS]; /* head pointers to q's */ member
210 (q)->q_head = (b); \217 if (((b) = (PDQ_OS_DATABUF_T *) (q)->q_head) != NULL) { \218 if (((q)->q_head = PDQ_OS_DATABUF_NEXTPKT(b)) == NULL) \
238 (q)->q_head = (b); \245 if (((b) = (PDQ_OS_DATABUF_T *) (q)->q_head) != NULL) { \246 if (((q)->q_head = PDQ_OS_DATABUF_NEXTPKT(b)) == NULL) \
464 void *q_head; member