Home
last modified time | relevance | path

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

/xnu-11215.1.10/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.1.10/osfmk/kern/
H A Dexclaves_memory.c241 assert3u(npages, <=, ARRAY_COUNT(pagelist.pages));
242 if (npages > ARRAY_COUNT(pagelist.pages)) {
H A Dexclaves_conclave.c170 ARRAY_COUNT(scid_list.scid));
H A Dtest_lock.c257 for (int step = 0; step < ARRAY_COUNT(progression); step++) { in smr_hash_basic_test()
H A Dexclaves.c1518 for (unsigned i = 0; i < ARRAY_COUNT(clocks); ++i) { in exclaves_scheduler_request()
1535 for (unsigned i = 0; i < ARRAY_COUNT(save_out); ++i) { in exclaves_scheduler_request()
H A Dtelemetry.c659 vm_size_t btcapacity = ARRAY_COUNT(frames_stack); in telemetry_macf_take_sample()
/xnu-11215.1.10/bsd/netkey/
H A Dkeydb.c116 for (size_t i = 0; i < ARRAY_COUNT(p->savtree); i++) { in keydb_newsecashead()
/xnu-11215.1.10/osfmk/mach/
H A Dvm_types.h259 #define ARRAY_COUNT(a) (sizeof((a)) / sizeof((a)[0])) macro
/xnu-11215.1.10/san/memory/
H A Dkasan-report.c147 uint32_t nframes = ARRAY_COUNT(frames); in kasan_log_report()
/xnu-11215.1.10/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.c9373 if (idx >= ARRAY_COUNT(free_tag_bits)) { in vm_tag_alloc_locked()
9374 for (idx = 0; idx < ARRAY_COUNT(vm_allocation_sites); idx++) { in vm_tag_alloc_locked()
9398 if (idx >= ARRAY_COUNT(vm_allocation_sites)) { in vm_tag_alloc_locked()
9622 + ARRAY_COUNT(early_tags) * VM_TAG_SIZECLASSES * sizeof(vm_allocation_zone_total_t); in vm_allocation_zones_init()
9633 for (size_t i = 0; i < ARRAY_COUNT(early_tags); i++) { in vm_allocation_zones_init()
/xnu-11215.1.10/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.1.10/osfmk/arm64/
H A Dmachine_routines.c2943 return ARRAY_COUNT(vm_reserved_regions);