Lines Matching refs:e_index
814 int s_index, e_index; /* block indexes of the freed allocation */ in pcpu_block_update_hint_alloc() local
824 e_index = pcpu_off_to_block_index(bit_off + bits - 1); in pcpu_block_update_hint_alloc()
829 e_block = chunk->md_blocks + e_index; in pcpu_block_update_hint_alloc()
866 if (s_index == e_index) in pcpu_block_update_hint_alloc()
876 if (s_index != e_index) { in pcpu_block_update_hint_alloc()
885 pcpu_index_alloc_map(chunk, e_index), in pcpu_block_update_hint_alloc()
898 pcpu_block_refresh_hint(chunk, e_index); in pcpu_block_update_hint_alloc()
907 nr_empty_pages += (e_index - s_index - 1); in pcpu_block_update_hint_alloc()
968 int s_index, e_index; /* block indexes of the freed allocation */ in pcpu_block_update_hint_free() local
979 e_index = pcpu_off_to_block_index(bit_off + bits - 1); in pcpu_block_update_hint_free()
984 e_block = chunk->md_blocks + e_index; in pcpu_block_update_hint_free()
1015 end = find_next_bit(pcpu_index_alloc_map(chunk, e_index), in pcpu_block_update_hint_free()
1019 e_off = (s_index == e_index) ? end : PCPU_BITMAP_BLOCK_BITS; in pcpu_block_update_hint_free()
1025 if (s_index != e_index) { in pcpu_block_update_hint_free()
1032 nr_empty_pages += (e_index - s_index - 1); in pcpu_block_update_hint_free()
1052 if (((end - start) >= PCPU_BITMAP_BLOCK_BITS) || s_index != e_index) in pcpu_block_update_hint_free()