Searched refs:ARRAY_COUNT (Results 1 – 15 of 15) sorted by relevance
11 #define ARRAY_COUNT(_a) (sizeof((_a)) / sizeof((_a[0]))) macro
140 for (unsigned int i = 0; i < ARRAY_COUNT(thread_counts); i++) { in interface_scaling_test()
241 assert3u(npages, <=, ARRAY_COUNT(pagelist.pages));242 if (npages > ARRAY_COUNT(pagelist.pages)) {
170 ARRAY_COUNT(scid_list.scid));
257 for (int step = 0; step < ARRAY_COUNT(progression); step++) { in smr_hash_basic_test()
1518 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()
659 vm_size_t btcapacity = ARRAY_COUNT(frames_stack); in telemetry_macf_take_sample()
116 for (size_t i = 0; i < ARRAY_COUNT(p->savtree); i++) { in keydb_newsecashead()
259 #define ARRAY_COUNT(a) (sizeof((a)) / sizeof((a)[0])) macro
147 uint32_t nframes = ARRAY_COUNT(frames); in kasan_log_report()
1051 ARRAY_COUNT(object->purgeable_volatilizer_bt)); in vm_purgeable_object_add()1409 ARRAY_COUNT(object->purgeable_owner_bt)); in vm_purgeable_nonvolatile_enqueue()
9373 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()
646 for (uint32_t i = 0; i < ARRAY_COUNT(limit0.pl_rlimit); i++) { in bsd_init()
401 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()
2943 return ARRAY_COUNT(vm_reserved_regions);