Home
last modified time | relevance | path

Searched refs:STAILQ_FIRST (Results 1 – 19 of 19) sorted by relevance

/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dqueue.h318 #define STAILQ_FIRST(head) ((head)->stqh_first) macro
321 for((var) = STAILQ_FIRST((head)); \
326 for ((var) = ((var) ? (var) : STAILQ_FIRST((head))); \
331 for ((var) = STAILQ_FIRST((head)); \
336 for ((var) = ((var) ? (var) : STAILQ_FIRST((head))); \
341 STAILQ_FIRST((head)) = NULL; \
342 (head)->stqh_last = &STAILQ_FIRST((head)); \
352 if ((STAILQ_NEXT((elm), field) = STAILQ_FIRST((head))) == NULL) \
354 STAILQ_FIRST((head)) = (elm); \
372 if (STAILQ_FIRST((head)) == (elm)) { \
[all …]
H A Dmbuf-fbsd.h246 m = STAILQ_FIRST(&mq->mq_head); in mbufq_flush()
267 return (STAILQ_FIRST(&mq->mq_head)); in mbufq_first()
310 m = STAILQ_FIRST(&mq->mq_head); in mbufq_dequeue()
/haiku/headers/compatibility/bsd/sys/
H A Dqueue.h243 #define STAILQ_FIRST(head) ((head)->stqh_first) macro
246 for((var) = STAILQ_FIRST((head)); \
252 for ((var) = STAILQ_FIRST((head)); \
257 STAILQ_FIRST((head)) = NULL; \
258 (head)->stqh_last = &STAILQ_FIRST((head)); \
268 if ((STAILQ_NEXT((elm), field) = STAILQ_FIRST((head))) == NULL) \
270 STAILQ_FIRST((head)) = (elm); \
288 if (STAILQ_FIRST((head)) == (elm)) { \
292 struct type *curelm = STAILQ_FIRST((head)); \
303 if ((STAILQ_FIRST((head)) = \
[all …]
/haiku/headers/private/firewire/
H A Dqueue.h238 #define STAILQ_FIRST(head) ((head)->stqh_first) macro
241 for((var) = STAILQ_FIRST((head)); \
247 for ((var) = STAILQ_FIRST((head)); \
252 STAILQ_FIRST((head)) = NULL; \
253 (head)->stqh_last = &STAILQ_FIRST((head)); \
263 if ((STAILQ_NEXT((elm), field) = STAILQ_FIRST((head))) == NULL) \
265 STAILQ_FIRST((head)) = (elm); \
283 if (STAILQ_FIRST((head)) == (elm)) { \
287 struct type *curelm = STAILQ_FIRST((head)); \
298 if ((STAILQ_FIRST((head)) = \
[all …]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/usb/
H A Drtwn_usb_tx.c74 bf = STAILQ_FIRST(&uc->uc_tx_inactive); in _rtwn_usb_getbuf()
151 data = STAILQ_FIRST(&uc->uc_tx_active[qid]); in rtwn_bulk_tx_callback_qid()
159 data = STAILQ_FIRST(&uc->uc_tx_pending[qid]); in rtwn_bulk_tx_callback_qid()
181 data = STAILQ_FIRST(&uc->uc_tx_active[qid]); in rtwn_bulk_tx_callback_qid()
208 if (STAILQ_FIRST(&uc->uc_tx_pending[i]) != NULL) in rtwn_bulk_tx_callback_qid()
H A Drtwn_usb_rx.c375 data = STAILQ_FIRST(&uc->uc_rx_active); in rtwn_bulk_rx_callback()
384 data = STAILQ_FIRST(&uc->uc_rx_inactive); in rtwn_bulk_rx_callback()
426 data = STAILQ_FIRST(&uc->uc_rx_active); in rtwn_bulk_rx_callback()
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/
H A Dnvme_request.c45 req = STAILQ_FIRST(&qpair->free_req); in nvme_alloc_request()
114 while ((req = STAILQ_FIRST(&qpair->free_req))) { in nvme_request_pool_destroy()
H A Dnvme_qpair.c429 struct nvme_request *req = STAILQ_FIRST(&req_queue); in nvme_qpair_submit_queued_requests()
787 req = STAILQ_FIRST(&qpair->queued_req); in _nvme_qpair_io_qpair_enable()
1216 req = STAILQ_FIRST(&qpair->queued_req); in nvme_qpair_fail()
/haiku/src/add-ons/kernel/drivers/bus/firewire/
H A Dfw_raw.c232 for (fwb = STAILQ_FIRST(&d->binds); fwb != NULL; in fw_free()
233 fwb = STAILQ_FIRST(&d->binds)) { in fw_free()
251 for (xfer = STAILQ_FIRST(&ir->q); in fw_free()
252 xfer != NULL; xfer = STAILQ_FIRST(&ir->q)) { in fw_free()
299 while ((xfer = STAILQ_FIRST(&d->rq)) == NULL && err == B_OK) { in fw_read_async()
387 ir->stproc = STAILQ_FIRST(&ir->stvalid); in fw_read()
567 it->stproc = STAILQ_FIRST(&it->stfree); in fw_write()
/haiku/src/libs/compat/freebsd_network/
H A Dfbsd_subr_taskqueue.c219 for (ins = STAILQ_FIRST(&queue->tq_queue); ins; in taskqueue_enqueue_locked()
343 while (STAILQ_FIRST(&queue->tq_queue)) { in taskqueue_run_locked()
350 task = STAILQ_FIRST(&queue->tq_queue); in taskqueue_run_locked()
/haiku/src/add-ons/kernel/bus_managers/firewire/
H A Dfwohci.cpp561 sc->atrq.top = STAILQ_FIRST(&sc->atrq.db_trq);
562 sc->atrs.top = STAILQ_FIRST(&sc->atrs.db_trq);
905 xfer = STAILQ_FIRST(&dbch->xferq.q);
1245 db_tr = STAILQ_FIRST(&dbch->db_trq);
1326 = STAILQ_FIRST(&dbch->db_trq);
1330 dbch->top = STAILQ_FIRST(&dbch->db_trq);
1476 dbch->top = STAILQ_FIRST(&dbch->db_trq);
1612 while ((chunk = STAILQ_FIRST(&it->stvalid)) != NULL) {
1656 first = STAILQ_FIRST(&it->stdma);
1668 if (STAILQ_FIRST(&it->stfree) != NULL)
[all …]
H A Dfirewire.cpp307 while ((xfer = STAILQ_FIRST(&fc->tlabels[i])) != NULL) { in firewire_xfer_timeout()
552 for (fwdev = STAILQ_FIRST(&fc->devices); fwdev != NULL; in firewire_detach()
579 while ((xfer = STAILQ_FIRST(&xferq->q)) != NULL) { in fw_xferq_drain()
608 while ((xfer = STAILQ_FIRST(&fc->tlabels[i])) != NULL) { in fw_drain_txq()
998 for (xfer = STAILQ_FIRST(&fwb->xferlist); xfer != NULL; xfer = next) { in fw_bindremove()
1036 for (xfer = STAILQ_FIRST(q); xfer != NULL; xfer = next) { in fw_xferlist_remove()
1877 for (fwdev = STAILQ_FIRST(&fc->devices); fwdev != NULL; fwdev = next) { in fw_attach_dev()
2160 rb->xfer = STAILQ_FIRST(&bind->xferlist); in fw_rcv()
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/usb/wlan/
H A Dif_ural.c780 data = STAILQ_FIRST(&sc->tx_q); in ural_bulk_write_callback()
1038 data = STAILQ_FIRST(&sc->tx_free); in ural_tx_bcn()
1073 data = STAILQ_FIRST(&sc->tx_free); in ural_tx_mgt()
1140 data = STAILQ_FIRST(&sc->tx_free); in ural_sendprot()
1188 data = STAILQ_FIRST(&sc->tx_free); in ural_tx_raw()
1263 data = STAILQ_FIRST(&sc->tx_free); in ural_tx_data()
H A Dif_rum.c1095 data = STAILQ_FIRST(&sc->tx_q); in rum_bulk_write_callback()
1436 data = STAILQ_FIRST(&sc->tx_free); in rum_sendprot()
1501 data = STAILQ_FIRST(&sc->tx_free); in rum_tx_mgt()
1597 data = STAILQ_FIRST(&sc->tx_free); in rum_tx_raw()
1694 data = STAILQ_FIRST(&sc->tx_free); in rum_tx_data()
H A Dif_run.c3201 data = STAILQ_FIRST(&pq->tx_qh); in run_bulk_tx_callbackN()
3501 data = STAILQ_FIRST(&sc->sc_epq[qid].tx_fh); in run_tx()
3614 data = STAILQ_FIRST(&sc->sc_epq[0].tx_fh); in run_tx_mgt()
3677 data = STAILQ_FIRST(&sc->sc_epq[0].tx_fh); in run_sendprot()
3754 data = STAILQ_FIRST(&sc->sc_epq[0].tx_fh); in run_tx_param()
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8335/dev/malo/
H A Dif_malo.c758 bn = STAILQ_FIRST(&txq->free); in malo_txq_init()
783 bf = STAILQ_FIRST(&txq->free); in malo_getbuf()
936 bf = STAILQ_FIRST(&txq->active); in malo_tx_processq()
1431 htole32(STAILQ_FIRST(&sc->malo_rxbuf)->bf_daddr); in malo_startrecv()
1580 bf = STAILQ_FIRST(&txq->active); in malo_tx_draintxq()
1962 bf = STAILQ_FIRST(&sc->malo_rxbuf); in malo_rx_proc()
/haiku/src/libs/compat/freebsd_iflib/
H A Dsubr_gtaskqueue.c369 while (STAILQ_FIRST(&queue->tq_queue)) { in gtaskqueue_run_locked()
376 gtask = STAILQ_FIRST(&queue->tq_queue); in gtaskqueue_run_locked()
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/
H A Dif_mwl.c1276 bf = STAILQ_FIRST(&txq->free); in mwl_gettxbuf()
2630 bf = STAILQ_FIRST(&sc->sc_rxbuf); in mwl_rx_proc()
2847 bn = STAILQ_FIRST(&txq->free); in mwl_txq_init()
3333 bf = STAILQ_FIRST(&txq->active); in mwl_tx_processq()
3450 bf = STAILQ_FIRST(&txq->active); in mwl_tx_draintxq()
3743 htole32(STAILQ_FIRST(&sc->sc_rxbuf)->bf_daddr); in mwl_startrecv()
/haiku/src/add-ons/kernel/drivers/network/ether/syskonnect/dev/sk/
H A Dif_sk.c2333 if ((txd = STAILQ_FIRST(&sc_if->sk_cdata.sk_txfreeq)) == NULL) in sk_encap()
2809 txd = STAILQ_FIRST(&sc_if->sk_cdata.sk_txbusyq); in sk_txeof()
2838 txd = STAILQ_FIRST(&sc_if->sk_cdata.sk_txbusyq); in sk_txeof()