Home
last modified time | relevance | path

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

/xnu-11215.61.5/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-11215.61.5/osfmk/kern/
H A Dexclaves_conclave.c212 ARRAY_COUNT(scid_list.scid));
329 ARRAY_COUNT(scid_list.scid));
H A Dexclaves_memory.c369 assert3u(npages, <=, ARRAY_COUNT(pagelist.pages));
370 if (npages > ARRAY_COUNT(pagelist.pages)) {
H A Dtest_lock.c257 for (int step = 0; step < ARRAY_COUNT(progression); step++) { in smr_hash_basic_test()
H A Dexclaves.c1966 for (int i = 0; i < ARRAY_COUNT(clocks); i++) { in exclaves_clocks_need_update()
1989 for (int i = 0; i < ARRAY_COUNT(clocks); i++) { in exclaves_clocks_update()
H A Dtelemetry.c585 vm_size_t btcapacity = ARRAY_COUNT(frames_stack); in telemetry_macf_take_sample()
/xnu-11215.61.5/bsd/netkey/
H A Dkeydb.c116 for (size_t i = 0; i < ARRAY_COUNT(p->savtree); i++) { in keydb_newsecashead()
/xnu-11215.61.5/osfmk/mach/
H A Dvm_types.h259 #define ARRAY_COUNT(a) (sizeof((a)) / sizeof((a)[0])) macro
/xnu-11215.61.5/san/memory/
H A Dkasan-report.c147 uint32_t nframes = ARRAY_COUNT(frames); in kasan_log_report()
/xnu-11215.61.5/osfmk/vm/
H A Dvm_purgeable.c1051 ARRAY_COUNT(object->purgeable_volatilizer_bt)); in vm_purgeable_object_add()
1409 ARRAY_COUNT(object->purgeable_owner_bt)); in vm_purgeable_nonvolatile_enqueue()
H A Dvm_resident.c9412 if (idx >= ARRAY_COUNT(free_tag_bits)) { in vm_tag_alloc_locked()
9413 for (idx = 0; idx < ARRAY_COUNT(vm_allocation_sites); idx++) { in vm_tag_alloc_locked()
9437 if (idx >= ARRAY_COUNT(vm_allocation_sites)) { in vm_tag_alloc_locked()
9661 + ARRAY_COUNT(early_tags) * VM_TAG_SIZECLASSES * sizeof(vm_allocation_zone_total_t); in vm_allocation_zones_init()
9672 for (size_t i = 0; i < ARRAY_COUNT(early_tags); i++) { in vm_allocation_zones_init()
/xnu-11215.61.5/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.c401 for (size_t i = 0; i < ARRAY_COUNT(disable_lv_entitlements); i++) { in process_is_plugin_host()
424 for (size_t i = 0; i < ARRAY_COUNT(hardening_exceptions); i++) { in process_is_plugin_host()
/xnu-11215.61.5/osfmk/arm64/
H A Dmachine_routines.c2943 return ARRAY_COUNT(vm_reserved_regions);