Lines Matching refs:sb_gen
180 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()
1231 u64 sb_gen[2] = {0, 0}; in dmz_load_sb() local
1281 sb_gen[0] = le64_to_cpu(zmd->sb[0].sb->gen); in dmz_load_sb()
1292 sb_gen[1] = le64_to_cpu(zmd->sb[1].sb->gen); in dmz_load_sb()
1303 if (sb_gen[0] >= sb_gen[1]) { in dmz_load_sb()
1304 zmd->sb_gen = sb_gen[0]; in dmz_load_sb()
1307 zmd->sb_gen = sb_gen[1]; in dmz_load_sb()
1313 zmd->mblk_primary, zmd->sb_gen); in dmz_load_sb()