Home
last modified time | relevance | path

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

/freebsd/sys/dev/tws/
H A Dtws_services.c205 sc->q_tail[i] = NULL; in tws_init_qs()
219 sc->q_head[q_type] = sc->q_tail[q_type] = req; in tws_insert2_empty_q()
248 if ( sc->q_tail[q_type] == NULL ) { in tws_q_insert_tail()
251 req->prev = sc->q_tail[q_type]; in tws_q_insert_tail()
253 sc->q_tail[q_type]->next = req; in tws_q_insert_tail()
254 sc->q_tail[q_type] = req; in tws_q_insert_tail()
272 sc->q_head[q_type] = sc->q_tail[q_type] = NULL; in tws_q_remove_head()
290 r = sc->q_tail[q_type]; in tws_q_remove_tail()
295 sc->q_head[q_type] = sc->q_tail[q_type] = NULL; in tws_q_remove_tail()
297 sc->q_tail[q_type] = r->prev; in tws_q_remove_tail()
[all …]
H A Dtws.h265 struct tws_request *q_tail[TWS_MAX_QS]; /* tail pointers to q's */ member