Lines Matching defs:alloc_map
288 return chunk->alloc_map +
777 unsigned long *alloc_map = pcpu_index_alloc_map(chunk, index);
794 for_each_clear_bitrange_from(start, end, alloc_map, PCPU_BITMAP_BLOCK_BITS)
1233 bit_off = pcpu_find_zero_area(chunk->alloc_map, end, start, alloc_bits,
1242 bitmap_set(chunk->alloc_map, bit_off, alloc_bits);
1254 chunk->alloc_map,
1292 bitmap_clear(chunk->alloc_map, bit_off, bits);
1376 alloc_size = BITS_TO_LONGS(region_bits) * sizeof(chunk->alloc_map[0]);
1377 chunk->alloc_map = memblock_alloc(alloc_size, SMP_CACHE_BYTES);
1378 if (!chunk->alloc_map)
1412 bitmap_set(chunk->alloc_map, 0, offset_bits);
1424 bitmap_set(chunk->alloc_map,
1451 chunk->alloc_map = pcpu_mem_zalloc(BITS_TO_LONGS(region_bits) *
1452 sizeof(chunk->alloc_map[0]), gfp);
1453 if (!chunk->alloc_map)
1490 pcpu_mem_free(chunk->alloc_map);
1506 pcpu_mem_free(chunk->alloc_map);