Lines Matching defs:alloc_map
286 return chunk->alloc_map +
733 unsigned long *alloc_map = pcpu_index_alloc_map(chunk, index);
750 bitmap_for_each_clear_region(alloc_map, rs, re, start,
1184 bit_off = pcpu_find_zero_area(chunk->alloc_map, end, start, alloc_bits,
1193 bitmap_set(chunk->alloc_map, bit_off, alloc_bits);
1205 chunk->alloc_map,
1243 bitmap_clear(chunk->alloc_map, bit_off, bits);
1334 alloc_size = BITS_TO_LONGS(region_bits) * sizeof(chunk->alloc_map[0]);
1335 chunk->alloc_map = memblock_alloc(alloc_size, SMP_CACHE_BYTES);
1336 if (!chunk->alloc_map)
1370 bitmap_set(chunk->alloc_map, 0, offset_bits);
1382 bitmap_set(chunk->alloc_map,
1409 chunk->alloc_map = pcpu_mem_zalloc(BITS_TO_LONGS(region_bits) *
1410 sizeof(chunk->alloc_map[0]), gfp);
1411 if (!chunk->alloc_map)
1448 pcpu_mem_free(chunk->alloc_map);
1464 pcpu_mem_free(chunk->alloc_map);