Lines Matching defs:s_block
813 struct pcpu_block_md *s_block, *e_block, *block;
828 s_block = chunk->md_blocks + s_index;
832 * Update s_block.
834 if (s_block->contig_hint == PCPU_BITMAP_BLOCK_BITS)
842 if (s_off == s_block->first_free)
843 s_block->first_free = find_next_zero_bit(
848 if (pcpu_region_overlap(s_block->scan_hint_start,
849 s_block->scan_hint_start + s_block->scan_hint,
852 s_block->scan_hint = 0;
854 if (pcpu_region_overlap(s_block->contig_hint_start,
855 s_block->contig_hint_start +
856 s_block->contig_hint,
861 s_block->left_free = 0;
865 s_block->left_free = min(s_block->left_free, s_off);
867 s_block->right_free = min_t(int, s_block->right_free,
870 s_block->right_free = 0;
908 for (block = s_block + 1; block < e_block; block++) {
967 struct pcpu_block_md *s_block, *e_block, *block;
983 s_block = chunk->md_blocks + s_index;
997 if (s_off == s_block->contig_hint + s_block->contig_hint_start) {
998 start = s_block->contig_hint_start;
1018 /* update s_block */
1022 pcpu_block_update(s_block, start, e_off);
1033 for (block = s_block + 1; block < e_block; block++) {