Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/ide/raid/
Dsilraid.c283 unsigned long sb_offset; in read_disk_sb() local
293 sb_offset = calc_silblock_offset(major,minor)/8; in read_disk_sb()
296 if (sb_offset==0) in read_disk_sb()
301 bh = bread (dev, sb_offset, 4096); in read_disk_sb()
Dpdcraid.c380 unsigned long sb_offset; in read_disk_sb() local
390 sb_offset = calc_pdcblock_offset(major,minor)/8; in read_disk_sb()
393 if (sb_offset==0) in read_disk_sb()
398 bh = bread (dev, sb_offset, 4096); in read_disk_sb()
/linux-2.4.37.9/drivers/md/
Dmd.c464 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()
[all …]
/linux-2.4.37.9/include/linux/raid/
Dmd_k.h175 unsigned long sb_offset; member