Lines Matching refs:e_off
720 int e_off = s_off + bits; in pcpu_block_update_scan() local
724 if (e_off > PCPU_BITMAP_BLOCK_BITS) in pcpu_block_update_scan()
734 pcpu_block_update(block, s_off, e_off); in pcpu_block_update_scan()
820 int s_off, e_off; /* block offsets of the freed allocation */ in pcpu_block_update_hint_alloc() local
831 e_off = pcpu_off_to_block_off(bit_off + bits - 1) + 1; in pcpu_block_update_hint_alloc()
871 PCPU_BITMAP_BLOCK_BITS - e_off); in pcpu_block_update_hint_alloc()
889 PCPU_BITMAP_BLOCK_BITS, e_off); in pcpu_block_update_hint_alloc()
891 if (e_off == PCPU_BITMAP_BLOCK_BITS) { in pcpu_block_update_hint_alloc()
895 if (e_off > e_block->scan_hint_start) in pcpu_block_update_hint_alloc()
899 if (e_off > e_block->contig_hint_start) { in pcpu_block_update_hint_alloc()
905 PCPU_BITMAP_BLOCK_BITS - e_off); in pcpu_block_update_hint_alloc()
966 int s_off, e_off; /* block offsets of the freed allocation */ in pcpu_block_update_hint_free() local
978 e_off = pcpu_off_to_block_off(bit_off + bits - 1) + 1; in pcpu_block_update_hint_free()
1008 end = e_off; in pcpu_block_update_hint_free()
1009 if (e_off == e_block->contig_hint_start) in pcpu_block_update_hint_free()
1016 e_off = (s_index == e_index) ? end : PCPU_BITMAP_BLOCK_BITS; in pcpu_block_update_hint_free()
1017 if (!start && e_off == PCPU_BITMAP_BLOCK_BITS) in pcpu_block_update_hint_free()
1019 pcpu_block_update(s_block, start, e_off); in pcpu_block_update_hint_free()