Home
last modified time | relevance | path

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

12345678

/freebsd/contrib/openbsm/compat/
H A Dqueue.h239 #define STAILQ_FIRST(head) ((head)->stqh_first) macro
242 for((var) = STAILQ_FIRST((head)); \
248 for ((var) = STAILQ_FIRST((head)); \
253 STAILQ_FIRST((head)) = NULL; \
254 (head)->stqh_last = &STAILQ_FIRST((head)); \
266 STAILQ_FIRST((head)) = (elm); \
284 if (STAILQ_FIRST((head)) == (elm)) { \
288 struct type *curelm = STAILQ_FIRST((head)); \
299 if ((STAILQ_FIRST((head)) = \
301 (head)->stqh_last = &STAILQ_FIRST((head)); \
[all …]
/freebsd/contrib/libarchive/unzip/
H A Dla_queue.h318 #define STAILQ_FIRST(head) ((head)->stqh_first) macro
321 for((var) = STAILQ_FIRST((head)); \
331 for ((var) = STAILQ_FIRST((head)); \
341 STAILQ_FIRST((head)) = NULL; \
342 (head)->stqh_last = &STAILQ_FIRST((head)); \
354 STAILQ_FIRST((head)) = (elm); \
372 if (STAILQ_FIRST((head)) == (elm)) { \
391 if ((STAILQ_FIRST((head)) = \
393 (head)->stqh_last = &STAILQ_FIRST((head)); \
399 STAILQ_FIRST(head1) = STAILQ_FIRST(head2); \
[all …]
/freebsd/sys/sys/
H A Dqueue.h352 #define STAILQ_FIRST(head) ((head)->stqh_first) macro
355 for((var) = STAILQ_FIRST((head)); \
365 for ((var) = STAILQ_FIRST((head)); \
375 STAILQ_FIRST((head)) = NULL; \
376 (head)->stqh_last = &STAILQ_FIRST((head)); \
388 STAILQ_FIRST((head)) = (elm); \
406 if (STAILQ_FIRST((head)) == (elm)) { \
425 if ((STAILQ_FIRST((head)) = \
427 (head)->stqh_last = &STAILQ_FIRST((head)); \
433 STAILQ_FIRST(head1) = STAILQ_FIRST(head2); \
[all …]
/freebsd/stand/common/
H A Dpnp.c71 pager_output(STAILQ_FIRST(&pi->pi_ident)->id_ident); /* first ident should be canonical */ in pnp_scan()
93 while (STAILQ_FIRST(&pnp_devices) != NULL) { in pnp_discard()
94 pi = STAILQ_FIRST(&pnp_devices); in pnp_discard()
140 id = STAILQ_FIRST(&pi->pi_ident); in pnp_freeinfo()
/freebsd/contrib/elftoolchain/common/
H A D_elftc.h114 #ifndef STAILQ_FIRST
115 #define STAILQ_FIRST(head) ((head)->stqh_first) macro
140 for ((var) = STAILQ_FIRST((head)); \
230 _e = STAILQ_FIRST((head)); \
237 _p = STAILQ_FIRST(&_la); \
239 _q = STAILQ_FIRST((head)); \
/freebsd/sys/dev/rtwn/usb/
H A Drtwn_usb_tx.c78 bf = STAILQ_FIRST(&uc->uc_tx_inactive); in _rtwn_usb_getbuf()
142 data = STAILQ_FIRST(&uc->uc_tx_active); in rtwn_bulk_tx_callback()
150 data = STAILQ_FIRST(&uc->uc_tx_pending); in rtwn_bulk_tx_callback()
172 data = STAILQ_FIRST(&uc->uc_tx_active); in rtwn_bulk_tx_callback()
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()
/freebsd/contrib/elftoolchain/libdwarf/
H A Ddwarf_pro_sections.c79 dbg->dbgp_secpos = STAILQ_FIRST(&dbg->dbgp_seclist); in dwarf_reset_section_bytes()
80 dbg->dbgp_drspos = STAILQ_FIRST(&dbg->dbgp_drslist); in dwarf_reset_section_bytes()
H A Dlibdwarf_info.c39 cu = STAILQ_FIRST(&dbg->dbg_cu); in _dwarf_info_first_cu()
53 dbg->dbg_cu_current = STAILQ_FIRST(&dbg->dbg_cu); in _dwarf_info_first_cu()
65 tu = STAILQ_FIRST(&dbg->dbg_tu); in _dwarf_info_first_tu()
79 dbg->dbg_tu_current = STAILQ_FIRST(&dbg->dbg_tu); in _dwarf_info_first_tu()
377 cu = STAILQ_FIRST(&dbg->dbg_cu); in _dwarf_info_pro_cleanup()
H A Ddwarf_lineno.c84 for (i = 0, ln = STAILQ_FIRST(&li->li_lnlist); in dwarf_srclines()
145 for (i = 0, lf = STAILQ_FIRST(&li->li_lflist); in dwarf_srcfiles()
262 for (i = 1, lf = STAILQ_FIRST(&li->li_lflist); in dwarf_linesrc()
/freebsd/sys/dev/aic7xxx/aicasm/
H A Daicasm.c325 for (cur_instr = STAILQ_FIRST(&seq_program); in back_patch()
367 for (cur_instr = STAILQ_FIRST(&seq_program); in output_code()
371 cur_instr == STAILQ_FIRST(&seq_program) ? "" : ",\n", in output_code()
425 for (cur_patch = STAILQ_FIRST(&patches); in output_code()
429 cur_patch == STAILQ_FIRST(&patches) ? "" : ",\n", in output_code()
595 cur_patch = STAILQ_FIRST(&patches); in output_listing()
596 for (cur_instr = STAILQ_FIRST(&seq_program); in output_listing()
/freebsd/sbin/devfs/
H A Ddevfs.c208 assert(STAILQ_FIRST(&plist)->ptr == wline); in tokenize()
213 pt = STAILQ_FIRST(&plist); in tokenize()
/freebsd/sys/dev/hyperv/input/
H A Dhv_kbdc.c175 ksi = STAILQ_FIRST(&sc->ks_queue); in hv_kbd_fetch_top()
195 ksi = STAILQ_FIRST(&sc->ks_queue); in hv_kbd_remove_top()
216 ksi = STAILQ_FIRST(&sc->ks_queue); in hv_kbd_modify_top()
444 ksi = STAILQ_FIRST(&sc->ks_queue); in hv_kbd_fini()
/freebsd/sys/netgraph/bluetooth/include/
H A Dng_bluetooth.h175 #define NG_BT_ITEMQ_FIRST(q) STAILQ_FIRST(&(q)->queue)
191 (i) = STAILQ_FIRST(&(q)->queue); \
/freebsd/usr.sbin/camdd/
H A Dcamdd.c753 buf = STAILQ_FIRST(&dev->free_queue); in camdd_get_buf()
769 buf = STAILQ_FIRST(&dev->free_indirect_queue); in camdd_get_buf()
1732 buf = STAILQ_FIRST(&dev->run_queue);
1826 for (buf = STAILQ_FIRST(&dev->work_queue);
1828 buf = STAILQ_FIRST(&dev->work_queue)) {
2095 if (STAILQ_FIRST(&local_queue) == NULL)
2110 buf1 = STAILQ_FIRST(&local_queue)) {
2137 buf1 = STAILQ_FIRST(&local_queue)) {
2394 buf = STAILQ_FIRST(&dev->run_queue);
2608 buf = STAILQ_FIRST(&dev->run_queue);
[all …]
/freebsd/sys/dev/firewire/
H A Dfwdev.c213 for (fwb = STAILQ_FIRST(&d->binds); fwb != NULL; in fw_close()
214 fwb = STAILQ_FIRST(&d->binds)) { in fw_close()
232 for (xfer = STAILQ_FIRST(&ir->q); in fw_close()
233 xfer != NULL; xfer = STAILQ_FIRST(&ir->q)) { in fw_close()
276 while ((xfer = STAILQ_FIRST(&d->rq)) == NULL && err == 0) in fw_read_async()
339 ir->stproc = STAILQ_FIRST(&ir->stvalid); in fw_read()
472 it->stproc = STAILQ_FIRST(&it->stfree); in fw_write()
833 if (STAILQ_FIRST(&ir->q) != NULL) in fw_poll()
/freebsd/sys/netinet/
H A Dtcp_log_buf.c660 if (tp->_t_logstate && STAILQ_FIRST(&tp->t_logs) && !same) { in tcp_log_set_id()
1165 while ((log_entry = STAILQ_FIRST(head)) != NULL) { in tcp_log_free_entries()
1187 KASSERT(log_entry == STAILQ_FIRST(&tp->t_logs), in tcp_log_remove_log_head()
1589 tln_first = STAILQ_FIRST(&tcp_log_expireq_head); in tcp_log_tcpcbfini()
1636 while ((log_entry = STAILQ_FIRST(&tp->t_logs)) != NULL) in tcp_log_tcpcbfini()
1659 while ((log_entry = STAILQ_FIRST(&tp->t_logs)) != NULL) in tcp_log_purge_tp_logbuf()
1798 if ((log_entry = STAILQ_FIRST(&tp->t_logs)) == NULL) in tcp_log_event()
1927 while ((log_entry = STAILQ_FIRST(&tp->t_logs)) != NULL) in tcp_log_state_change()
2031 while ((log_entry = STAILQ_FIRST(&tp->t_logs)) != NULL && in tcp_log_drain()
2226 STAILQ_FIRST(&log_tailq) = STAILQ_FIRST(&tp->t_logs); in tcp_log_getlogbuf()
[all …]
/freebsd/lib/libc/tests/nss/
H A Dtestutil.h137 e1 = STAILQ_FIRST(&td1->snapshot_data); \
138 e2 = STAILQ_FIRST(&td2->snapshot_data); \
186 e = STAILQ_FIRST(&td->snapshot_data); \
/freebsd/sys/netinet/cc/
H A Dcc_cdg.c347 qds = STAILQ_FIRST(&cdg_data->qdiffmin_q); in cdg_cb_destroy()
354 qds = STAILQ_FIRST(&cdg_data->qdiffmax_q); in cdg_cb_destroy()
539 qds = STAILQ_FIRST(&cdg_data->qdiffmin_q); in calc_moving_average()
547 qds = STAILQ_FIRST(&cdg_data->qdiffmax_q); in calc_moving_average()
/freebsd/tools/test/stress2/misc/
H A Dpthread7.sh190 file = STAILQ_FIRST(&newfiles.list);
220 file = STAILQ_FIRST(&renamedfiles.list);
H A Dpthread2.sh205 file = STAILQ_FIRST(&newfiles.list);
235 file = STAILQ_FIRST(&renamedfiles.list);
H A Dpthread3.sh194 file = STAILQ_FIRST(&newfiles.list);
224 file = STAILQ_FIRST(&renamedfiles.list);
H A Dpthread4.sh201 file = STAILQ_FIRST(&newfiles.list);
231 file = STAILQ_FIRST(&renamedfiles.list);
H A Dpthread6.sh193 file = STAILQ_FIRST(&newfiles.list);
223 file = STAILQ_FIRST(&renamedfiles.list);
/freebsd/stand/libsa/
H A Dip.c137 while ((ipq = STAILQ_FIRST(&ipr->ip_queue)) != NULL) { in ip_reasm_free()
362 ipq = STAILQ_FIRST(&ipr->ip_queue); in readipv4()
394 while ((ipr = STAILQ_FIRST(&ire_list)) != NULL) { in readipv4()

12345678