Lines Matching refs:zone
99 int kalloc_fake_zone_index = -1; /* index of our fake zone in statistics arrays */
141 * next nearest sized zone. This allocator is built on top of
142 * the zone allocator. A zone is created for each potential size
148 * It represents the first power of two for which no zone exists.
150 * rounding, for which no zone exists.
241 #error missing zone size parameters for kalloc
258 * size normalized to the minimum alignment, finds the right zone index
285 * Max number of elements per zone. zinit rounds things up correctly
286 * Doing things this way permits each zone to have a different maximum size
347 * 1/8th the total zone map size, or 128 MB (for a 32-bit kernel).
383 * Allocate a zone for each size we are going to handle.
415 * find-a-zone for a given size.
416 * Useful when debugging/tweaking the array of zone sizes.
441 break; /* not zone-backed */
458 * Given an allocation size, return the kalloc zone it belongs to.
469 /* As above, but linear search k_zone_size[] for the next zone that fits. */
498 * If size is too large for a zone, then use kmem_alloc.
583 /* if size was too large for a zone, then use kmem_free */
626 /* free to the appropriate zone */