Lines Matching refs:rs
782 unsigned int rs, re, start; /* region start, region end */ in pcpu_block_refresh_hint() local
798 bitmap_for_each_clear_region(alloc_map, rs, re, start, in pcpu_block_refresh_hint()
800 pcpu_block_update(block, rs, re); in pcpu_block_refresh_hint()
1073 unsigned int page_start, page_end, rs, re; in pcpu_is_populated() local
1078 rs = page_start; in pcpu_is_populated()
1079 bitmap_next_clear_region(chunk->populated, &rs, &re, page_end); in pcpu_is_populated()
1080 if (rs >= page_end) in pcpu_is_populated()
1854 unsigned int page_start, page_end, rs, re; in pcpu_alloc() local
1859 bitmap_for_each_clear_region(chunk->populated, rs, re, in pcpu_alloc()
1863 ret = pcpu_populate_chunk(chunk, rs, re, pcpu_gfp); in pcpu_alloc()
1871 pcpu_chunk_populated(chunk, rs, re); in pcpu_alloc()
2014 unsigned int rs, re; in pcpu_balance_free() local
2016 bitmap_for_each_set_region(chunk->populated, rs, re, 0, in pcpu_balance_free()
2018 pcpu_depopulate_chunk(chunk, rs, re); in pcpu_balance_free()
2020 pcpu_chunk_depopulated(chunk, rs, re); in pcpu_balance_free()
2072 unsigned int nr_unpop = 0, rs, re; in pcpu_balance_populated() local
2087 bitmap_for_each_clear_region(chunk->populated, rs, re, 0, in pcpu_balance_populated()
2089 int nr = min_t(int, re - rs, nr_to_pop); in pcpu_balance_populated()
2092 ret = pcpu_populate_chunk(chunk, rs, rs + nr, gfp); in pcpu_balance_populated()
2097 pcpu_chunk_populated(chunk, rs, rs + nr); in pcpu_balance_populated()