Lines Matching refs:s_index
721 int s_index, l_bit; in pcpu_block_update_scan() local
727 s_index = pcpu_off_to_block_index(bit_off); in pcpu_block_update_scan()
728 block = chunk->md_blocks + s_index; in pcpu_block_update_scan()
731 l_bit = find_last_bit(pcpu_index_alloc_map(chunk, s_index), s_off); in pcpu_block_update_scan()
818 int s_index, e_index; /* block indexes of the freed allocation */ in pcpu_block_update_hint_alloc() local
827 s_index = pcpu_off_to_block_index(bit_off); in pcpu_block_update_hint_alloc()
832 s_block = chunk->md_blocks + s_index; in pcpu_block_update_hint_alloc()
846 pcpu_index_alloc_map(chunk, s_index), in pcpu_block_update_hint_alloc()
864 pcpu_block_refresh_hint(chunk, s_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()
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
974 s_index = pcpu_off_to_block_index(bit_off); in pcpu_block_update_hint_free()
979 s_block = chunk->md_blocks + s_index; in pcpu_block_update_hint_free()
1002 int l_bit = find_last_bit(pcpu_index_alloc_map(chunk, s_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()
1052 pcpu_block_off_to_off(s_index, start), in pcpu_block_update_hint_free()