| /xnu-10063.141.1/bsd/sys/ |
| H A D | queue.h | 499 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-10063.141.1/bsd/netinet/ |
| H A D | ip_encap.c | 169 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() 344 for (ep = LIST_FIRST(&encaptab); ep; ep = LIST_NEXT(ep, chain)) { in encap_attach() 430 for (p = LIST_FIRST(&encaptab); p; p = LIST_NEXT(p, chain)) { in encap_detach()
|
| H A D | in_pcblist.c | 509 for (inp = LIST_FIRST(pcbinfo->ipi_listhead); inp; in inpcb_get_if_ports_used() 775 for (inp = LIST_FIRST(pcbinfo->ipi_listhead); in inpcb_count_opportunistic() 829 for (inp = LIST_FIRST(pcbinfo->ipi_listhead); in inpcb_find_anypcb_byaddr() 951 for (inp = LIST_FIRST(pcbinfo->ipi_listhead); in inp_limit_companion_link() 981 for (inp = LIST_FIRST(pcbinfo->ipi_listhead); in inp_recover_companion_link()
|
| H A D | in_var.h | 461 (step).i_inm = LIST_FIRST(&in_multihead); \
|
| H A D | mptcp.c | 223 q = LIST_FIRST(&mp_tp->mpt_segq); in mptcp_reass_present() 253 q = LIST_FIRST(&mp_tp->mpt_segq); in mptcp_reass_present()
|
| H A D | udp_usrreq.c | 1218 for (inp = LIST_FIRST(udbinfo.ipi_listhead), i = 0; inp && i < n; 1342 for (inp = LIST_FIRST(udbinfo.ipi_listhead), i = 0; inp && i < n;
|
| H A D | tcp_input.c | 787 q = LIST_FIRST(&tp->t_segq); in tcp_reass() 828 q = LIST_FIRST(&tp->t_segq); in tcp_reass()
|
| /xnu-10063.141.1/bsd/net/ |
| H A D | pf_norm.c | 410 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 D | if_vlan.c | 851 for (ifv = LIST_FIRST(&vlp->vlp_vlan_list); ifv != NULL; ifv = next) { in vlan_parent_remove_all_vlans() 1559 if (LIST_NEXT(LIST_FIRST(&vlp->vlp_vlan_list), ifv_vlan_list) == NULL) { in vlan_unconfig()
|
| H A D | necp.c | 181 if (LIST_EMPTY((head)) || (LIST_FIRST(head)->sortfield >= (elm)->sortfield)) { \ 194 …d)) || (LIST_FIRST(head)->firstsortfield > (elm)->firstsortfield) || ((LIST_FIRST(head)->firstsort… 207 …LIST_FIRST(head)->firstsortfield > (elm)->firstsortfield) || ((LIST_FIRST(head)->firstsortfield ==…
|
| H A D | if.c | 860 for (ifc = LIST_FIRST(&if_cloners); ifc != NULL && count != 0; in if_clone_list() 5249 for (ifma = LIST_FIRST(&ifp->if_multiaddrs); ifma != NULL; in if_addmulti_doesexist() 5625 for (ifma = LIST_FIRST(&ifp->if_multiaddrs); ifma != NULL; in if_delmulti_common()
|
| H A D | rtsock.c | 2116 for (ifma = LIST_FIRST(&ifp->if_multiaddrs); in sysctl_iflist2()
|
| /xnu-10063.141.1/bsd/security/audit/ |
| H A D | audit_mac.c | 128 head = LIST_FIRST(ar->k_ar.ar_mac_records); in audit_mac_free()
|
| /xnu-10063.141.1/bsd/netkey/ |
| H A D | key.c | 324 for (elm = LIST_FIRST(head); elm; elm = LIST_NEXT(elm, field)) 330 struct type *curelm = LIST_FIRST(head); \ 1183 for (sav = LIST_FIRST(&sah->savtree[state]); in key_do_allocsa_policy() 1594 for (struct secasvar *sav = LIST_FIRST(&sah->savtree[state]); sav != NULL; sav = nextsav) { in key_checksa_present() 1695 for (currsav = LIST_FIRST(&sah->savtree[state]); in key_do_get_translated_port() 3945 for (sav = (struct secasvar *)LIST_FIRST(&sah->savtree[state]); in key_delsah() 5999 for (sp = LIST_FIRST(&sptree[dir]); in key_timehandler() 6039 for (sah = LIST_FIRST(&sahtree); in key_timehandler() 6052 if (LIST_FIRST(&sah->savtree[SADB_SASTATE_LARVAL]) == NULL && in key_timehandler() 6053 LIST_FIRST(&sah->savtree[SADB_SASTATE_MATURE]) == NULL && in key_timehandler() [all …]
|
| /xnu-10063.141.1/osfmk/kern/ |
| H A D | hv_io_notifier.c | 257 hv_ion_entry_t *ion = LIST_FIRST(&grp->list); in hv_io_notifier_grp_free()
|
| /xnu-10063.141.1/bsd/vfs/ |
| H A D | vfs_cache.c | 1185 while ((ncp = LIST_FIRST(&vp->v_nclinks))) { in vnode_update_identity() 1217 while ((ncp = LIST_FIRST(&vp->v_nclinks))) { in vnode_update_identity() 2829 if ((vp != NULLVP) && (LIST_FIRST(&vp->v_nclinks))) { in cache_enter_locked() 3212 if ((LIST_FIRST(&vp->v_nclinks) == NULL) && in cache_purge_locked() 3223 while ((ncp = LIST_FIRST(&vp->v_nclinks))) { in cache_purge_locked() 3244 if ((LIST_FIRST(&vp->v_nclinks) == NULL) && in cache_purge()
|
| H A D | vfs_bio.c | 1639 bp = LIST_FIRST(&local_iterblkhd); in buf_iterate() 1723 bp = LIST_FIRST(&local_iterblkhd); in buf_invalidateblks() 1798 bp = LIST_FIRST(&local_iterblkhd); in buf_invalidateblks() 1903 bp = LIST_FIRST(&local_iterblkhd); in buf_flushdirtyblks_skipinfo() 2026 bp = LIST_FIRST(iterheadp); in buf_itercomplete()
|
| H A D | vfs_lookup.c | 660 …if ((cnp->cn_flags & MAKEENTRY) && (vp->v_flag & VNCACHEABLE) && LIST_FIRST(&vp->v_nclinks) == NUL… in lookup_consider_update_cache()
|
| /xnu-10063.141.1/bsd/nfs/ |
| H A D | nfs_subs.c | 1713 while ((nxfs = LIST_FIRST(&nfsrv_exports))) { in nfsrv_export() 1721 while ((nx = LIST_FIRST(&nxfs->nxfs_exports))) { in nfsrv_export() 2058 while ((nx = LIST_FIRST(&nxfs->nxfs_exports))) { in nfsrv_export() 2732 while ((unode = LIST_FIRST(&oldlist))) { in nfsrv_active_user_list_reclaim()
|
| H A D | nfs_syscalls.c | 1941 for (fp = LIST_FIRST(&nfsrv_fmod_hashtbl[i]); fp; fp = nfp) { in nfsrv_cleanup()
|
| /xnu-10063.141.1/bsd/netinet6/ |
| H A D | mld6.c | 1679 mli = LIST_FIRST(&mli_head); in mld_timeout() 1720 mli = LIST_FIRST(&mli_head); in mld_timeout() 1752 mli = LIST_FIRST(&mli_head); in mld_timeout() 1836 mli = LIST_FIRST(&mli_head); in mld_timeout()
|
| H A D | in6_pcb.c | 1170 for (inp = LIST_FIRST(head); inp != NULL; inp = ninp) { in in6_pcbnotify()
|
| H A D | nd6_rtr.c | 3138 pfxrtr = LIST_FIRST(&pr->ndpr_advrtrs); in find_pfxlist_reachable_router()
|
| /xnu-10063.141.1/osfmk/vm/ |
| H A D | vm_kern.c | 3159 meta = LIST_FIRST(&sizeclass->ks_allfree_head[front]); in kmem_get_free_chunk_from_list() 3203 if ((meta = LIST_FIRST(&sizeclass->ks_partial_head[front])) != NULL) { in kmem_locate_space()
|
| /xnu-10063.141.1/bsd/kern/ |
| H A D | kern_event.c | 8569 for (ev_pcb = LIST_FIRST(&kern_event_head); in kev_post_msg_internal() 8754 for (i = 0, ev_pcb = LIST_FIRST(&kern_event_head);
|