Lines Matching refs:s_block
770 struct pcpu_block_md *s_block, *e_block, *block;
785 s_block = chunk->md_blocks + s_index;
789 * Update s_block.
794 if (s_block->contig_hint == PCPU_BITMAP_BLOCK_BITS)
797 if (s_off == s_block->first_free)
798 s_block->first_free = find_next_zero_bit(
803 if (pcpu_region_overlap(s_block->scan_hint_start,
804 s_block->scan_hint_start + s_block->scan_hint,
807 s_block->scan_hint = 0;
809 if (pcpu_region_overlap(s_block->contig_hint_start,
810 s_block->contig_hint_start +
811 s_block->contig_hint,
816 s_block->left_free = 0;
820 s_block->left_free = min(s_block->left_free, s_off);
822 s_block->right_free = min_t(int, s_block->right_free,
825 s_block->right_free = 0;
863 for (block = s_block + 1; block < e_block; block++) {
916 struct pcpu_block_md *s_block, *e_block, *block;
932 s_block = chunk->md_blocks + s_index;
946 if (s_off == s_block->contig_hint + s_block->contig_hint_start) {
947 start = s_block->contig_hint_start;
967 /* update s_block */
971 pcpu_block_update(s_block, start, e_off);
982 for (block = s_block + 1; block < e_block; block++) {