Lines Matching refs:areas
2842 void **areas = NULL; in pcpu_embed_first_chunk() local
2856 areas = memblock_alloc(areas_size, SMP_CACHE_BYTES); in pcpu_embed_first_chunk()
2857 if (!areas) { in pcpu_embed_first_chunk()
2881 areas[group] = ptr; in pcpu_embed_first_chunk()
2884 if (ptr > areas[highest_group]) in pcpu_embed_first_chunk()
2887 max_distance = areas[highest_group] - base; in pcpu_embed_first_chunk()
2908 void *ptr = areas[group]; in pcpu_embed_first_chunk()
2924 ai->groups[group].base_offset = areas[group] - base; in pcpu_embed_first_chunk()
2936 if (areas[group]) in pcpu_embed_first_chunk()
2937 free_fn(areas[group], in pcpu_embed_first_chunk()
2941 if (areas) in pcpu_embed_first_chunk()
2942 memblock_free_early(__pa(areas), areas_size); in pcpu_embed_first_chunk()