Searched refs:ARRAY_COUNT (Results 1 – 12 of 12) 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()
116 for (size_t i = 0; i < ARRAY_COUNT(p->savtree); i++) { in keydb_newsecashead()
258 #define ARRAY_COUNT(a) (sizeof((a)) / sizeof((a)[0])) macro
412 assert3u(npages, <=, ARRAY_COUNT(pagelist.pages));413 if (npages > ARRAY_COUNT(pagelist.pages)) {
168 ARRAY_COUNT(scid_list.scid));
246 for (int step = 0; step < ARRAY_COUNT(progression); step++) { in smr_hash_basic_test()
1068 ARRAY_COUNT(object->purgeable_volatilizer_bt)); in vm_purgeable_object_add()1428 ARRAY_COUNT(object->purgeable_owner_bt)); in vm_purgeable_nonvolatile_enqueue()
9184 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()
646 for (uint32_t i = 0; i < ARRAY_COUNT(limit0.pl_rlimit); i++) { in bsd_init()
407 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()
2837 return ARRAY_COUNT(vm_reserved_regions);