Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Dmd-bitmap.c2141 struct bitmap_counts old_counts; in md_bitmap_resize() local
2221 old_counts = bitmap->counts; in md_bitmap_resize()
2230 blocks = min(old_counts.chunks << old_counts.chunkshift, in md_bitmap_resize()
2248 bitmap->counts.bp = old_counts.bp; in md_bitmap_resize()
2249 bitmap->counts.pages = old_counts.pages; in md_bitmap_resize()
2255 blocks = old_counts.chunks << old_counts.chunkshift; in md_bitmap_resize()
2295 if (bitmap->counts.bp != old_counts.bp) { in md_bitmap_resize()
2297 for (k = 0; k < old_counts.pages; k++) in md_bitmap_resize()
2298 if (!old_counts.bp[k].hijacked) in md_bitmap_resize()
2299 kfree(old_counts.bp[k].map); in md_bitmap_resize()
[all …]