Lines Matching refs:bound_map
1196 set_bit(bit_off, chunk->bound_map); in pcpu_alloc_area()
1197 bitmap_clear(chunk->bound_map, bit_off + 1, alloc_bits - 1); in pcpu_alloc_area()
1198 set_bit(bit_off + alloc_bits, chunk->bound_map); in pcpu_alloc_area()
1240 end = find_next_bit(chunk->bound_map, pcpu_chunk_map_bits(chunk), in pcpu_free_area()
1341 BITS_TO_LONGS(region_bits + 1) * sizeof(chunk->bound_map[0]); in pcpu_alloc_first_chunk()
1342 chunk->bound_map = memblock_alloc(alloc_size, SMP_CACHE_BYTES); in pcpu_alloc_first_chunk()
1343 if (!chunk->bound_map) in pcpu_alloc_first_chunk()
1371 set_bit(0, chunk->bound_map); in pcpu_alloc_first_chunk()
1372 set_bit(offset_bits, chunk->bound_map); in pcpu_alloc_first_chunk()
1386 chunk->bound_map); in pcpu_alloc_first_chunk()
1387 set_bit(region_bits, chunk->bound_map); in pcpu_alloc_first_chunk()
1414 chunk->bound_map = pcpu_mem_zalloc(BITS_TO_LONGS(region_bits + 1) * in pcpu_alloc_chunk()
1415 sizeof(chunk->bound_map[0]), gfp); in pcpu_alloc_chunk()
1416 if (!chunk->bound_map) in pcpu_alloc_chunk()
1446 pcpu_mem_free(chunk->bound_map); in pcpu_alloc_chunk()
1463 pcpu_mem_free(chunk->bound_map); in pcpu_free_chunk()