Home
last modified time | relevance | path

Searched refs:ARRAY_COUNT (Results 1 – 12 of 12) sorted by relevance

/xnu-10063.101.15/tests/recount/
H A Drecount_test_utils.h11 #define ARRAY_COUNT(_a) (sizeof((_a)) / sizeof((_a[0]))) macro
H A Drecount_perf_tests.c140 for (unsigned int i = 0; i < ARRAY_COUNT(thread_counts); i++) { in interface_scaling_test()
/xnu-10063.101.15/bsd/netkey/
H A Dkeydb.c116 for (size_t i = 0; i < ARRAY_COUNT(p->savtree); i++) { in keydb_newsecashead()
/xnu-10063.101.15/osfmk/mach/
H A Dvm_types.h258 #define ARRAY_COUNT(a) (sizeof((a)) / sizeof((a)[0])) macro
/xnu-10063.101.15/osfmk/kern/
H A Dexclaves_upcalls.c412 assert3u(npages, <=, ARRAY_COUNT(pagelist.pages));
413 if (npages > ARRAY_COUNT(pagelist.pages)) {
H A Dexclaves_conclave.c168 ARRAY_COUNT(scid_list.scid));
H A Dtest_lock.c246 for (int step = 0; step < ARRAY_COUNT(progression); step++) { in smr_hash_basic_test()
/xnu-10063.101.15/osfmk/vm/
H A Dvm_purgeable.c1068 ARRAY_COUNT(object->purgeable_volatilizer_bt)); in vm_purgeable_object_add()
1428 ARRAY_COUNT(object->purgeable_owner_bt)); in vm_purgeable_nonvolatile_enqueue()
H A Dvm_resident.c9184 if (idx >= ARRAY_COUNT(free_tag_bits)) { in vm_tag_alloc_locked()
9185 for (idx = 0; idx < ARRAY_COUNT(vm_allocation_sites); idx++) { in vm_tag_alloc_locked()
9209 if (idx >= ARRAY_COUNT(vm_allocation_sites)) { in vm_tag_alloc_locked()
9433 + ARRAY_COUNT(early_tags) * VM_TAG_SIZECLASSES * sizeof(vm_allocation_zone_total_t); in vm_allocation_zones_init()
9444 for (size_t i = 0; i < ARRAY_COUNT(early_tags); i++) { in vm_allocation_zones_init()
/xnu-10063.101.15/bsd/kern/
H A Dbsd_init.c646 for (uint32_t i = 0; i < ARRAY_COUNT(limit0.pl_rlimit); i++) { in bsd_init()
H A Dmach_loader.c407 for (size_t i = 0; i < ARRAY_COUNT(disable_lv_entitlements); i++) { in process_is_plugin_host()
430 for (size_t i = 0; i < ARRAY_COUNT(hardening_exceptions); i++) { in process_is_plugin_host()
/xnu-10063.101.15/osfmk/arm64/
H A Dmachine_routines.c2837 return ARRAY_COUNT(vm_reserved_regions);