Lines Matching refs:e_block
818 struct pcpu_block_md *s_block, *e_block, *block; in pcpu_block_update_hint_alloc() local
834 e_block = chunk->md_blocks + e_index; in pcpu_block_update_hint_alloc()
880 if (e_block->contig_hint == PCPU_BITMAP_BLOCK_BITS) in pcpu_block_update_hint_alloc()
887 e_block->first_free = find_next_zero_bit( in pcpu_block_update_hint_alloc()
893 e_block++; in pcpu_block_update_hint_alloc()
895 if (e_off > e_block->scan_hint_start) in pcpu_block_update_hint_alloc()
896 e_block->scan_hint = 0; in pcpu_block_update_hint_alloc()
898 e_block->left_free = 0; in pcpu_block_update_hint_alloc()
899 if (e_off > e_block->contig_hint_start) { in pcpu_block_update_hint_alloc()
903 e_block->right_free = in pcpu_block_update_hint_alloc()
904 min_t(int, e_block->right_free, in pcpu_block_update_hint_alloc()
911 for (block = s_block + 1; block < e_block; block++) { in pcpu_block_update_hint_alloc()
964 struct pcpu_block_md *s_block, *e_block, *block; in pcpu_block_update_hint_free() local
981 e_block = chunk->md_blocks + e_index; in pcpu_block_update_hint_free()
1009 if (e_off == e_block->contig_hint_start) in pcpu_block_update_hint_free()
1010 end = e_block->contig_hint_start + e_block->contig_hint; in pcpu_block_update_hint_free()
1026 pcpu_block_update(e_block, 0, end); in pcpu_block_update_hint_free()
1030 for (block = s_block + 1; block < e_block; block++) { in pcpu_block_update_hint_free()