| /xnu-12377.1.9/bsd/sys/ |
| H A D | queue.h | 273 (var) = SLIST_NEXT((var), field)) 277 (var) && ((tvar) = SLIST_NEXT((var), field), 1); \ 283 (varp) = &SLIST_NEXT((var), field)) 290 SLIST_NEXT((elm), field) = SLIST_NEXT((slistelm), field); \ 291 SLIST_NEXT((slistelm), field) = (elm); \ 295 SLIST_NEXT((elm), field) = SLIST_FIRST((head)); \ 299 #define SLIST_NEXT(elm, field) ((elm)->field.sle_next) macro 310 while (SLIST_NEXT(curelm, field) != (elm)) \ 311 curelm = SLIST_NEXT(curelm, field); \ 320 SLIST_NEXT(elm, field) = \ [all …]
|
| /xnu-12377.1.9/bsd/skywalk/mem/ |
| H A D | skmem_cache.c | 1102 nmg = SLIST_NEXT(mg, mg_link); in skmem_depot_batch_free() 1160 nmg = SLIST_NEXT(mg, mg_link); in skmem_depot_ws_reap() 1161 SLIST_NEXT(mg, mg_link) = NULL; in skmem_depot_ws_reap() 1173 nmg = SLIST_NEXT(mg, mg_link); in skmem_depot_ws_reap() 1174 SLIST_NEXT(mg, mg_link) = NULL; in skmem_depot_ws_reap() 1257 if (__probable(SLIST_NEXT(mg, mg_link) != NULL)) { in skmem_cpu_batch_reload() 1258 cp->cp_ploaded = SLIST_NEXT(mg, mg_link); in skmem_cpu_batch_reload() 1260 SLIST_NEXT(mg, mg_link) = NULL; in skmem_cpu_batch_reload() 1262 ASSERT(SLIST_NEXT(mg, mg_link) == NULL); in skmem_cpu_batch_reload() 1371 if (SLIST_NEXT(mg, mg_link) == NULL) { in skmem_cache_batch_alloc() [all …]
|
| H A D | skmem_slab.c | 688 if (SLIST_NEXT(bc, bc_link) == NULL) { in skmem_slab_free_locked()
|
| /xnu-12377.1.9/bsd/kern/ |
| H A D | kern_newsysctl.c | 243 SLIST_NEXT(oidp, oid_link) = *prevp; in sysctl_register_oid_locked() 601 it.a = SLIST_NEXT(a, oid_link); in sysctl_oid_iterator_begin() 620 it->b = SLIST_NEXT(b, oid_link); in sysctl_oid_iterator_next_num_order() 625 it->a = SLIST_NEXT(a, oid_link); in sysctl_oid_iterator_next_num_order() 629 it->b = SLIST_NEXT(b, oid_link); in sysctl_oid_iterator_next_num_order() 644 it->a = SLIST_NEXT(a, oid_link); in sysctl_oid_iterator_next_system_order() 649 it->b = SLIST_NEXT(b, oid_link); in sysctl_oid_iterator_next_system_order()
|
| H A D | uipc_mbuf2.c | 637 p = SLIST_NEXT(p, m_tag_link); in m_tag_create_mbuf() 660 p = SLIST_NEXT(p, m_tag_link); in m_tag_create_mbuf() 927 while ((q = SLIST_NEXT(p, m_tag_link)) != NULL) { in m_tag_delete_chain() 948 p = SLIST_NEXT(p, m_tag_link); in m_tag_locate() 1033 return SLIST_NEXT(t, m_tag_link); in m_tag_next()
|
| H A D | posix_shm.c | 630 SLIST_NEXT(pshmobj, pshmo_next) = NULL; in pshm_truncate() 876 map_pos += pshmobj->pshmo_size, pshmobj = SLIST_NEXT(pshmobj, pshmo_next)) { in pshm_mmap()
|
| H A D | kern_proc.c | 3126 SLIST_FIRST(&pl->pl_head) = SLIST_NEXT(pe, pe_link); in pidlist_free() 3144 if (NULL == (pe = SLIST_NEXT(pe, pe_link))) { in pidlist_add_pid()
|
| H A D | kern_event.c | 2990 kn = SLIST_NEXT(kn, kn_link); in kqueue_dealloc() 3012 kn = SLIST_NEXT(kn, kn_link); in kqueue_dealloc() 9298 for (; kn; kn = SLIST_NEXT(kn, kn_link)) {
|
| /xnu-12377.1.9/bsd/net/ |
| H A D | pf_table.c | 945 q = SLIST_NEXT(p, pfrke_workq); in pfr_destroy_kentries() 1848 q = SLIST_NEXT(p, pfrkt_workq); in pfr_ina_commit() 1894 next = SLIST_NEXT(p, pfrke_workq); /* XXX */ in pfr_commit_ktable() 2065 q = SLIST_NEXT(p, pfrkt_workq); in pfr_setflags_ktables() 2182 q = SLIST_NEXT(p, pfrkt_workq); in pfr_destroy_ktables()
|
| H A D | dlil_subr.c | 616 proto = SLIST_NEXT(proto, next_hash); in find_attached_proto()
|
| H A D | content_filter.c | 4606 for (iter_entry = SLIST_NEXT(entry, cfe_order_link); in cfil_service_pending_queue() 4608 iter_entry = SLIST_NEXT(iter_entry, cfe_order_link)) { in cfil_service_pending_queue() 4641 for (iter_entry = SLIST_NEXT(entry, cfe_order_link); in cfil_service_pending_queue() 4643 iter_entry = SLIST_NEXT(iter_entry, cfe_order_link)) { in cfil_service_pending_queue()
|
| H A D | dlil.c | 4476 while (prev_proto != NULL && SLIST_NEXT(prev_proto, next_hash) != NULL) { in dlil_attach_protocol() 4477 prev_proto = SLIST_NEXT(prev_proto, next_hash); in dlil_attach_protocol()
|
| /xnu-12377.1.9/bsd/skywalk/nexus/ |
| H A D | nexus_traffic_rule.c | 190 next = SLIST_NEXT(ntr, ntr_storage_link); in nxctl_traffic_rule_clean()
|
| /xnu-12377.1.9/security/ |
| H A D | mac_base.c | 546 *mllp = SLIST_NEXT(mll, mll_list); in mac_policy_removefrom_labellist() 549 *mlep = SLIST_NEXT(mle, mle_list); in mac_policy_removefrom_labellist()
|
| /xnu-12377.1.9/osfmk/ipc/ |
| H A D | ipc_pset.c | 603 *knprev = SLIST_NEXT(kn, kn_selnext); in filt_machport_unlink()
|
| /xnu-12377.1.9/osfmk/kern/ |
| H A D | turnstile.c | 670 *prev_tslink = SLIST_NEXT(ret_turnstile, ts_htable_link); in turnstable_htable_lookup_remove()
|