Lines Matching refs:bound_map
1241 set_bit(bit_off, chunk->bound_map); in pcpu_alloc_area()
1242 bitmap_clear(chunk->bound_map, bit_off + 1, alloc_bits - 1); in pcpu_alloc_area()
1243 set_bit(bit_off + alloc_bits, chunk->bound_map); in pcpu_alloc_area()
1285 end = find_next_bit(chunk->bound_map, pcpu_chunk_map_bits(chunk), in pcpu_free_area()
1386 BITS_TO_LONGS(region_bits + 1) * sizeof(chunk->bound_map[0]); in pcpu_alloc_first_chunk()
1387 chunk->bound_map = memblock_alloc(alloc_size, SMP_CACHE_BYTES); in pcpu_alloc_first_chunk()
1388 if (!chunk->bound_map) in pcpu_alloc_first_chunk()
1416 set_bit(0, chunk->bound_map); in pcpu_alloc_first_chunk()
1417 set_bit(offset_bits, chunk->bound_map); in pcpu_alloc_first_chunk()
1431 chunk->bound_map); in pcpu_alloc_first_chunk()
1432 set_bit(region_bits, chunk->bound_map); in pcpu_alloc_first_chunk()
1459 chunk->bound_map = pcpu_mem_zalloc(BITS_TO_LONGS(region_bits + 1) * in pcpu_alloc_chunk()
1460 sizeof(chunk->bound_map[0]), gfp); in pcpu_alloc_chunk()
1461 if (!chunk->bound_map) in pcpu_alloc_chunk()
1491 pcpu_mem_free(chunk->bound_map); in pcpu_alloc_chunk()
1508 pcpu_mem_free(chunk->bound_map); in pcpu_free_chunk()