Home
last modified time | relevance | path

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

/xnu-12377.81.4/osfmk/kern/
H A Dexclaves_memory.c411 assert3u(npages, <=, ARRAY_COUNT(pagelist.pages));
412 if (npages > ARRAY_COUNT(pagelist.pages)) {
430 assert3u(npages, <=, ARRAY_COUNT(pagelist.pages));
431 if (npages > ARRAY_COUNT(pagelist.pages)) {
H A Dexclaves_conclave.c212 ARRAY_COUNT(scid_list.scid));
329 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.c2144 for (int i = 0; i < ARRAY_COUNT(clocks); i++) { in exclaves_clocks_need_update()
2167 for (int i = 0; i < ARRAY_COUNT(clocks); i++) { in exclaves_clocks_update()
H A Dtelemetry.c904 vm_size_t btcapacity = ARRAY_COUNT(frames_stack); in telemetry_macf_take_sample()
/xnu-12377.81.4/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-12377.81.4/bsd/netkey/
H A Dkeydb.c116 for (size_t i = 0; i < ARRAY_COUNT(p->savtree); i++) { in keydb_newsecashead()
/xnu-12377.81.4/osfmk/mach/
H A Dvm_types.h280 #define ARRAY_COUNT(a) (sizeof((a)) / sizeof((a)[0])) macro
/xnu-12377.81.4/san/memory/
H A Dkasan-report.c147 uint32_t nframes = ARRAY_COUNT(frames); in kasan_log_report()
/xnu-12377.81.4/osfmk/arm64/
H A Dstatus.c369 for (int i = 0; i < ARRAY_COUNT(state_out->z); i++) { in handle_get_arm_sve_z_state()
401 for (int i = 0; i < ARRAY_COUNT(state_out->p); i++) { in handle_get_arm_sve_p_state()
506 for (int i = 0; i < ARRAY_COUNT(state_in->z); i++) { in handle_set_arm_sve_z_state()
533 for (int i = 0; i < ARRAY_COUNT(state_in->p); i++) { in handle_set_arm_sve_p_state()
1474 for (int i = 0; i < ARRAY_COUNT(state->q); i++) {
1993 for (int i = 0; i < ARRAY_COUNT(state->q); i++) {
H A Dmachine_routines.c3015 return ARRAY_COUNT(vm_reserved_regions); in ml_get_vm_reserved_regions()
/xnu-12377.81.4/osfmk/vm/
H A Dvm_purgeable.c1058 ARRAY_COUNT(object->purgeable_volatilizer_bt)); in vm_purgeable_object_add()
1416 ARRAY_COUNT(object->purgeable_owner_bt)); in vm_purgeable_nonvolatile_enqueue()
H A Dvm_resident.c11057 if (idx >= ARRAY_COUNT(free_tag_bits)) { in vm_tag_alloc_locked()
11058 for (idx = 0; idx < ARRAY_COUNT(vm_allocation_sites); idx++) { in vm_tag_alloc_locked()
11082 if (idx >= ARRAY_COUNT(vm_allocation_sites)) { in vm_tag_alloc_locked()
11375 + ARRAY_COUNT(early_tags) * VM_TAG_SIZECLASSES * sizeof(vm_allocation_zone_total_t); in vm_allocation_zones_init()
11386 for (size_t i = 0; i < ARRAY_COUNT(early_tags); i++) { in vm_allocation_zones_init()
/xnu-12377.81.4/bsd/kern/
H A Dbsd_init.c649 for (uint32_t i = 0; i < ARRAY_COUNT(limit0.pl_rlimit); i++) { in bsd_init()
H A Dmach_loader.c608 for (size_t i = 0; i < ARRAY_COUNT(disable_lv_entitlements); i++) { in process_is_plugin_host()
632 for (size_t i = 0; i < ARRAY_COUNT(hardening_exceptions); i++) { in process_is_plugin_host()