Searched refs:ARRAY_SIZE (Results 1 – 7 of 7) sorted by relevance
142 #ifndef ARRAY_SIZE143 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) macro174 for (unsigned q = 0; q < ARRAY_SIZE(c_queues); q++) { in report_compressor_age()177 for (unsigned b = 0; b < ARRAY_SIZE(c_buckets); b++) { in report_compressor_age()
9538 #ifndef ARRAY_SIZE9539 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) macro9581 for (vm_tag_t i = VM_KERN_MEMORY_OSFMK; i < ARRAY_SIZE(vm_kern_memory_strs); i++) { in vm_tag_str_to_idx()
108 #ifndef ARRAY_SIZE109 #define ARRAY_SIZE(A) (sizeof(A) / sizeof(A[0])) macro124 if (is_error_in_range(nfserrs_common, ARRAY_SIZE(nfserrs_common), error)) { in nfsstat_update_nfserror()125 for (uint32_t i = 0; i < ARRAY_SIZE(nfserrs_common); i++) { in nfsstat_update_nfserror()
498 for (regionIndex = 0; regionIndex < ARRAY_SIZE(variableRegions); regionIndex++) { in unserializeVariables()627 for (regionIndex = 0; regionIndex < ARRAY_SIZE(variableRegions); regionIndex++) { in serializeVariables()
682 for (uint32_t entry = 0; entry < ARRAY_SIZE(ephDMEntries); entry++) { in handleEphDM()692 for (uint32_t entry = 0; entry < ARRAY_SIZE(ephDMEntries); entry++) { in handleEphDM()
52 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
2161 #ifndef ARRAY_SIZE2162 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) macro2168 for (int f = 0; f < ARRAY_SIZE(flavors); f++) {