Home
last modified time | relevance | path

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

12

/xnu-12377.1.9/bsd/net/
H A Dpf_osfp.c300 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 Dmulticast_list.c71 while ((mc = SLIST_FIRST(mc_list)) != NULL) { in multicast_list_remove()
H A Dpf_table.c944 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 Ddlil_subr.c612 proto = SLIST_FIRST(&ifp->if_proto_hash[i]); in find_attached_proto()
H A Ddlil.c4475 prev_proto = SLIST_FIRST(&ifp->if_proto_hash[hash_value]); in dlil_attach_protocol()
5703 proto = SLIST_FIRST(&ifp->if_proto_hash[i]); in ifnet_detach_final()
5709 proto = SLIST_FIRST(&ifp->if_proto_hash[i]); in ifnet_detach_final()
/xnu-12377.1.9/bsd/sys/
H A Dqueue.h268 #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-12377.1.9/bsd/kern/
H A Dposix_shm.c633 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 Dkern_newsysctl.c169 p = SLIST_FIRST(parent); in sysctl_register_oid_locked()
331 if (SLIST_FIRST(lsp) && SLIST_FIRST(lsp)->oid_number == OID_MUTABLE_ANCHOR) { in sysctl_unregister_oid()
332 lsp = SLIST_FIRST(lsp)->oid_arg1; in sysctl_unregister_oid()
594 struct sysctl_oid *a = SLIST_FIRST(l); in sysctl_oid_iterator_begin()
602 it.b = SLIST_FIRST((struct sysctl_oid_list *)a->oid_arg1); in sysctl_oid_iterator_begin()
715 if (lp && SLIST_FIRST(lp) && in sysctl_sysctl_debug_dump_node()
716 SLIST_FIRST(lp)->oid_number == OID_MUTABLE_ANCHOR) { in sysctl_sysctl_debug_dump_node()
952 if (!SLIST_FIRST(lsp)) { in sysctl_sysctl_next_ls()
H A Duipc_mbuf2.c632 p = SLIST_FIRST(&buf->m_pkthdr.tags); in m_tag_create_mbuf()
922 p = SLIST_FIRST(&m->m_pkthdr.tags); in m_tag_delete_chain()
941 p = SLIST_FIRST(&m->m_pkthdr.tags); in m_tag_locate()
1023 return SLIST_FIRST(&m->m_pkthdr.tags); in m_tag_first()
H A Dkern_event.c2977 kn = SLIST_FIRST(&fdp->fd_knlist[i]); in kqueue_dealloc()
2987 kn = SLIST_FIRST(&fdp->fd_knlist[i]); in kqueue_dealloc()
2999 kn = SLIST_FIRST(&fdp->fd_knhash[i]); in kqueue_dealloc()
3009 kn = SLIST_FIRST(&fdp->fd_knhash[i]); in kqueue_dealloc()
3774 while ((kn = SLIST_FIRST(&fdp->fd_knlist[i])) != NULL) { in knotes_dealloc()
3794 while ((kn = SLIST_FIRST(&fdp->fd_knhash[i])) != NULL) { in knotes_dealloc()
9505 kn = SLIST_FIRST(&fd_knlist[i]);
9532 kn = SLIST_FIRST(&fdp->fd_knhash[i]);
H A Dkern_proc.c3125 while (NULL != (pe = SLIST_FIRST(&pl->pl_head))) { in pidlist_free()
3126 SLIST_FIRST(&pl->pl_head) = SLIST_NEXT(pe, pe_link); in pidlist_free()
3135 pl->pl_active = SLIST_FIRST(&pl->pl_head); in pidlist_set_active()
4609 while ((kn = SLIST_FIRST(&old_proc->p_klist))) { in proc_transfer_knotes()
4631 while ((kn = SLIST_FIRST(&p->p_klist))) { in proc_knote_drain()
/xnu-12377.1.9/bsd/skywalk/mem/
H A Dskmem_slab.c329 bc = SLIST_FIRST(&sl->sl_head); in skmem_slab_alloc_locked()
687 ASSERT(bc == SLIST_FIRST(&sl->sl_head)); in skmem_slab_free_locked()
H A Dskmem_cache.c1068 while ((mg = SLIST_FIRST(&ml->ml_list)) != NULL) { in skmem_depot_batch_alloc()
1085 *list = SLIST_FIRST(&mg_list); in skmem_depot_batch_alloc()
1390 &skm->skm_depot_empty, SLIST_FIRST(&mg_list)); in skmem_cache_batch_alloc()
1691 &skm->skm_depot_full, SLIST_FIRST(&mg_list)); in skmem_cache_batch_free_common()
2067 while ((bc = SLIST_FIRST(&bcb->bcb_head)) != NULL) { in skmem_cache_hash_rescale()
/xnu-12377.1.9/iokit/Kernel/
H A DIOStatistics.cpp276 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-12377.1.9/osfmk/ipc/
H A Dipc_pset.c584 struct knote *hd = SLIST_FIRST(klist); in filt_machport_link()
854 if (kn == SLIST_FIRST(&port->ip_klist)) { in filt_portdetach()
H A Dipc_mqueue.c361 if (klist && SLIST_FIRST(klist)) { in ipc_mqueue_changed()
H A Dipc_port.c1737 } else if ((kn = SLIST_FIRST(&port->ip_klist))) { in ipc_port_send_update_inheritor()
/xnu-12377.1.9/bsd/skywalk/nexus/
H A Dnexus_traffic_rule.c182 ntr = SLIST_FIRST(&rs->rs_list); in nxctl_traffic_rule_clean()
/xnu-12377.1.9/security/
H A Dmac_base.c486 mle = SLIST_FIRST(&mles); in mac_policy_addto_labellist()
494 mll = SLIST_FIRST(&mlls); in mac_policy_addto_labellist()
/xnu-12377.1.9/bsd/skywalk/nexus/netif/
H A Dnx_netif_flow.c267 nf = SLIST_FIRST(&lft->lft_flow_list); in netif_flow_list_lookup()
/xnu-12377.1.9/bsd/kern/code_signing/
H A Dtxm.c137 thread_stack = SLIST_FIRST(&thread_stacks_head); in acquire_thread_stack()
/xnu-12377.1.9/bsd/netinet6/
H A Dmld6.c1942 while ((inm = SLIST_FIRST(&mli->mli_relinmhead)) != NULL) { in mld_flush_relq()
1948 while ((inm = SLIST_FIRST(&temp_relinmhead)) != NULL) { in mld_flush_relq()
/xnu-12377.1.9/bsd/netinet/
H A Digmp.c2189 while ((inm = SLIST_FIRST(&igi->igi_relinmhead)) != NULL) { in igmp_flush_relq()
2195 while ((inm = SLIST_FIRST(&temp_relinmhead)) != NULL) { in igmp_flush_relq()
H A Dtcp_subr.c3889 rxseg = SLIST_FIRST(&tp->t_rxt_segments); in tcp_rxtseg_insert()
5241 elm = SLIST_FIRST(&tp->t_notify_ack); in tcp_notify_acknowledgement()
5298 elm = SLIST_FIRST(&tp->t_notify_ack); in tcp_notify_ack_active()
/xnu-12377.1.9/osfmk/kern/
H A Dturnstile.c412 ret_turnstile = SLIST_FIRST(&ts->ts_free_turnstiles); in turnstile_freelist_remove()

12