Home
last modified time | relevance | path

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

12

/netbsd-src/crypto/dist/ipsec-tools/src/include-glibc/sys/
H A Dqueue.h189 #define STAILQ_FIRST(head) ((head)->stqh_first) macro
192 for((var) = STAILQ_FIRST((head)); \
197 STAILQ_FIRST((head)) = NULL; \
198 (head)->stqh_last = &STAILQ_FIRST((head)); \
208 if ((STAILQ_NEXT((elm), field) = STAILQ_FIRST((head))) == NULL) \
210 STAILQ_FIRST((head)) = (elm); \
228 if (STAILQ_FIRST((head)) == (elm)) { \
232 struct type *curelm = STAILQ_FIRST((head)); \
242 if ((STAILQ_FIRST((head)) = \
243 STAILQ_NEXT(STAILQ_FIRST((head)), field)) == NULL) \
[all …]
/netbsd-src/external/bsd/elftoolchain/dist/common/
H A D_elftc.h116 #ifndef STAILQ_FIRST
117 #define STAILQ_FIRST(head) ((head)->stqh_first) macro
142 for ((var) = STAILQ_FIRST((head)); \
232 _e = STAILQ_FIRST((head)); \
239 _p = STAILQ_FIRST(&_la); \
241 _q = STAILQ_FIRST((head)); \
/netbsd-src/external/bsd/elftoolchain/dist/libdwarf/
H A Dlibdwarf_info.c42 cu = STAILQ_FIRST(&dbg->dbg_cu); in _dwarf_info_first_cu()
56 dbg->dbg_cu_current = STAILQ_FIRST(&dbg->dbg_cu); in _dwarf_info_first_cu()
68 tu = STAILQ_FIRST(&dbg->dbg_tu); in _dwarf_info_first_tu()
82 dbg->dbg_tu_current = STAILQ_FIRST(&dbg->dbg_tu); in _dwarf_info_first_tu()
406 cu = STAILQ_FIRST(&dbg->dbg_cu); in _dwarf_info_pro_cleanup()
H A Ddwarf_pro_sections.c82 dbg->dbgp_secpos = STAILQ_FIRST(&dbg->dbgp_seclist); in dwarf_reset_section_bytes()
83 dbg->dbgp_drspos = STAILQ_FIRST(&dbg->dbgp_drslist); in dwarf_reset_section_bytes()
H A Ddwarf_lineno.c87 for (i = 0, ln = STAILQ_FIRST(&li->li_lnlist); in dwarf_srclines()
148 for (i = 0, lf = STAILQ_FIRST(&li->li_lflist); in dwarf_srcfiles()
265 for (i = 1, lf = STAILQ_FIRST(&li->li_lflist); in dwarf_linesrc()
H A Dlibdwarf_sections.c206 dbg->dbgp_secpos = STAILQ_FIRST(&dbg->dbgp_seclist); in _dwarf_generate_sections()
207 dbg->dbgp_drspos = STAILQ_FIRST(&dbg->dbgp_drslist); in _dwarf_generate_sections()
H A Ddwarf_ranges.c73 return (_dwarf_get_ranges(dbg, STAILQ_FIRST(&dbg->dbg_cu), offset, in dwarf_get_ranges()
H A Ddwarf_abbrev.c128 ad = STAILQ_FIRST(&abbrev->ab_attrdef); in dwarf_get_abbrev_entry()
H A Ddwarf_pro_reloc.c101 for (i = 0, dre = STAILQ_FIRST(&drs->drs_dre); in dwarf_get_relocation_info()
H A Dlibdwarf_die.c318 at = STAILQ_FIRST(&die->die_attr); in _dwarf_die_gen_recursive()
319 ad = STAILQ_FIRST(&ab->ab_attrdef); in _dwarf_die_gen_recursive()
H A Ddwarf_pro_frame.c129 ciep = STAILQ_FIRST(&dbg->dbgp_cielist); in dwarf_add_frame_fde_b()
/netbsd-src/sys/dev/microcode/aic7xxx/
H A Daicasm.c328 for (cur_instr = STAILQ_FIRST(&seq_program); in back_patch()
370 for (cur_instr = STAILQ_FIRST(&seq_program); in output_code()
375 cur_instr == STAILQ_FIRST(&seq_program) ? "" : ",\n", in output_code()
429 for (cur_patch = STAILQ_FIRST(&patches); in output_code()
433 cur_patch == STAILQ_FIRST(&patches) ? "" : ",\n", in output_code()
605 cur_patch = STAILQ_FIRST(&patches); in output_listing()
606 for (cur_instr = STAILQ_FIRST(&seq_program); in output_listing()
/netbsd-src/sys/dev/ieee1394/
H A Dfwdev.c175 for (fwb = STAILQ_FIRST(&d->binds); fwb != NULL; in fw_close()
176 fwb = STAILQ_FIRST(&d->binds)) { in fw_close()
194 for (xfer = STAILQ_FIRST(&ir->q); xfer != NULL; in fw_close()
195 xfer = STAILQ_FIRST(&ir->q)) { in fw_close()
260 ir->stproc = STAILQ_FIRST(&ir->stvalid); in fw_read()
336 it->stproc = STAILQ_FIRST(&it->stfree); in fw_write()
704 if (STAILQ_FIRST(&ir->q) != NULL) in fw_poll()
826 xfer = STAILQ_FIRST(&d->rq); in fw_read_async()
H A Dif_fwip.c453 for (xfer = STAILQ_FIRST(&sc->sc_fwb.xferlist); xfer != NULL; in fwip_stop()
459 for (xfer = STAILQ_FIRST(&sc->sc_xferlist); xfer != NULL; in fwip_stop()
559 xfer = STAILQ_FIRST(&sc->sc_xferlist); in fwip_async_output()
702 while ((sxfer = STAILQ_FIRST(&xferq->stvalid)) != NULL) { in fwip_stream_input()
792 if (STAILQ_FIRST(&xferq->stfree) != NULL) in fwip_stream_input()
H A Dfwohci.c602 while ((chunk = STAILQ_FIRST(&ir->stdma)) != NULL) { in fwohci_resume()
828 first = STAILQ_FIRST(&ir->stfree); in fwohci_irx_enable()
838 while ((chunk = STAILQ_FIRST(&ir->stfree)) != NULL) { in fwohci_irx_enable()
940 while ((chunk = STAILQ_FIRST(&it->stvalid)) != NULL) { in fwohci_itxbuf_enable()
982 first = STAILQ_FIRST(&it->stdma); in fwohci_itxbuf_enable()
994 if (STAILQ_FIRST(&it->stfree) != NULL) in fwohci_itxbuf_enable()
1302 sc->atrq.top = STAILQ_FIRST(&sc->atrq.db_trq);
1303 sc->atrs.top = STAILQ_FIRST(&sc->atrs.db_trq);
1379 xfer = STAILQ_FIRST(&dbch->xferq.q);
1706 for (last = db_tr = STAILQ_FIRST(&dbch->db_trq); db_tr != last;
[all …]
H A Dfirewire.c301 for (fwdev = STAILQ_FIRST(&fc->devices); fwdev != NULL; in firewiredetach()
506 while ((xfer = STAILQ_FIRST(&fc->tlabels[i])) != NULL) { in fw_drain_txq()
769 for (xfer = STAILQ_FIRST(&fwb->xferlist); xfer != NULL; xfer = next) { in fw_bindremove()
804 for (xfer = STAILQ_FIRST(q); xfer != NULL; xfer = next) { in fw_xferlist_remove()
1189 rb->xfer = STAILQ_FIRST(&bind->xferlist); in fw_rcv()
1298 while ((xfer = STAILQ_FIRST(&fc->tlabels[i])) != NULL) { in firewire_xfer_timeout()
1348 while ((xfer = STAILQ_FIRST(&xferq->q)) != NULL) { in fw_xferq_drain()
2032 for (fwdev = STAILQ_FIRST(&fc->devices); fwdev != NULL; fwdev = next) { in fw_attach_dev()
2096 for (fwdev = STAILQ_FIRST(&fc->devices); fwdev != NULL; fwdev = next) { in fw_attach_dev()
/netbsd-src/sys/arch/vax/mba/
H A Dmba.c182 md = STAILQ_FIRST(&sc->sc_xfers); in mbaintr()
268 struct mba_device * const md = STAILQ_FIRST(&sc->sc_xfers); in mbastart()
/netbsd-src/sys/dev/hyperv/
H A Dhvkbd.c270 while ((ksi = STAILQ_FIRST(&sc->sc_ks_queue)) != NULL) { in hvkbd_free_keybuf()
394 ksi = STAILQ_FIRST(&sc->sc_ks_queue); in hvkbd_decode()
428 ksi = STAILQ_FIRST(&sc->sc_ks_queue); in hvkbd_encode()
/netbsd-src/usr.sbin/btpand/
H A Dchannel.c128 while ((ph = STAILQ_FIRST(&chan->pktlist)) != NULL) { in channel_close()
163 ph = STAILQ_FIRST(&chan->pktlist); in channel_start()
H A Dpacket.c62 while ((eh = STAILQ_FIRST(&pkt->extlist)) != NULL) { in packet_free()
/netbsd-src/external/bsd/elftoolchain/dist/libelf/
H A Delf_data.c67 if (d == NULL && (d = STAILQ_FIRST(&s->s_data)) != NULL) in elf_getdata()
241 if (d == NULL && (d = STAILQ_FIRST(&s->s_rawdata)) != NULL) in elf_rawdata()
H A Dlibelf_extended.c51 if ((s = STAILQ_FIRST(&e->e_u.e_elf.e_scn)) != NULL) in _libelf_getscn0()
/netbsd-src/usr.bin/grep/
H A Dqueue.c86 item = STAILQ_FIRST(&queue); in dequeue()
/netbsd-src/usr.sbin/syslogd/
H A Dsign.c476 fq = STAILQ_FIRST(&sg->files); in sign_global_free()
667 qentry = STAILQ_FIRST(&sg->hashes); in sign_send_signature_block()
705 qentry = STAILQ_FIRST(&sg->hashes); in sign_send_signature_block()
/netbsd-src/sys/sys/
H A Dqueue.h582 #define STAILQ_FIRST(head) ((head)->stqh_first) macro
585 #define STAILQ_EMPTY(head) (STAILQ_FIRST(head) == STAILQ_END(head))
637 for ((var) = STAILQ_FIRST((head)); \

12