Lines Matching refs:e_index
818 int s_index, e_index; /* block indexes of the freed allocation */ in pcpu_block_update_hint_alloc() local
828 e_index = pcpu_off_to_block_index(bit_off + bits - 1); in pcpu_block_update_hint_alloc()
833 e_block = chunk->md_blocks + e_index; in pcpu_block_update_hint_alloc()
868 if (s_index == e_index) in pcpu_block_update_hint_alloc()
878 if (s_index != e_index) { in pcpu_block_update_hint_alloc()
887 pcpu_index_alloc_map(chunk, e_index), in pcpu_block_update_hint_alloc()
900 pcpu_block_refresh_hint(chunk, e_index); in pcpu_block_update_hint_alloc()
909 nr_empty_pages += (e_index - s_index - 1); in pcpu_block_update_hint_alloc()
964 int s_index, e_index; /* block indexes of the freed allocation */ in pcpu_block_update_hint_free() local
975 e_index = pcpu_off_to_block_index(bit_off + bits - 1); in pcpu_block_update_hint_free()
980 e_block = chunk->md_blocks + e_index; in pcpu_block_update_hint_free()
1011 end = find_next_bit(pcpu_index_alloc_map(chunk, e_index), in pcpu_block_update_hint_free()
1015 e_off = (s_index == e_index) ? end : PCPU_BITMAP_BLOCK_BITS; in pcpu_block_update_hint_free()
1021 if (s_index != e_index) { in pcpu_block_update_hint_free()
1028 nr_empty_pages += (e_index - s_index - 1); in pcpu_block_update_hint_free()
1048 if (((end - start) >= PCPU_BITMAP_BLOCK_BITS) || s_index != e_index) in pcpu_block_update_hint_free()