Home
last modified time | relevance | path

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

/xnu-8019.80.24/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.c69 while ((mc = SLIST_FIRST(mc_list)) != NULL) { in multicast_list_remove()
H A Dpf_table.c940 for (p = SLIST_FIRST(workq); p != NULL; p = q) { in pfr_destroy_kentries()
1835 for (p = SLIST_FIRST(&workq); p != NULL; p = q) { in pfr_ina_commit()
1877 for (p = SLIST_FIRST(&addrq); p != NULL; p = next) { in pfr_commit_ktable()
2043 for (p = SLIST_FIRST(workq); p; p = q) { in pfr_setflags_ktables()
2160 for (p = SLIST_FIRST(workq); p; p = q) { in pfr_destroy_ktables()
H A Dif_ports_used.c219 while ((npe = SLIST_FIRST(&net_port_entry_list)) != NULL) { in net_port_entry_list_clear()
H A Ddlil.c1622 proto = SLIST_FIRST(&ifp->if_proto_hash[i]); in find_attached_proto()
7996 prev_proto = SLIST_FIRST(&ifp->if_proto_hash[hash_value]); in dlil_attach_protocol()
9331 proto = SLIST_FIRST(&ifp->if_proto_hash[i]); in ifnet_detach_final()
9337 proto = SLIST_FIRST(&ifp->if_proto_hash[i]); in ifnet_detach_final()
H A Dcontent_filter.c3198 entry = SLIST_FIRST(&cfil_info->cfi_ordered_entries); in cfil_dispatch_attach_event()
/xnu-8019.80.24/bsd/sys/
H A Dqueue.h267 #define SLIST_FIRST(head) ((head)->slh_first) macro
270 for ((var) = SLIST_FIRST((head)); \
275 for ((var) = SLIST_FIRST((head)); \
280 for ((varp) = &SLIST_FIRST((head)); \
285 SLIST_FIRST((head)) = NULL; \
294 SLIST_NEXT((elm), field) = SLIST_FIRST((head)); \
295 SLIST_FIRST((head)) = (elm); \
304 if (SLIST_FIRST((head)) == (elm)) { \
308 struct type *curelm = SLIST_FIRST((head)); \
324 SLIST_FIRST((head)) = SLIST_NEXT(SLIST_FIRST((head)), field); \
/xnu-8019.80.24/bsd/kern/
H A Dkern_newsysctl.c162 p = SLIST_FIRST(parent); in sysctl_register_oid_locked()
324 if (SLIST_FIRST(lsp) && SLIST_FIRST(lsp)->oid_number == OID_MUTABLE_ANCHOR) { in sysctl_unregister_oid()
325 lsp = SLIST_FIRST(lsp)->oid_arg1; in sysctl_unregister_oid()
587 struct sysctl_oid *a = SLIST_FIRST(l); in sysctl_oid_iterator_begin()
595 it.b = SLIST_FIRST((struct sysctl_oid_list *)a->oid_arg1); in sysctl_oid_iterator_begin()
708 if (lp && SLIST_FIRST(lp) && in sysctl_sysctl_debug_dump_node()
709 SLIST_FIRST(lp)->oid_number == OID_MUTABLE_ANCHOR) { in sysctl_sysctl_debug_dump_node()
945 if (!SLIST_FIRST(lsp)) { in sysctl_sysctl_next_ls()
H A Dposix_shm.c631 SLIST_FIRST(&pinfo->pshm_mobjs) = pshmobj; in pshm_truncate()
649 while ((pshmobj = SLIST_FIRST(&pinfo->pshm_mobjs)) != NULL) { in pshm_truncate()
812 pshmobj = SLIST_FIRST(&pinfo->pshm_mobjs); in pshm_mmap()
877 for (map_pos = 0, pshmobj = SLIST_FIRST(&pinfo->pshm_mobjs); in pshm_mmap()
1057 while ((pshmobj = SLIST_FIRST(&pinfo->pshm_mobjs)) != NULL) { in pshm_deref()
H A Duipc_mbuf2.c360 p = SLIST_FIRST(&buf->m_pkthdr.tags); in m_tag_create()
527 p = SLIST_FIRST(&m->m_pkthdr.tags); in m_tag_delete_chain()
550 p = SLIST_FIRST(&m->m_pkthdr.tags); in m_tag_locate()
635 return SLIST_FIRST(&m->m_pkthdr.tags); in m_tag_first()
H A Dkern_event.c2901 kn = SLIST_FIRST(&fdp->fd_knlist[i]); in kqueue_dealloc()
2911 kn = SLIST_FIRST(&fdp->fd_knlist[i]); in kqueue_dealloc()
2923 kn = SLIST_FIRST(&fdp->fd_knhash[i]); in kqueue_dealloc()
2933 kn = SLIST_FIRST(&fdp->fd_knhash[i]); in kqueue_dealloc()
3531 while ((kn = SLIST_FIRST(&fdp->fd_knlist[i])) != NULL) { in knotes_dealloc()
3551 while ((kn = SLIST_FIRST(&fdp->fd_knhash[i])) != NULL) { in knotes_dealloc()
8771 kn = SLIST_FIRST(&fdp->fd_knlist[i]); in pid_kqueue_extinfo()
8779 kn = SLIST_FIRST(&fdp->fd_knhash[i]); in pid_kqueue_extinfo()
H A Dkern_proc.c2634 while (NULL != (pe = SLIST_FIRST(&pl->pl_head))) { in pidlist_free()
2635 SLIST_FIRST(&pl->pl_head) = SLIST_NEXT(pe, pe_link); in pidlist_free()
2644 pl->pl_active = SLIST_FIRST(&pl->pl_head); in pidlist_set_active()
3928 while ((kn = SLIST_FIRST(&p->p_klist))) { in proc_knote_drain()
/xnu-8019.80.24/bsd/skywalk/mem/
H A Dskmem_cache.c1174 bc = SLIST_FIRST(&sl->sl_head); in skmem_slab_alloc_locked()
1474 ASSERT(bc == SLIST_FIRST(&sl->sl_head)); in skmem_slab_free_locked()
1731 while ((mg = SLIST_FIRST(&ml->ml_list)) != NULL) { in skmem_depot_batch_alloc()
1748 *list = SLIST_FIRST(&mg_list); in skmem_depot_batch_alloc()
2065 &skm->skm_depot_empty, SLIST_FIRST(&mg_list)); in skmem_cache_batch_alloc()
2310 &skm->skm_depot_full, SLIST_FIRST(&mg_list)); in skmem_cache_batch_free()
2674 while ((bc = SLIST_FIRST(&bcb->bcb_head)) != NULL) { in skmem_cache_hash_rescale()
/xnu-8019.80.24/osfmk/ipc/
H A Dipc_pset.c634 struct knote *hd = SLIST_FIRST(klist); in filt_machport_link()
879 if (kn == SLIST_FIRST(&port->ip_klist)) { in filt_machportdetach()
H A Dipc_mqueue.c338 if (klist && SLIST_FIRST(klist)) { in ipc_mqueue_changed()
H A Dipc_port.c1604 } else if ((kn = SLIST_FIRST(&port->ip_klist))) { in ipc_port_send_update_inheritor()
/xnu-8019.80.24/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-8019.80.24/bsd/skywalk/nexus/netif/
H A Dnx_netif_flow.c267 nf = SLIST_FIRST(&lft->lft_flow_list); in netif_flow_list_lookup()
/xnu-8019.80.24/bsd/netinet/
H A Dtcp_subr.c4332 elm = SLIST_FIRST(&tp->t_notify_ack); in tcp_notify_acknowledgement()
4389 elm = SLIST_FIRST(&tp->t_notify_ack); in tcp_notify_ack_active()
H A Digmp.c2081 inm = SLIST_FIRST(&igi->igi_relinmhead); in igmp_flush_relq()
H A Dflow_divert.c3096 fd_cb = SLIST_FIRST(&tmp_list); in flow_divert_close_all()
/xnu-8019.80.24/osfmk/kern/
H A Dturnstile.c418 ret_turnstile = SLIST_FIRST(&ts->ts_free_turnstiles); in turnstile_freelist_remove()
/xnu-8019.80.24/bsd/netinet6/
H A Dmld6.c1860 inm = SLIST_FIRST(&mli->mli_relinmhead); in mld_flush_relq()
/xnu-8019.80.24/bsd/nfs/
H A Dnfs_gss.c2185 gsp = SLIST_FIRST(&req->r_gss_seqlist); in nfs_gss_clnt_rpcdone()