Lines Matching refs:smeta_buf
811 struct line_smeta *smeta_buf; in pblk_recov_l2p() local
826 smeta_buf = (struct line_smeta *)smeta; in pblk_recov_l2p()
837 line->lun_bitmap = ((void *)(smeta_buf)) + in pblk_recov_l2p()
847 crc = pblk_calc_smeta_crc(pblk, smeta_buf); in pblk_recov_l2p()
848 if (le32_to_cpu(smeta_buf->crc) != crc) in pblk_recov_l2p()
851 if (le32_to_cpu(smeta_buf->header.identifier) != PBLK_MAGIC) in pblk_recov_l2p()
854 if (smeta_buf->header.version_major != SMETA_VERSION_MAJOR) { in pblk_recov_l2p()
856 smeta_buf->header.version_major); in pblk_recov_l2p()
862 memcpy(pblk->instance_uuid, smeta_buf->header.uuid, 16); in pblk_recov_l2p()
866 if (memcmp(pblk->instance_uuid, smeta_buf->header.uuid, 16)) { in pblk_recov_l2p()
874 line->id = le32_to_cpu(smeta_buf->header.id); in pblk_recov_l2p()
875 line->type = le16_to_cpu(smeta_buf->header.type); in pblk_recov_l2p()
876 line->seq_nr = le64_to_cpu(smeta_buf->seq_nr); in pblk_recov_l2p()
892 line->id, smeta_buf->seq_nr); in pblk_recov_l2p()