Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/md/
Ddm-zoned-metadata.c180 u64 sb_gen; member
773 u64 sb_gen = zmd->sb_gen + 1; in dmz_write_sb() local
786 sb->gen = cpu_to_le64(sb_gen); in dmz_write_sb()
803 sb->crc = cpu_to_le32(crc32_le(sb_gen, (unsigned char *)sb, DMZ_BLOCK_SIZE)); in dmz_write_sb()
958 zmd->sb_gen++; in dmz_flush_metadata()
1235 u64 sb_gen[2] = {0, 0}; in dmz_load_sb() local
1285 sb_gen[0] = le64_to_cpu(zmd->sb[0].sb->gen); in dmz_load_sb()
1296 sb_gen[1] = le64_to_cpu(zmd->sb[1].sb->gen); in dmz_load_sb()
1307 if (sb_gen[0] >= sb_gen[1]) { in dmz_load_sb()
1308 zmd->sb_gen = sb_gen[0]; in dmz_load_sb()
[all …]