Lines Matching refs:k_zone_size
246 static const int k_zone_size[] = {
253 #define N_K_ZONE (sizeof (k_zone_size) / sizeof (k_zone_size[0]))
388 for (i = 0; (size = k_zone_size[i]) < kalloc_max; i++) {
400 while ((vm_size_t)k_zone_size[zindex] < size)
420 vm_size_t testsize = (vm_size_t)k_zone_size[i] - 1;
435 while ((vm_size_t)k_zone_size[zindex] < testsize) {
469 /* As above, but linear search k_zone_size[] for the next zone that fits. */
476 while ((vm_size_t)k_zone_size[zindex] < size)
480 (vm_size_t)k_zone_size[zindex] < kalloc_max);