Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Dmd-bitmap.c232 loff_t sboff, offset = mddev->bitmap_info.offset; in __write_sb_page() local
249 sboff = rdev->sb_start + offset; in __write_sb_page()
255 if (sboff + ps > doff && in __write_sb_page()
256 sboff < (doff + mddev->dev_sectors + PAGE_SIZE / SECTOR_SIZE)) in __write_sb_page()
265 if (doff + mddev->dev_sectors > sboff) in __write_sb_page()
270 size = bitmap_io_size(size, opt_size, sboff + ps, doff); in __write_sb_page()
276 md_super_write(mddev, rdev, sboff + ps, (int)min(size, bitmap_limit), page); in __write_sb_page()