Searched refs:q_head (Results 1 – 2 of 2) 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 …]
260 struct tws_request *q_head[TWS_MAX_QS]; /* head pointers to q's */ member