Home
last modified time | relevance | path

Searched refs:old_counts (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/md/
Dmd-bitmap.c2068 struct bitmap_counts old_counts; in md_bitmap_resize() local
2148 old_counts = bitmap->counts; in md_bitmap_resize()
2157 blocks = min(old_counts.chunks << old_counts.chunkshift, in md_bitmap_resize()
2175 bitmap->counts.bp = old_counts.bp; in md_bitmap_resize()
2176 bitmap->counts.pages = old_counts.pages; in md_bitmap_resize()
2177 bitmap->counts.missing_pages = old_counts.pages; in md_bitmap_resize()
2178 bitmap->counts.chunkshift = old_counts.chunkshift; in md_bitmap_resize()
2179 bitmap->counts.chunks = old_counts.chunks; in md_bitmap_resize()
2181 1UL << (old_counts.chunkshift + BITMAP_BLOCK_SHIFT); in md_bitmap_resize()
2182 blocks = old_counts.chunks << old_counts.chunkshift; in md_bitmap_resize()
[all …]