Lines Matching defs:areas
11 * The percpu allocator handles both static and dynamic areas. Percpu
12 * areas are allocated in chunks which are divided into units. There is
407 * pcpu_next_fit_region - finds fit areas for a given allocation request
472 * Metadata free area iterators. These perform aggregation of free areas
793 /* iterate over free areas and update the contig hints */
1104 * skip over blocks and chunks that have valid free areas.
1159 * free areas, smaller allocations will eventually fill those holes.
1873 /* clear the areas and return address relative to base address */
1991 * areas can be scarce. Destroy all free chunks except for one.
2337 * static percpu areas are not considered. For those, use
2545 * static areas on architectures where the addressing model has
2558 * for vm areas.
2565 * percpu areas. Units which should be colocated are put into the
2566 * same group. Dynamic VM areas will be allocated according to these
3054 void **areas = NULL;
3068 areas = memblock_alloc(areas_size, SMP_CACHE_BYTES);
3069 if (!areas) {
3093 areas[group] = ptr;
3096 if (ptr > areas[highest_group])
3099 max_distance = areas[highest_group] - base;
3120 void *ptr = areas[group];
3136 ai->groups[group].base_offset = areas[group] - base;
3148 if (areas[group])
3149 pcpu_fc_free(areas[group],
3153 if (areas)
3154 memblock_free(areas, areas_size);
3363 panic("Failed to initialize percpu areas.");
3391 panic("Failed to allocate memory for percpu areas.");