Home
last modified time | relevance | path

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

/linux-5.19.10/include/uapi/linux/raid/
Dmd_p.h166 __u32 sb_csum; /* 6 checksum of the whole superblock */ member
296 __le32 sb_csum; /* checksum up to devs[max_dev] */ member
/linux-5.19.10/drivers/md/
Dmd.c1088 disk_csum = sb->sb_csum; in calc_sb_csum()
1089 sb->sb_csum = 0; in calc_sb_csum()
1104 sb->sb_csum = md_csum_fold(disk_csum); in calc_sb_csum()
1106 sb->sb_csum = disk_csum; in calc_sb_csum()
1217 if (md_csum_fold(calc_sb_csum(sb)) != md_csum_fold(sb->sb_csum)) { in super_90_load()
1553 sb->sb_csum = calc_sb_csum(sb); in super_90_sync()
1600 disk_csum = sb->sb_csum; in calc_sb_1_csum()
1601 sb->sb_csum = 0; in calc_sb_1_csum()
1610 sb->sb_csum = disk_csum; in calc_sb_1_csum()
1662 if (calc_sb_1_csum(sb) != sb->sb_csum) { in super_1_load()
[all …]