Home
last modified time | relevance | path

Searched refs:LIST_FIRST (Results 1 – 25 of 32) sorted by relevance

12

/xnu-8019.80.24/bsd/sys/
H A Dqueue.h499 LIST_FIRST((head)) != NULL && \
500 LIST_FIRST((head))->field.le_prev != \
501 &LIST_FIRST((head)))) \
528 #define LIST_FIRST(head) ((head)->lh_first) macro
531 for ((var) = LIST_FIRST((head)); \
536 for ((var) = LIST_FIRST((head)); \
541 LIST_FIRST((head)) = NULL; \
563 if ((LIST_NEXT((elm), field) = LIST_FIRST((head))) != NULL) \
564 LIST_FIRST((head))->field.le_prev = &LIST_NEXT((elm), field);\
565 LIST_FIRST((head)) = (elm); \
[all …]
/xnu-8019.80.24/bsd/netinet/
H A Dip_encap.c168 for (ep = LIST_FIRST(&encaptab); ep; ep = LIST_NEXT(ep, chain)) { in encap4_input()
260 for (ep = LIST_FIRST(&encaptab); ep; ep = LIST_NEXT(ep, chain)) { in encap6_input()
345 for (ep = LIST_FIRST(&encaptab); ep; ep = LIST_NEXT(ep, chain)) { in encap_attach()
431 for (p = LIST_FIRST(&encaptab); p; p = LIST_NEXT(p, chain)) { in encap_detach()
H A Din_pcblist.c491 for (inp = LIST_FIRST(pcbinfo->ipi_listhead); inp; in inpcb_get_if_ports_used()
694 for (inp = LIST_FIRST(pcbinfo->ipi_listhead); in inpcb_count_opportunistic()
748 for (inp = LIST_FIRST(pcbinfo->ipi_listhead); in inpcb_find_anypcb_byaddr()
868 for (inp = LIST_FIRST(pcbinfo->ipi_listhead); in inp_limit_companion_link()
898 for (inp = LIST_FIRST(pcbinfo->ipi_listhead); in inp_recover_companion_link()
H A Din_var.h462 (step).i_inm = LIST_FIRST(&in_multihead); \
H A Dmptcp.c218 q = LIST_FIRST(&mp_tp->mpt_segq); in mptcp_reass_present()
247 q = LIST_FIRST(&mp_tp->mpt_segq); in mptcp_reass_present()
H A Dudp_usrreq.c1173 for (inp = LIST_FIRST(udbinfo.ipi_listhead), i = 0; inp && i < n;
1296 for (inp = LIST_FIRST(udbinfo.ipi_listhead), i = 0; inp && i < n;
H A Dtcp_input.c772 q = LIST_FIRST(&tp->t_segq); in tcp_reass()
820 q = LIST_FIRST(&tp->t_segq); in tcp_reass()
/xnu-8019.80.24/bsd/net/
H A Dpf_norm.c410 for (frent = LIST_FIRST(&frag->fr_queue); frent; in pf_free_fragment()
411 frent = LIST_FIRST(&frag->fr_queue)) { in pf_free_fragment()
419 for (frcache = LIST_FIRST(&frag->fr_cache); frcache; in pf_free_fragment()
420 frcache = LIST_FIRST(&frag->fr_cache)) { in pf_free_fragment()
424 LIST_FIRST(&frag->fr_cache)->fr_off > in pf_free_fragment()
705 for (frep = LIST_FIRST(&(*frag)->fr_queue); frep; frep = next) { in pf_reassemble()
723 frent = LIST_FIRST(&(*frag)->fr_queue); in pf_reassemble()
1069 LIST_FIRST(&(*frag)->fr_cache)->fr_off == 0 && in pf_fragcache()
1070 LIST_FIRST(&(*frag)->fr_cache)->fr_end == (*frag)->fr_max) { in pf_fragcache()
1337 for (frep = LIST_FIRST(&(*frag)->fr_queue); frep; frep = next) { in pf_reassemble6()
[all …]
H A Dif_vlan.c828 for (ifv = LIST_FIRST(&vlp->vlp_vlan_list); ifv != NULL; ifv = next) { in vlan_parent_remove_all_vlans()
1480 if (LIST_NEXT(LIST_FIRST(&vlp->vlp_vlan_list), ifv_vlan_list) == NULL) { in vlan_unconfig()
H A Dnecp.c176 if (LIST_EMPTY((head)) || (LIST_FIRST(head)->sortfield >= (elm)->sortfield)) { \
189 …d)) || (LIST_FIRST(head)->firstsortfield > (elm)->firstsortfield) || ((LIST_FIRST(head)->firstsort…
202LIST_FIRST(head)->firstsortfield > (elm)->firstsortfield) || ((LIST_FIRST(head)->firstsortfield ==…
H A Dif.c654 for (ifc = LIST_FIRST(&if_cloners); ifc != NULL;) { in if_clone_lookup()
794 for (ifc = LIST_FIRST(&if_cloners); ifc != NULL && count != 0; in if_clone_list()
4795 for (ifma = LIST_FIRST(&ifp->if_multiaddrs); ifma != NULL; in if_addmulti_doesexist()
5171 for (ifma = LIST_FIRST(&ifp->if_multiaddrs); ifma != NULL; in if_delmulti_common()
H A Drtsock.c2037 for (ifma = LIST_FIRST(&ifp->if_multiaddrs); in sysctl_iflist2()
/xnu-8019.80.24/bsd/security/audit/
H A Daudit_mac.c128 head = LIST_FIRST(ar->k_ar.ar_mac_records); in audit_mac_free()
/xnu-8019.80.24/bsd/vfs/
H A Dvfs_cache.c1019 while ((ncp = LIST_FIRST(&vp->v_nclinks))) { in vnode_update_identity()
1051 while ((ncp = LIST_FIRST(&vp->v_nclinks))) { in vnode_update_identity()
2246 if ((vp != NULLVP) && (LIST_FIRST(&vp->v_nclinks))) { in cache_enter_locked()
2563 if ((LIST_FIRST(&vp->v_nclinks) == NULL) && in cache_purge_locked()
2574 while ((ncp = LIST_FIRST(&vp->v_nclinks))) { in cache_purge_locked()
2595 if ((LIST_FIRST(&vp->v_nclinks) == NULL) && in cache_purge()
H A Dvfs_bio.c1618 bp = LIST_FIRST(&local_iterblkhd); in buf_iterate()
1702 bp = LIST_FIRST(&local_iterblkhd); in buf_invalidateblks()
1777 bp = LIST_FIRST(&local_iterblkhd); in buf_invalidateblks()
1882 bp = LIST_FIRST(&local_iterblkhd); in buf_flushdirtyblks_skipinfo()
2005 bp = LIST_FIRST(iterheadp); in buf_itercomplete()
H A Dvfs_lookup.c663 …if ((cnp->cn_flags & MAKEENTRY) && (vp->v_flag & VNCACHEABLE) && LIST_FIRST(&vp->v_nclinks) == NUL… in lookup_consider_update_cache()
/xnu-8019.80.24/bsd/netkey/
H A Dkey.c319 for (elm = LIST_FIRST(head); elm; elm = LIST_NEXT(elm, field))
325 struct type *curelm = LIST_FIRST(head); \
1111 for (sav = LIST_FIRST(&sah->savtree[state]); in key_do_allocsa_policy()
1515 for (struct secasvar *sav = LIST_FIRST(&sah->savtree[state]); sav != NULL; sav = nextsav) { in key_checksa_present()
1616 for (currsav = LIST_FIRST(&sah->savtree[state]); in key_do_get_translated_port()
3857 for (sav = (struct secasvar *)LIST_FIRST(&sah->savtree[state]); in key_delsah()
5917 for (sp = LIST_FIRST(&sptree[dir]); in key_timehandler()
5957 for (sah = LIST_FIRST(&sahtree); in key_timehandler()
5970 if (LIST_FIRST(&sah->savtree[SADB_SASTATE_LARVAL]) == NULL && in key_timehandler()
5971 LIST_FIRST(&sah->savtree[SADB_SASTATE_MATURE]) == NULL && in key_timehandler()
[all …]
/xnu-8019.80.24/osfmk/kern/
H A Dhv_io_notifier.c257 hv_ion_entry_t *ion = LIST_FIRST(&grp->list); in hv_io_notifier_grp_free()
/xnu-8019.80.24/bsd/nfs/
H A Dnfs_bio.c1582 bp = LIST_FIRST(iterheadp); in nfs_buf_itercomplete()
3372 while ((bp = LIST_FIRST(&blist))) { in nfs_flushcommits()
3508 while ((bp = LIST_FIRST(&commitlist))) { in nfs_flushcommits()
3618 FSDBG(518, LIST_FIRST(&np->n_dirtyblkhd), np->n_flag, 0, 0); in nfs_flush()
3627 while ((bp = LIST_FIRST(&blist))) { in nfs_flush()
3824 while ((bp = LIST_FIRST(&blist))) { in nfs_vinvalbuf_internal()
4072 while ((bp = LIST_FIRST(&blist))) { in nfs_wait_bufs()
4090 while ((bp = LIST_FIRST(&blist))) { in nfs_wait_bufs()
H A Dnfs_subs.c3193 while ((nxfs = LIST_FIRST(&nfsrv_exports))) { in nfsrv_export()
3201 while ((nx = LIST_FIRST(&nxfs->nxfs_exports))) { in nfsrv_export()
3546 while ((nx = LIST_FIRST(&nxfs->nxfs_exports))) { in nfsrv_export()
4220 while ((unode = LIST_FIRST(&oldlist))) { in nfsrv_active_user_list_reclaim()
H A Dnfs_syscalls.c2194 for (fp = LIST_FIRST(&nfsrv_fmod_hashtbl[i]); fp; fp = nfp) { in nfsrv_cleanup()
/xnu-8019.80.24/bsd/netinet6/
H A Dmld6.c1656 mli = LIST_FIRST(&mli_head); in mld_timeout()
1697 mli = LIST_FIRST(&mli_head); in mld_timeout()
1730 mli = LIST_FIRST(&mli_head); in mld_timeout()
1815 mli = LIST_FIRST(&mli_head); in mld_timeout()
H A Din6_pcb.c1125 for (inp = LIST_FIRST(head); inp != NULL; inp = ninp) { in in6_pcbnotify()
H A Dnd6_rtr.c3062 pfxrtr = LIST_FIRST(&pr->ndpr_advrtrs); in find_pfxlist_reachable_router()
3100 pfxrtr = LIST_FIRST(&pr->ndpr_advrtrs); in find_pfxlist_reachable_router()
/xnu-8019.80.24/bsd/kern/
H A Dkern_event.c8246 for (ev_pcb = LIST_FIRST(&kern_event_head); in kev_post_msg_internal()
8431 for (i = 0, ev_pcb = LIST_FIRST(&kern_event_head);

12