Home
last modified time | relevance | path

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

/linux-6.12.1/include/uapi/linux/raid/
Dmd_p.h162 __u32 sb_csum; /* 6 checksum of the whole superblock */ member
292 __le32 sb_csum; /* checksum up to devs[max_dev] */ member
/linux-6.12.1/drivers/md/
Dmd.c1100 disk_csum = sb->sb_csum; in calc_sb_csum()
1101 sb->sb_csum = 0; in calc_sb_csum()
1116 sb->sb_csum = md_csum_fold(disk_csum); in calc_sb_csum()
1118 sb->sb_csum = disk_csum; in calc_sb_csum()
1230 if (md_csum_fold(calc_sb_csum(sb)) != md_csum_fold(sb->sb_csum)) { in super_90_load()
1570 sb->sb_csum = calc_sb_csum(sb); in super_90_sync()
1617 disk_csum = sb->sb_csum; in calc_sb_1_csum()
1618 sb->sb_csum = 0; in calc_sb_1_csum()
1627 sb->sb_csum = disk_csum; in calc_sb_1_csum()
1679 if (calc_sb_1_csum(sb) != sb->sb_csum) { in super_1_load()
[all …]