Home
last modified time | relevance | path

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

/NextBSD/sys/dev/tws/
HDtws_services.c212 sc->q_tail[i] = NULL; in tws_init_qs()
226 sc->q_head[q_type] = sc->q_tail[q_type] = req; in tws_insert2_empty_q()
255 if ( sc->q_tail[q_type] == NULL ) { in tws_q_insert_tail()
258 req->prev = sc->q_tail[q_type]; in tws_q_insert_tail()
260 sc->q_tail[q_type]->next = req; in tws_q_insert_tail()
261 sc->q_tail[q_type] = req; in tws_q_insert_tail()
279 sc->q_head[q_type] = sc->q_tail[q_type] = NULL; in tws_q_remove_head()
297 r = sc->q_tail[q_type]; in tws_q_remove_tail()
302 sc->q_head[q_type] = sc->q_tail[q_type] = NULL; in tws_q_remove_tail()
304 sc->q_tail[q_type] = r->prev; in tws_q_remove_tail()
[all …]
HDtws.h270 struct tws_request *q_tail[TWS_MAX_QS]; /* tail pointers to q's */ member
/NextBSD/sys/dev/pdq/
HDpdq_freebsd.h209 if ((q)->q_tail == NULL) \
212 PDQ_OS_DATABUF_NEXTPKT_SET(((PDQ_OS_DATABUF_T *)(q)->q_tail), b); \
213 (q)->q_tail = (b); \
219 (q)->q_tail = NULL; \
HDpdqvar.h237 if ((q)->q_tail == NULL) \
240 PDQ_OS_DATABUF_NEXTPKT_SET(((PDQ_OS_DATABUF_T *)(q)->q_tail), b); \
241 (q)->q_tail = (b); \
247 (q)->q_tail = NULL; \
HDpdqreg.h465 void *q_tail; member