Lines Matching refs:e_index
819 int s_index, e_index; /* block indexes of the freed allocation */ in pcpu_block_update_hint_alloc() local
829 e_index = pcpu_off_to_block_index(bit_off + bits - 1); in pcpu_block_update_hint_alloc()
834 e_block = chunk->md_blocks + e_index; in pcpu_block_update_hint_alloc()
869 if (s_index == e_index) in pcpu_block_update_hint_alloc()
879 if (s_index != e_index) { in pcpu_block_update_hint_alloc()
888 pcpu_index_alloc_map(chunk, e_index), in pcpu_block_update_hint_alloc()
901 pcpu_block_refresh_hint(chunk, e_index); in pcpu_block_update_hint_alloc()
910 nr_empty_pages += (e_index - s_index - 1); in pcpu_block_update_hint_alloc()
965 int s_index, e_index; /* block indexes of the freed allocation */ in pcpu_block_update_hint_free() local
976 e_index = pcpu_off_to_block_index(bit_off + bits - 1); in pcpu_block_update_hint_free()
981 e_block = chunk->md_blocks + e_index; in pcpu_block_update_hint_free()
1012 end = find_next_bit(pcpu_index_alloc_map(chunk, e_index), in pcpu_block_update_hint_free()
1016 e_off = (s_index == e_index) ? end : PCPU_BITMAP_BLOCK_BITS; in pcpu_block_update_hint_free()
1022 if (s_index != e_index) { in pcpu_block_update_hint_free()
1029 nr_empty_pages += (e_index - s_index - 1); in pcpu_block_update_hint_free()
1049 if (((end - start) >= PCPU_BITMAP_BLOCK_BITS) || s_index != e_index) in pcpu_block_update_hint_free()