Lines Matching refs:e_block
770 struct pcpu_block_md *s_block, *e_block, *block; in pcpu_block_update_hint_alloc() local
786 e_block = chunk->md_blocks + e_index; in pcpu_block_update_hint_alloc()
832 if (e_block->contig_hint == PCPU_BITMAP_BLOCK_BITS) in pcpu_block_update_hint_alloc()
839 e_block->first_free = find_next_zero_bit( in pcpu_block_update_hint_alloc()
845 e_block++; in pcpu_block_update_hint_alloc()
847 if (e_off > e_block->scan_hint_start) in pcpu_block_update_hint_alloc()
848 e_block->scan_hint = 0; in pcpu_block_update_hint_alloc()
850 e_block->left_free = 0; in pcpu_block_update_hint_alloc()
851 if (e_off > e_block->contig_hint_start) { in pcpu_block_update_hint_alloc()
855 e_block->right_free = in pcpu_block_update_hint_alloc()
856 min_t(int, e_block->right_free, in pcpu_block_update_hint_alloc()
863 for (block = s_block + 1; block < e_block; block++) { in pcpu_block_update_hint_alloc()
916 struct pcpu_block_md *s_block, *e_block, *block; in pcpu_block_update_hint_free() local
933 e_block = chunk->md_blocks + e_index; in pcpu_block_update_hint_free()
961 if (e_off == e_block->contig_hint_start) in pcpu_block_update_hint_free()
962 end = e_block->contig_hint_start + e_block->contig_hint; in pcpu_block_update_hint_free()
978 pcpu_block_update(e_block, 0, end); in pcpu_block_update_hint_free()
982 for (block = s_block + 1; block < e_block; block++) { in pcpu_block_update_hint_free()