Home
last modified time | relevance | path

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

/drivers/md/
Dmd.c384 sector_t num_sectors = rdev->sb_start; in calc_num_sectors()
411 rdev->sb_start = 0; in free_disk_sb()
557 if (!sync_page_io(rdev->bdev, rdev->sb_start, size, rdev->sb_page, READ)) in read_disk_sb()
701 rdev->sb_start = calc_dev_sboffset(rdev->bdev); in super_90_load()
1031 rdev->sb_start = calc_dev_sboffset(rdev->bdev); in super_90_rdev_size_change()
1032 if (!num_sectors || num_sectors > rdev->sb_start) in super_90_rdev_size_change()
1033 num_sectors = rdev->sb_start; in super_90_rdev_size_change()
1034 md_super_write(rdev->mddev, rdev, rdev->sb_start, rdev->sb_size, in super_90_rdev_size_change()
1072 sector_t sb_start; in super_1_load() local
1086 sb_start = rdev->bdev->bd_inode->i_size >> 9; in super_1_load()
[all …]
Dbitmap.c230 target = rdev->sb_start + offset + index * (PAGE_SIZE/512); in read_sb_page()
301 > rdev->sb_start + bitmap->offset) in write_sb_page()
304 } else if (rdev->sb_start < rdev->data_offset) { in write_sb_page()
306 if (rdev->sb_start in write_sb_page()
316 rdev->sb_start + bitmap->offset in write_sb_page()