Lines Matching refs:smeta_buf
658 struct line_smeta *smeta_buf; in pblk_recov_l2p() local
673 smeta_buf = (struct line_smeta *)smeta; in pblk_recov_l2p()
684 line->lun_bitmap = ((void *)(smeta_buf)) + in pblk_recov_l2p()
694 crc = pblk_calc_smeta_crc(pblk, smeta_buf); in pblk_recov_l2p()
695 if (le32_to_cpu(smeta_buf->crc) != crc) in pblk_recov_l2p()
698 if (le32_to_cpu(smeta_buf->header.identifier) != PBLK_MAGIC) in pblk_recov_l2p()
701 if (smeta_buf->header.version_major != SMETA_VERSION_MAJOR) { in pblk_recov_l2p()
703 smeta_buf->header.version_major); in pblk_recov_l2p()
710 (guid_t *)&smeta_buf->header.uuid); in pblk_recov_l2p()
715 (guid_t *)&smeta_buf->header.uuid)) { in pblk_recov_l2p()
723 line->id = le32_to_cpu(smeta_buf->header.id); in pblk_recov_l2p()
724 line->type = le16_to_cpu(smeta_buf->header.type); in pblk_recov_l2p()
725 line->seq_nr = le64_to_cpu(smeta_buf->seq_nr); in pblk_recov_l2p()
741 line->id, smeta_buf->seq_nr); in pblk_recov_l2p()