| /xnu-11215/bsd/net/ |
| H A D | pf_osfp.c | 300 while ((fp = SLIST_FIRST(&pf_osfp_list))) { in pf_osfp_flush() 302 while ((entry = SLIST_FIRST(&fp->fp_oses))) { in pf_osfp_flush() 584 SLIST_FIRST(&f2->fp_oses)->fp_class_nm, in pf_osfp_validate() 585 SLIST_FIRST(&f2->fp_oses)->fp_version_nm, in pf_osfp_validate() 586 SLIST_FIRST(&f2->fp_oses)->fp_subtype_nm, in pf_osfp_validate() 587 SLIST_FIRST(&f->fp_oses)->fp_class_nm, in pf_osfp_validate() 588 SLIST_FIRST(&f->fp_oses)->fp_version_nm, in pf_osfp_validate() 589 SLIST_FIRST(&f->fp_oses)->fp_subtype_nm); in pf_osfp_validate() 592 SLIST_FIRST(&f->fp_oses)->fp_class_nm, in pf_osfp_validate() 593 SLIST_FIRST(&f->fp_oses)->fp_version_nm, in pf_osfp_validate() [all …]
|
| H A D | multicast_list.c | 71 while ((mc = SLIST_FIRST(mc_list)) != NULL) { in multicast_list_remove()
|
| H A D | pf_table.c | 944 for (p = SLIST_FIRST(workq); p != NULL; p = q) { in pfr_destroy_kentries() 1847 for (p = SLIST_FIRST(&workq); p != NULL; p = q) { in pfr_ina_commit() 1893 for (p = SLIST_FIRST(&addrq); p != NULL; p = next) { in pfr_commit_ktable() 2064 for (p = SLIST_FIRST(workq); p; p = q) { in pfr_setflags_ktables() 2181 for (p = SLIST_FIRST(workq); p; p = q) { in pfr_destroy_ktables()
|
| H A D | if_ports_used.c | 271 while ((npe = SLIST_FIRST(&net_port_entry_list)) != NULL) { in net_port_entry_list_clear()
|
| H A D | dlil.c | 1504 proto = SLIST_FIRST(&ifp->if_proto_hash[i]); in find_attached_proto() 8260 prev_proto = SLIST_FIRST(&ifp->if_proto_hash[hash_value]); in dlil_attach_protocol() 9625 proto = SLIST_FIRST(&ifp->if_proto_hash[i]); in ifnet_detach_final() 9631 proto = SLIST_FIRST(&ifp->if_proto_hash[i]); in ifnet_detach_final()
|
| /xnu-11215/bsd/sys/ |
| H A D | queue.h | 268 #define SLIST_FIRST(head) ((head)->slh_first) macro 271 for ((var) = SLIST_FIRST((head)); \ 276 for ((var) = SLIST_FIRST((head)); \ 281 for ((varp) = &SLIST_FIRST((head)); \ 286 SLIST_FIRST((head)) = NULL; \ 295 SLIST_NEXT((elm), field) = SLIST_FIRST((head)); \ 296 SLIST_FIRST((head)) = (elm); \ 305 if (SLIST_FIRST((head)) == (elm)) { \ 309 struct type *curelm = SLIST_FIRST((head)); \ 325 SLIST_FIRST((head)) = SLIST_NEXT(SLIST_FIRST((head)), field); \
|
| /xnu-11215/bsd/kern/ |
| H A D | posix_shm.c | 633 SLIST_FIRST(&pinfo->pshm_mobjs) = pshmobj; in pshm_truncate() 651 while ((pshmobj = SLIST_FIRST(&pinfo->pshm_mobjs)) != NULL) { in pshm_truncate() 812 pshmobj = SLIST_FIRST(&pinfo->pshm_mobjs); in pshm_mmap() 874 for (map_pos = 0, pshmobj = SLIST_FIRST(&pinfo->pshm_mobjs); in pshm_mmap() 1052 while ((pshmobj = SLIST_FIRST(&pinfo->pshm_mobjs)) != NULL) { in pshm_deref()
|
| H A D | kern_newsysctl.c | 168 p = SLIST_FIRST(parent); in sysctl_register_oid_locked() 330 if (SLIST_FIRST(lsp) && SLIST_FIRST(lsp)->oid_number == OID_MUTABLE_ANCHOR) { in sysctl_unregister_oid() 331 lsp = SLIST_FIRST(lsp)->oid_arg1; in sysctl_unregister_oid() 593 struct sysctl_oid *a = SLIST_FIRST(l); in sysctl_oid_iterator_begin() 601 it.b = SLIST_FIRST((struct sysctl_oid_list *)a->oid_arg1); in sysctl_oid_iterator_begin() 714 if (lp && SLIST_FIRST(lp) && in sysctl_sysctl_debug_dump_node() 715 SLIST_FIRST(lp)->oid_number == OID_MUTABLE_ANCHOR) { in sysctl_sysctl_debug_dump_node() 951 if (!SLIST_FIRST(lsp)) { in sysctl_sysctl_next_ls()
|
| H A D | uipc_mbuf2.c | 533 p = SLIST_FIRST(&buf->m_pkthdr.tags); in m_tag_create_mbuf() 919 p = SLIST_FIRST(&m->m_pkthdr.tags); in m_tag_delete_chain() 938 p = SLIST_FIRST(&m->m_pkthdr.tags); in m_tag_locate() 1020 return SLIST_FIRST(&m->m_pkthdr.tags); in m_tag_first()
|
| H A D | kern_event.c | 2976 kn = SLIST_FIRST(&fdp->fd_knlist[i]); in kqueue_dealloc() 2986 kn = SLIST_FIRST(&fdp->fd_knlist[i]); in kqueue_dealloc() 2998 kn = SLIST_FIRST(&fdp->fd_knhash[i]); in kqueue_dealloc() 3008 kn = SLIST_FIRST(&fdp->fd_knhash[i]); in kqueue_dealloc() 3773 while ((kn = SLIST_FIRST(&fdp->fd_knlist[i])) != NULL) { in knotes_dealloc() 3793 while ((kn = SLIST_FIRST(&fdp->fd_knhash[i])) != NULL) { in knotes_dealloc() 9504 kn = SLIST_FIRST(&fd_knlist[i]); 9531 kn = SLIST_FIRST(&fdp->fd_knhash[i]);
|
| H A D | kern_proc.c | 2844 while (NULL != (pe = SLIST_FIRST(&pl->pl_head))) { in pidlist_free() 2845 SLIST_FIRST(&pl->pl_head) = SLIST_NEXT(pe, pe_link); in pidlist_free() 2854 pl->pl_active = SLIST_FIRST(&pl->pl_head); in pidlist_set_active() 4273 while ((kn = SLIST_FIRST(&old_proc->p_klist))) { in proc_transfer_knotes() 4295 while ((kn = SLIST_FIRST(&p->p_klist))) { in proc_knote_drain()
|
| /xnu-11215/bsd/skywalk/mem/ |
| H A D | skmem_slab.c | 320 bc = SLIST_FIRST(&sl->sl_head); in skmem_slab_alloc_locked() 737 ASSERT(bc == SLIST_FIRST(&sl->sl_head)); in skmem_slab_free_locked()
|
| H A D | skmem_cache.c | 1067 while ((mg = SLIST_FIRST(&ml->ml_list)) != NULL) { in skmem_depot_batch_alloc() 1084 *list = SLIST_FIRST(&mg_list); in skmem_depot_batch_alloc() 1389 &skm->skm_depot_empty, SLIST_FIRST(&mg_list)); in skmem_cache_batch_alloc() 1703 &skm->skm_depot_full, SLIST_FIRST(&mg_list)); in skmem_cache_batch_free_common() 2079 while ((bc = SLIST_FIRST(&bcb->bcb_head)) != NULL) { in skmem_cache_hash_rescale()
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOStatistics.cpp | 276 while ((wlc = SLIST_FIRST(&found->workLoopList))) { in onKextUnload() 397 while ((esc = SLIST_FIRST(&found->counterList))) { in onClassRemoved() 403 while ((ucc = SLIST_FIRST(&found->userClientList))) { in onClassRemoved()
|
| /xnu-11215/osfmk/ipc/ |
| H A D | ipc_pset.c | 552 struct knote *hd = SLIST_FIRST(klist); in filt_machport_link() 822 if (kn == SLIST_FIRST(&port->ip_klist)) { in filt_portdetach()
|
| H A D | ipc_mqueue.c | 386 if (klist && SLIST_FIRST(klist)) { in ipc_mqueue_changed()
|
| H A D | ipc_port.c | 1708 } else if ((kn = SLIST_FIRST(&port->ip_klist))) { in ipc_port_send_update_inheritor()
|
| /xnu-11215/security/ |
| H A D | mac_base.c | 486 mle = SLIST_FIRST(&mles); in mac_policy_addto_labellist() 494 mll = SLIST_FIRST(&mlls); in mac_policy_addto_labellist()
|
| /xnu-11215/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_flow.c | 267 nf = SLIST_FIRST(&lft->lft_flow_list); in netif_flow_list_lookup()
|
| /xnu-11215/bsd/kern/code_signing/ |
| H A D | txm.c | 134 thread_stack = SLIST_FIRST(&thread_stacks_head); in acquire_thread_stack()
|
| /xnu-11215/bsd/netinet6/ |
| H A D | mld6.c | 1941 while ((inm = SLIST_FIRST(&mli->mli_relinmhead)) != NULL) { in mld_flush_relq() 1947 while ((inm = SLIST_FIRST(&temp_relinmhead)) != NULL) { in mld_flush_relq()
|
| /xnu-11215/bsd/netinet/ |
| H A D | igmp.c | 2188 while ((inm = SLIST_FIRST(&igi->igi_relinmhead)) != NULL) { in igmp_flush_relq() 2194 while ((inm = SLIST_FIRST(&temp_relinmhead)) != NULL) { in igmp_flush_relq()
|
| H A D | tcp_subr.c | 3855 rxseg = SLIST_FIRST(&tp->t_rxt_segments); in tcp_rxtseg_insert() 5157 elm = SLIST_FIRST(&tp->t_notify_ack); in tcp_notify_acknowledgement() 5214 elm = SLIST_FIRST(&tp->t_notify_ack); in tcp_notify_ack_active()
|
| /xnu-11215/bsd/skywalk/nexus/ |
| H A D | nexus_traffic_rule.c | 602 ntr = SLIST_FIRST(&rs->rs_list); in nxctl_traffic_rule_clean()
|
| /xnu-11215/osfmk/kern/ |
| H A D | turnstile.c | 409 ret_turnstile = SLIST_FIRST(&ts->ts_free_turnstiles); in turnstile_freelist_remove()
|