Searched refs:q_head (Results 1 – 2 of 2) sorted by relevance
204 sc->q_head[i] = NULL; in tws_init_qs()219 sc->q_head[q_type] = sc->q_tail[q_type] = req; in tws_insert2_empty_q()230 if ( sc->q_head[q_type] == NULL ) { in tws_q_insert_head()233 req->next = sc->q_head[q_type]; in tws_q_insert_head()235 sc->q_head[q_type]->prev = req; in tws_q_insert_head()236 sc->q_head[q_type] = req; in tws_q_insert_head()267 r = sc->q_head[q_type]; in tws_q_remove_head()272 sc->q_head[q_type] = sc->q_tail[q_type] = NULL; in tws_q_remove_head()274 sc->q_head[q_type] = r->next; in tws_q_remove_head()295 sc->q_head[q_type] = sc->q_tail[q_type] = NULL; in tws_q_remove_tail()[all …]
264 struct tws_request *q_head[TWS_MAX_QS]; /* head pointers to q's */ member