Lines Matching refs:s_off
671 int s_off = pcpu_off_to_block_off(bit_off); in pcpu_block_update_scan() local
672 int e_off = s_off + bits; in pcpu_block_update_scan()
683 l_bit = find_last_bit(pcpu_index_alloc_map(chunk, s_index), s_off); in pcpu_block_update_scan()
684 s_off = (s_off == l_bit) ? 0 : l_bit + 1; 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
782 s_off = pcpu_off_to_block_off(bit_off); in pcpu_block_update_hint_alloc()
797 if (s_off == s_block->first_free) in pcpu_block_update_hint_alloc()
801 s_off + bits); in pcpu_block_update_hint_alloc()
805 s_off, in pcpu_block_update_hint_alloc()
806 s_off + bits)) in pcpu_block_update_hint_alloc()
812 s_off, in pcpu_block_update_hint_alloc()
813 s_off + bits)) { in pcpu_block_update_hint_alloc()
815 if (!s_off) in pcpu_block_update_hint_alloc()
820 s_block->left_free = min(s_block->left_free, s_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
929 s_off = pcpu_off_to_block_off(bit_off); in pcpu_block_update_hint_free()
945 start = s_off; in pcpu_block_update_hint_free()
946 if (s_off == s_block->contig_hint + s_block->contig_hint_start) { in pcpu_block_update_hint_free()