Lines Matching refs:e_off
689 int e_off = s_off + bits; in pcpu_block_update_scan() local
693 if (e_off > PCPU_BITMAP_BLOCK_BITS) in pcpu_block_update_scan()
703 pcpu_block_update(block, s_off, e_off); in pcpu_block_update_scan()
791 int s_off, e_off; /* block offsets of the freed allocation */ in pcpu_block_update_hint_alloc() local
802 e_off = pcpu_off_to_block_off(bit_off + bits - 1) + 1; in pcpu_block_update_hint_alloc()
842 PCPU_BITMAP_BLOCK_BITS - e_off); in pcpu_block_update_hint_alloc()
860 PCPU_BITMAP_BLOCK_BITS, e_off); in pcpu_block_update_hint_alloc()
862 if (e_off == PCPU_BITMAP_BLOCK_BITS) { in pcpu_block_update_hint_alloc()
866 if (e_off > e_block->scan_hint_start) in pcpu_block_update_hint_alloc()
870 if (e_off > e_block->contig_hint_start) { in pcpu_block_update_hint_alloc()
876 PCPU_BITMAP_BLOCK_BITS - e_off); in pcpu_block_update_hint_alloc()
937 int s_off, e_off; /* block offsets of the freed allocation */ in pcpu_block_update_hint_free() local
949 e_off = pcpu_off_to_block_off(bit_off + bits - 1) + 1; in pcpu_block_update_hint_free()
979 end = e_off; in pcpu_block_update_hint_free()
980 if (e_off == e_block->contig_hint_start) in pcpu_block_update_hint_free()
987 e_off = (s_index == e_index) ? end : PCPU_BITMAP_BLOCK_BITS; in pcpu_block_update_hint_free()
988 if (!start && e_off == PCPU_BITMAP_BLOCK_BITS) in pcpu_block_update_hint_free()
990 pcpu_block_update(s_block, start, e_off); in pcpu_block_update_hint_free()