Lines Matching refs:s_off
715 int s_off = pcpu_off_to_block_off(bit_off); in pcpu_block_update_scan() local
716 int e_off = s_off + bits; in pcpu_block_update_scan()
727 l_bit = find_last_bit(pcpu_index_alloc_map(chunk, s_index), s_off); in pcpu_block_update_scan()
728 s_off = (s_off == l_bit) ? 0 : l_bit + 1; in pcpu_block_update_scan()
730 pcpu_block_update(block, s_off, e_off); in pcpu_block_update_scan()
815 int s_off, e_off; /* block offsets of the freed allocation */ in pcpu_block_update_hint_alloc() local
825 s_off = pcpu_off_to_block_off(bit_off); in pcpu_block_update_hint_alloc()
842 if (s_off == s_block->first_free) in pcpu_block_update_hint_alloc()
846 s_off + bits); in pcpu_block_update_hint_alloc()
850 s_off, in pcpu_block_update_hint_alloc()
851 s_off + bits)) in pcpu_block_update_hint_alloc()
857 s_off, in pcpu_block_update_hint_alloc()
858 s_off + bits)) { in pcpu_block_update_hint_alloc()
860 if (!s_off) in pcpu_block_update_hint_alloc()
865 s_block->left_free = min(s_block->left_free, s_off); in pcpu_block_update_hint_alloc()
969 int s_off, e_off; /* block offsets of the freed allocation */ in pcpu_block_update_hint_free() local
980 s_off = pcpu_off_to_block_off(bit_off); in pcpu_block_update_hint_free()
996 start = s_off; in pcpu_block_update_hint_free()
997 if (s_off == s_block->contig_hint + s_block->contig_hint_start) { in pcpu_block_update_hint_free()