Lines Matching refs:e_off
672 int e_off = s_off + bits; in pcpu_block_update_scan() local
676 if (e_off > PCPU_BITMAP_BLOCK_BITS) in pcpu_block_update_scan()
686 pcpu_block_update(block, s_off, e_off); in pcpu_block_update_scan()
772 int s_off, e_off; /* block offsets of the freed allocation */ in pcpu_block_update_hint_alloc() local
783 e_off = pcpu_off_to_block_off(bit_off + bits - 1) + 1; in pcpu_block_update_hint_alloc()
823 PCPU_BITMAP_BLOCK_BITS - e_off); in pcpu_block_update_hint_alloc()
841 PCPU_BITMAP_BLOCK_BITS, e_off); in pcpu_block_update_hint_alloc()
843 if (e_off == PCPU_BITMAP_BLOCK_BITS) { in pcpu_block_update_hint_alloc()
847 if (e_off > e_block->scan_hint_start) in pcpu_block_update_hint_alloc()
851 if (e_off > e_block->contig_hint_start) { in pcpu_block_update_hint_alloc()
857 PCPU_BITMAP_BLOCK_BITS - e_off); in pcpu_block_update_hint_alloc()
918 int s_off, e_off; /* block offsets of the freed allocation */ in pcpu_block_update_hint_free() local
930 e_off = pcpu_off_to_block_off(bit_off + bits - 1) + 1; in pcpu_block_update_hint_free()
960 end = e_off; in pcpu_block_update_hint_free()
961 if (e_off == e_block->contig_hint_start) in pcpu_block_update_hint_free()
968 e_off = (s_index == e_index) ? end : PCPU_BITMAP_BLOCK_BITS; in pcpu_block_update_hint_free()
969 if (!start && e_off == PCPU_BITMAP_BLOCK_BITS) in pcpu_block_update_hint_free()
971 pcpu_block_update(s_block, start, e_off); in pcpu_block_update_hint_free()