Home
last modified time | relevance | path

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

/Linux-v5.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-v5.10/drivers/md/
Dmd.c1122 disk_csum = sb->sb_csum; in calc_sb_csum()
1123 sb->sb_csum = 0; in calc_sb_csum()
1138 sb->sb_csum = md_csum_fold(disk_csum); in calc_sb_csum()
1140 sb->sb_csum = disk_csum; in calc_sb_csum()
1252 if (md_csum_fold(calc_sb_csum(sb)) != md_csum_fold(sb->sb_csum)) { in super_90_load()
1588 sb->sb_csum = calc_sb_csum(sb); in super_90_sync()
1635 disk_csum = sb->sb_csum; in calc_sb_1_csum()
1636 sb->sb_csum = 0; in calc_sb_1_csum()
1645 sb->sb_csum = disk_csum; in calc_sb_1_csum()
1699 if (calc_sb_1_csum(sb) != sb->sb_csum) { in super_1_load()
[all …]