Searched refs:alloc_map (Results 1 – 3 of 3) sorted by relevance
/mm/ |
D | percpu-stats.c | 69 last_alloc = find_last_bit(chunk->alloc_map, in chunk_map_stats() 72 last_alloc = test_bit(last_alloc, chunk->alloc_map) ? in chunk_map_stats() 88 if (test_bit(start, chunk->alloc_map)) { in chunk_map_stats() 93 end = find_next_bit(chunk->alloc_map, last_alloc, in chunk_map_stats()
|
D | percpu.c | 306 return chunk->alloc_map + in pcpu_index_alloc_map() 751 unsigned long *alloc_map = pcpu_index_alloc_map(chunk, index); in pcpu_block_refresh_hint() local 768 pcpu_for_each_unpop_region(alloc_map, rs, re, start, in pcpu_block_refresh_hint() 1203 bit_off = pcpu_find_zero_area(chunk->alloc_map, end, start, alloc_bits, in pcpu_alloc_area() 1212 bitmap_set(chunk->alloc_map, bit_off, alloc_bits); in pcpu_alloc_area() 1224 chunk->alloc_map, in pcpu_alloc_area() 1259 bitmap_clear(chunk->alloc_map, bit_off, bits); in pcpu_free_area() 1346 alloc_size = BITS_TO_LONGS(region_bits) * sizeof(chunk->alloc_map[0]); in pcpu_alloc_first_chunk() 1347 chunk->alloc_map = memblock_alloc(alloc_size, SMP_CACHE_BYTES); in pcpu_alloc_first_chunk() 1348 if (!chunk->alloc_map) in pcpu_alloc_first_chunk() [all …]
|
D | percpu-internal.h | 45 unsigned long *alloc_map; /* allocation map */ member
|