Home
last modified time | relevance | path

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

12

/xnu-10063.141.1/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.c940 for (p = SLIST_FIRST(workq); p != NULL; p = q) { in pfr_destroy_kentries()
1844 for (p = SLIST_FIRST(&workq); p != NULL; p = q) { in pfr_ina_commit()
1890 for (p = SLIST_FIRST(&addrq); p != NULL; p = next) { in pfr_commit_ktable()
2062 for (p = SLIST_FIRST(workq); p; p = q) { in pfr_setflags_ktables()
2179 for (p = SLIST_FIRST(workq); p; p = q) { in pfr_destroy_ktables()
H A Dif_ports_used.c230 while ((npe = SLIST_FIRST(&net_port_entry_list)) != NULL) { in net_port_entry_list_clear()
H A Ddlil.c1913 proto = SLIST_FIRST(&ifp->if_proto_hash[i]); in find_attached_proto()
8607 prev_proto = SLIST_FIRST(&ifp->if_proto_hash[hash_value]); in dlil_attach_protocol()
9963 proto = SLIST_FIRST(&ifp->if_proto_hash[i]); in ifnet_detach_final()
9969 proto = SLIST_FIRST(&ifp->if_proto_hash[i]); in ifnet_detach_final()
/xnu-10063.141.1/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-10063.141.1/bsd/kern/
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()
811 pshmobj = SLIST_FIRST(&pinfo->pshm_mobjs); in pshm_mmap()
873 for (map_pos = 0, pshmobj = SLIST_FIRST(&pinfo->pshm_mobjs); in pshm_mmap()
1051 while ((pshmobj = SLIST_FIRST(&pinfo->pshm_mobjs)) != NULL) { in pshm_deref()
H A Dkern_newsysctl.c166 p = SLIST_FIRST(parent); in sysctl_register_oid_locked()
328 if (SLIST_FIRST(lsp) && SLIST_FIRST(lsp)->oid_number == OID_MUTABLE_ANCHOR) { in sysctl_unregister_oid()
329 lsp = SLIST_FIRST(lsp)->oid_arg1; in sysctl_unregister_oid()
591 struct sysctl_oid *a = SLIST_FIRST(l); in sysctl_oid_iterator_begin()
599 it.b = SLIST_FIRST((struct sysctl_oid_list *)a->oid_arg1); in sysctl_oid_iterator_begin()
712 if (lp && SLIST_FIRST(lp) && in sysctl_sysctl_debug_dump_node()
713 SLIST_FIRST(lp)->oid_number == OID_MUTABLE_ANCHOR) { in sysctl_sysctl_debug_dump_node()
949 if (!SLIST_FIRST(lsp)) { in sysctl_sysctl_next_ls()
H A Duipc_mbuf2.c535 p = SLIST_FIRST(&buf->m_pkthdr.tags); in m_tag_create_mbuf()
917 p = SLIST_FIRST(&m->m_pkthdr.tags); in m_tag_delete_chain()
936 p = SLIST_FIRST(&m->m_pkthdr.tags); in m_tag_locate()
1018 return SLIST_FIRST(&m->m_pkthdr.tags); in m_tag_first()
H A Dkern_proc.c2806 while (NULL != (pe = SLIST_FIRST(&pl->pl_head))) { in pidlist_free()
2807 SLIST_FIRST(&pl->pl_head) = SLIST_NEXT(pe, pe_link); in pidlist_free()
2816 pl->pl_active = SLIST_FIRST(&pl->pl_head); in pidlist_set_active()
4218 while ((kn = SLIST_FIRST(&old_proc->p_klist))) { in proc_transfer_knotes()
4240 while ((kn = SLIST_FIRST(&p->p_klist))) { in proc_knote_drain()
H A Dkern_event.c2958 kn = SLIST_FIRST(&fdp->fd_knlist[i]); in kqueue_dealloc()
2968 kn = SLIST_FIRST(&fdp->fd_knlist[i]); in kqueue_dealloc()
2980 kn = SLIST_FIRST(&fdp->fd_knhash[i]); in kqueue_dealloc()
2990 kn = SLIST_FIRST(&fdp->fd_knhash[i]); in kqueue_dealloc()
3673 while ((kn = SLIST_FIRST(&fdp->fd_knlist[i])) != NULL) { in knotes_dealloc()
3693 while ((kn = SLIST_FIRST(&fdp->fd_knhash[i])) != NULL) { in knotes_dealloc()
9117 kn = SLIST_FIRST(&fd_knlist[i]); in pid_kqueue_extinfo()
9144 kn = SLIST_FIRST(&fdp->fd_knhash[i]); in pid_kqueue_extinfo()
/xnu-10063.141.1/bsd/skywalk/mem/
H A Dskmem_cache.c1165 bc = SLIST_FIRST(&sl->sl_head); in skmem_slab_alloc_locked()
1547 ASSERT(bc == SLIST_FIRST(&sl->sl_head)); in skmem_slab_free_locked()
1804 while ((mg = SLIST_FIRST(&ml->ml_list)) != NULL) { in skmem_depot_batch_alloc()
1821 *list = SLIST_FIRST(&mg_list); in skmem_depot_batch_alloc()
2138 &skm->skm_depot_empty, SLIST_FIRST(&mg_list)); in skmem_cache_batch_alloc()
2411 &skm->skm_depot_full, SLIST_FIRST(&mg_list)); in skmem_cache_batch_free()
2775 while ((bc = SLIST_FIRST(&bcb->bcb_head)) != NULL) { in skmem_cache_hash_rescale()
/xnu-10063.141.1/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-10063.141.1/osfmk/ipc/
H A Dipc_pset.c552 struct knote *hd = SLIST_FIRST(klist); in filt_machport_link()
822 if (kn == SLIST_FIRST(&port->ip_klist)) { in filt_portdetach()
H A Dipc_mqueue.c386 if (klist && SLIST_FIRST(klist)) { in ipc_mqueue_changed()
H A Dipc_port.c1708 } else if ((kn = SLIST_FIRST(&port->ip_klist))) { in ipc_port_send_update_inheritor()
/xnu-10063.141.1/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-10063.141.1/bsd/skywalk/nexus/netif/
H A Dnx_netif_flow.c267 nf = SLIST_FIRST(&lft->lft_flow_list); in netif_flow_list_lookup()
/xnu-10063.141.1/bsd/kern/code_signing/
H A Dtxm.c132 thread_stack = SLIST_FIRST(&thread_stacks_head); in acquire_thread_stack()
/xnu-10063.141.1/bsd/netinet6/
H A Dmld6.c1949 while ((inm = SLIST_FIRST(&mli->mli_relinmhead)) != NULL) { in mld_flush_relq()
1955 while ((inm = SLIST_FIRST(&temp_relinmhead)) != NULL) { in mld_flush_relq()
/xnu-10063.141.1/bsd/netinet/
H A Digmp.c2196 while ((inm = SLIST_FIRST(&igi->igi_relinmhead)) != NULL) { in igmp_flush_relq()
2202 while ((inm = SLIST_FIRST(&temp_relinmhead)) != NULL) { in igmp_flush_relq()
H A Dtcp_subr.c3732 rxseg = SLIST_FIRST(&tp->t_rxt_segments); in tcp_rxtseg_insert()
4366 elm = SLIST_FIRST(&tp->t_notify_ack); in tcp_notify_acknowledgement()
4423 elm = SLIST_FIRST(&tp->t_notify_ack); in tcp_notify_ack_active()
H A Dflow_divert.c3397 fd_cb = SLIST_FIRST(&tmp_list); in flow_divert_close_all()
/xnu-10063.141.1/bsd/skywalk/nexus/
H A Dnexus_traffic_rule.c597 ntr = SLIST_FIRST(&rs->rs_list); in nxctl_traffic_rule_clean()
/xnu-10063.141.1/osfmk/kern/
H A Dturnstile.c412 ret_turnstile = SLIST_FIRST(&ts->ts_free_turnstiles); in turnstile_freelist_remove()

12