Home
last modified time | relevance | path

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

/linux-2.6.39/include/linux/raid/
Dmd_p.h147 __u32 sb_csum; /* 6 checksum of the whole superblock */ member
254 __le32 sb_csum; /* checksum up to devs[max_dev] */ member
/linux-2.6.39/drivers/md/
Dmd.c918 disk_csum = sb->sb_csum; in calc_sb_csum()
919 sb->sb_csum = 0; in calc_sb_csum()
935 sb->sb_csum = md_csum_fold(disk_csum); in calc_sb_csum()
937 sb->sb_csum = disk_csum; in calc_sb_csum()
1045 if (md_csum_fold(calc_sb_csum(sb)) != md_csum_fold(sb->sb_csum)) { in super_90_load()
1345 sb->sb_csum = calc_sb_csum(sb); in super_90_sync()
1381 disk_csum = sb->sb_csum; in calc_sb_1_csum()
1382 sb->sb_csum = 0; in calc_sb_1_csum()
1391 sb->sb_csum = disk_csum; in calc_sb_1_csum()
1444 if (calc_sb_1_csum(sb) != sb->sb_csum) { in super_1_load()
[all …]