Lines Matching refs:s_block
683 struct pcpu_block_md *s_block, *e_block, *block; in pcpu_block_update_hint_alloc() local
698 s_block = chunk->md_blocks + s_index; in pcpu_block_update_hint_alloc()
707 if (s_off == s_block->first_free) in pcpu_block_update_hint_alloc()
708 s_block->first_free = find_next_zero_bit( in pcpu_block_update_hint_alloc()
713 if (s_off >= s_block->contig_hint_start && in pcpu_block_update_hint_alloc()
714 s_off < s_block->contig_hint_start + s_block->contig_hint) { in pcpu_block_update_hint_alloc()
719 s_block->left_free = min(s_block->left_free, s_off); in pcpu_block_update_hint_alloc()
721 s_block->right_free = min_t(int, s_block->right_free, in pcpu_block_update_hint_alloc()
724 s_block->right_free = 0; in pcpu_block_update_hint_alloc()
755 for (block = s_block + 1; block < e_block; block++) { in pcpu_block_update_hint_alloc()
792 struct pcpu_block_md *s_block, *e_block, *block; in pcpu_block_update_hint_free() local
808 s_block = chunk->md_blocks + s_index; in pcpu_block_update_hint_free()
822 if (s_off == s_block->contig_hint + s_block->contig_hint_start) { in pcpu_block_update_hint_free()
823 start = s_block->contig_hint_start; in pcpu_block_update_hint_free()
845 pcpu_block_update(s_block, start, e_off); in pcpu_block_update_hint_free()
853 for (block = s_block + 1; block < e_block; block++) { in pcpu_block_update_hint_free()
874 s_block->contig_hint); in pcpu_block_update_hint_free()