Home
last modified time | relevance | path

Searched refs:SLIST_FIRST (Results 1 – 25 of 86) sorted by relevance

1234

/dragonfly/sys/sys/
H A Dqueue.h165 #define SLIST_FIRST(head) ((head)->slh_first) macro
168 for ((var) = SLIST_FIRST((head)); \
178 for ((var) = SLIST_FIRST((head)); \
188 for ((varp) = &SLIST_FIRST((head)); \
193 SLIST_FIRST((head)) = NULL; \
203 SLIST_FIRST((head)) = (elm); \
210 if (SLIST_FIRST((head)) == (elm)) { \
214 struct type *curelm = SLIST_FIRST((head)); \
228 SLIST_FIRST((head)) = SLIST_NEXT(SLIST_FIRST((head)), field); \
233 SLIST_FIRST(head1) = SLIST_FIRST(head2); \
[all …]
/dragonfly/sys/net/pf/
H A Dpf_osfp.c303 while ((fp = SLIST_FIRST(&pf_osfp_list))) { in pf_osfp_flush()
305 while ((entry = SLIST_FIRST(&fp->fp_oses))) { in pf_osfp_flush()
568 SLIST_FIRST(&f2->fp_oses)->fp_class_nm, in pf_osfp_validate()
569 SLIST_FIRST(&f2->fp_oses)->fp_version_nm, in pf_osfp_validate()
570 SLIST_FIRST(&f2->fp_oses)->fp_subtype_nm, in pf_osfp_validate()
571 SLIST_FIRST(&f->fp_oses)->fp_class_nm, in pf_osfp_validate()
572 SLIST_FIRST(&f->fp_oses)->fp_version_nm, in pf_osfp_validate()
573 SLIST_FIRST(&f->fp_oses)->fp_subtype_nm); in pf_osfp_validate()
576 SLIST_FIRST(&f->fp_oses)->fp_class_nm, in pf_osfp_validate()
577 SLIST_FIRST(&f->fp_oses)->fp_version_nm, in pf_osfp_validate()
[all …]
/dragonfly/usr.bin/pkill/
H A Dpkill.c416 if (SLIST_FIRST(&ruidlist) != NULL && li == NULL) { in main()
424 if (SLIST_FIRST(&rgidlist) != NULL && li == NULL) { in main()
432 if (SLIST_FIRST(&euidlist) != NULL && li == NULL) { in main()
440 if (SLIST_FIRST(&ppidlist) != NULL && li == NULL) { in main()
448 if (SLIST_FIRST(&pgrplist) != NULL && li == NULL) { in main()
460 if (SLIST_FIRST(&tdevlist) != NULL && li == NULL) { in main()
468 if (SLIST_FIRST(&sidlist) != NULL && li == NULL) { in main()
481 if (SLIST_FIRST(&jidlist) != NULL && li == NULL) { in main()
493 if (SLIST_FIRST(&classlist) != NULL && li == NULL) { in main()
/dragonfly/lib/libc/stdlib/
H A Dhcreate.c137 ie = SLIST_FIRST(&htable[idx]); in hdestroy()
159 ie = SLIST_FIRST(head); in hsearch()
/dragonfly/lib/libssh/openbsd-compat/
H A Dsys-queue.h96 #undef SLIST_FIRST
202 #define SLIST_FIRST(head) ((head)->slh_first) macro
204 #define SLIST_EMPTY(head) (SLIST_FIRST(head) == SLIST_END(head))
208 for((var) = SLIST_FIRST(head); \
213 for ((var) = SLIST_FIRST(head); \
221 SLIST_FIRST(head) = SLIST_END(head); \
/dragonfly/contrib/nvi2/common/
H A Dseq.c139 if (qp == SLIST_FIRST(sp->gp->seqq)) in seq_delete()
196 for (qp = SLIST_FIRST(sp->gp->seqq); qp != NULL; in seq_find()
261 while ((qp = SLIST_FIRST(gp->seqq)) != NULL) { in seq_close()
H A Dcut.c198 if (cbp == SLIST_FIRST(sp->gp->cutq)) in cb_rotate()
264 while ((cbp = SLIST_FIRST(gp->cutq)) != NULL) { in cut_close()
H A Dgs.h85 #define EXCMD_RUNNING(gp) (SLIST_FIRST((gp)->ecq)->clen != 0)
H A Dmark.c92 while ((lmp = SLIST_FIRST(ep->marks)) != NULL) { in mark_end()
/dragonfly/sys/kern/
H A Duipc_mbuf2.c315 p = SLIST_FIRST(&m->m_pkthdr.tags); in m_tag_delete_chain()
331 p = SLIST_FIRST(&m->m_pkthdr.tags); in m_tag_locate()
397 return SLIST_FIRST(&m->m_pkthdr.tags); in m_tag_first()
H A Dkern_objcache.c487 cpucache->loaded_magazine = SLIST_FIRST(&depot->fullmagazines); in objcache_get()
685 cpucache->loaded_magazine = SLIST_FIRST(&depot->emptymagazines); in objcache_put()
808 while ((mag = SLIST_FIRST(maglist)) != NULL) { in maglist_disassociate()
833 while ((mag = SLIST_FIRST(maglist)) != NULL) { in maglist_purge()
/dragonfly/libexec/dma/
H A Daliases_parse.y78 SLIST_FIRST(&al->dests) = $3;
/dragonfly/usr.bin/systat/
H A Daltqs.c167 node = SLIST_FIRST(&curlist); in closealtqs()
169 while ((q = SLIST_FIRST(&node->queues)) != NULL) { in closealtqs()
176 qcol_t *qc = SLIST_FIRST(&qcols); in closealtqs()
/dragonfly/sys/libprop/
H A Dprop_stack.c89 if ((eelem = SLIST_FIRST(&stack->extern_elems)) != NULL) { in _prop_stack_pop()
/dragonfly/contrib/smbfs/lib/smb/
H A Drcfile.c118 for(p = SLIST_FIRST(&rcp->rf_sect); p;) { in rc_close()
172 for(p = SLIST_FIRST(&rsp->rs_keys);p;) { in rc_freesect()
/dragonfly/sys/netgraph/bridge/
H A Dng_bridge.c871 = SLIST_FIRST(oldList); in ng_bridge_rehash()
906 struct ng_bridge_hent **hptr = &SLIST_FIRST(&priv->tab[bucket]); in ng_bridge_remove_hosts()
954 struct ng_bridge_hent **hptr = &SLIST_FIRST(&priv->tab[bucket]); in ng_bridge_timeout()
/dragonfly/sys/netgraph7/bridge/
H A Dng_bridge.c911 = SLIST_FIRST(oldList); in ng_bridge_rehash()
946 struct ng_bridge_hent **hptr = &SLIST_FIRST(&priv->tab[bucket]); in ng_bridge_remove_hosts()
978 struct ng_bridge_hent **hptr = &SLIST_FIRST(&priv->tab[bucket]); in ng_bridge_timeout()
/dragonfly/sys/dev/raid/ida/
H A Dida.c123 if ((qcb = SLIST_FIRST(&ida->free_qcbs)) != NULL) { in ida_get_qcb()
127 if ((qcb = SLIST_FIRST(&ida->free_qcbs)) != NULL) in ida_get_qcb()
/dragonfly/sys/bus/firewire/
H A Dfirewire.c479 for (csrd = SLIST_FIRST(&sc->fc->csrfree); csrd != NULL; csrd = next) { in firewire_detach()
1504 csrd = SLIST_FIRST(&fc->ongocsr); in fw_bus_explore_callback()
1505 if((csrd = SLIST_FIRST(&fc->ongocsr)) == NULL){ in fw_bus_explore_callback()
1515 csrd = SLIST_FIRST(&fc->csrfree); in fw_bus_explore_callback()
1532 csrd = SLIST_FIRST(&fc->csrfree); in fw_bus_explore_callback()
1549 csrd = SLIST_FIRST(&fc->ongocsr); in fw_bus_explore_callback()
1550 if((csrd = SLIST_FIRST(&fc->ongocsr)) == NULL){ in fw_bus_explore_callback()
1577 while((csrd = SLIST_FIRST(&fc->ongocsr)) != NULL){ in fw_bus_explore_callback()
/dragonfly/contrib/nvi2/ex/
H A Dex.c64 while ((mp = SLIST_FIRST(gp->msgq)) != NULL) { in ex()
216 loop: ecp = SLIST_FIRST(gp->ecq); in ex_cmd()
320 ecp = SLIST_FIRST(gp->ecq); in ex_cmd()
1588 if (ecp->save_cmdlen != 0 || SLIST_FIRST(gp->ecq) != &gp->excmd) { in ex_cmd()
2076 ecp = SLIST_FIRST(gp->ecq); in ex_load()
2169 ecp = SLIST_FIRST(gp->ecq); in ex_discard()
/dragonfly/usr.sbin/makefs/
H A Dmtree.c113 fi = SLIST_FIRST(&mtree_fileinfo); in mtree_print()
404 fi = SLIST_FIRST(&mtree_fileinfo); in read_word()
1066 fi = SLIST_FIRST(&mtree_fileinfo); in read_mtree()
/dragonfly/sys/net/lagg/
H A Dif_lagg.c424 while ((lp = SLIST_FIRST(&sc->sc_ports)) != NULL) in lagg_clone_destroy()
560 head = SLIST_FIRST(&sc->sc_llq_head); in lagg_port_setlladdr()
561 SLIST_FIRST(&sc->sc_llq_head) = NULL; in lagg_port_setlladdr()
776 if ((lp_ptr = SLIST_FIRST(&sc->sc_ports)) == NULL) { in lagg_port_destroy()
1331 while ((mc = SLIST_FIRST(&lp->lp_mc_head)) != NULL) { in lagg_ether_cmdmulti()
1861 lp = SLIST_FIRST(&sc->sc_ports); in lagg_rr_select_tx_port()
/dragonfly/sys/dev/disk/buslogic/
H A Dbt.c196 while ((sg_map = SLIST_FIRST(&bt->sg_maps))!= NULL) { in bt_free_softc()
853 bt->recovery_bccb = SLIST_FIRST(&bt->free_bt_ccbs); in btallocccbs()
857 if (SLIST_FIRST(&bt->free_bt_ccbs) != NULL) in btallocccbs()
888 if ((bccb = SLIST_FIRST(&bt->free_bt_ccbs)) != NULL) { in btgetccb()
893 bccb = SLIST_FIRST(&bt->free_bt_ccbs); in btgetccb()
2124 SLIST_FIRST(&bt->sg_maps)->sg_physaddr = segs->ds_addr; in btmapsgs()
/dragonfly/sbin/dump/
H A Ditime.c118 dtwalk = SLIST_FIRST(&dthead); in readdumptimes()
/dragonfly/sys/bus/cam/
H A Dcam_periph.c846 while (SLIST_FIRST(&periph->ccb_list) == NULL) { in cam_periph_getccb()
850 if ((SLIST_FIRST(&periph->ccb_list) != NULL) in cam_periph_getccb()
851 && (SLIST_FIRST(&periph->ccb_list)->pinfo.priority == priority)) in cam_periph_getccb()
857 ccb_h = SLIST_FIRST(&periph->ccb_list); in cam_periph_getccb()

1234