Home
last modified time | relevance | path

Searched refs:q_head (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/tws/
H A Dtws_services.c204 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()
320 if ( req == sc->q_head[q_type] ) in tws_q_remove_request()
[all …]
H A Dtws.h264 struct tws_request *q_head[TWS_MAX_QS]; /* head pointers to q's */ member