Lines Matching refs:sb_offset
464 rdev->sb_offset = 0; in free_disk_sb()
509 unsigned long sb_offset; in read_disk_sb() local
520 sb_offset = calc_dev_sboffset(rdev->dev, rdev->mddev, 1); in read_disk_sb()
521 rdev->sb_offset = sb_offset; in read_disk_sb()
523 if (!sync_page_io(dev, sb_offset<<1, MD_SB_BYTES, rdev->sb_page, READ)) { in read_disk_sb()
918 unsigned long sb_offset, size; in write_disk_sb() local
934 sb_offset = calc_dev_sboffset(dev, rdev->mddev, 1); in write_disk_sb()
935 if (rdev->sb_offset != sb_offset) { in write_disk_sb()
937 partition_name(dev), rdev->sb_offset, sb_offset); in write_disk_sb()
952 printk(KERN_INFO "(write) %s's sb offset: %ld\n", partition_name(dev), sb_offset); in write_disk_sb()
954 if (!sync_page_io(dev, sb_offset<<1, MD_SB_BYTES, rdev->sb_page, WRITE)) { in write_disk_sb()
2290 rdev->sb_offset = calc_dev_sboffset(dev, mddev, persistent); in add_new_disk()
2453 rdev->sb_offset = calc_dev_sboffset(dev, mddev, persistent); in hot_add_disk()