smeta_buf 960 drivers/lightnvm/pblk-core.c struct line_smeta *smeta_buf = (struct line_smeta *)line->smeta; smeta_buf 985 drivers/lightnvm/pblk-core.c line->lun_bitmap = ((void *)(smeta_buf)) + sizeof(struct line_smeta); smeta_buf 990 drivers/lightnvm/pblk-core.c smeta_buf->header.identifier = cpu_to_le32(PBLK_MAGIC); smeta_buf 991 drivers/lightnvm/pblk-core.c guid_copy((guid_t *)&smeta_buf->header.uuid, &pblk->instance_uuid); smeta_buf 992 drivers/lightnvm/pblk-core.c smeta_buf->header.id = cpu_to_le32(line->id); smeta_buf 993 drivers/lightnvm/pblk-core.c smeta_buf->header.type = cpu_to_le16(line->type); smeta_buf 994 drivers/lightnvm/pblk-core.c smeta_buf->header.version_major = SMETA_VERSION_MAJOR; smeta_buf 995 drivers/lightnvm/pblk-core.c smeta_buf->header.version_minor = SMETA_VERSION_MINOR; smeta_buf 998 drivers/lightnvm/pblk-core.c smeta_buf->seq_nr = cpu_to_le64(line->seq_nr); smeta_buf 999 drivers/lightnvm/pblk-core.c smeta_buf->window_wr_lun = cpu_to_le32(geo->all_luns); smeta_buf 1004 drivers/lightnvm/pblk-core.c smeta_buf->prev_id = cpu_to_le32(cur->id); smeta_buf 1007 drivers/lightnvm/pblk-core.c smeta_buf->prev_id = cpu_to_le32(PBLK_LINE_EMPTY); smeta_buf 1011 drivers/lightnvm/pblk-core.c smeta_buf->header.crc = cpu_to_le32( smeta_buf 1012 drivers/lightnvm/pblk-core.c pblk_calc_meta_header_crc(pblk, &smeta_buf->header)); smeta_buf 1013 drivers/lightnvm/pblk-core.c smeta_buf->crc = cpu_to_le32(pblk_calc_smeta_crc(pblk, smeta_buf)); smeta_buf 1016 drivers/lightnvm/pblk-core.c memcpy(&emeta_buf->header, &smeta_buf->header, smeta_buf 1029 drivers/lightnvm/pblk-core.c emeta_buf->prev_id = smeta_buf->prev_id; smeta_buf 658 drivers/lightnvm/pblk-recovery.c struct line_smeta *smeta_buf; smeta_buf 673 drivers/lightnvm/pblk-recovery.c smeta_buf = (struct line_smeta *)smeta; smeta_buf 684 drivers/lightnvm/pblk-recovery.c line->lun_bitmap = ((void *)(smeta_buf)) + smeta_buf 694 drivers/lightnvm/pblk-recovery.c crc = pblk_calc_smeta_crc(pblk, smeta_buf); smeta_buf 695 drivers/lightnvm/pblk-recovery.c if (le32_to_cpu(smeta_buf->crc) != crc) smeta_buf 698 drivers/lightnvm/pblk-recovery.c if (le32_to_cpu(smeta_buf->header.identifier) != PBLK_MAGIC) smeta_buf 701 drivers/lightnvm/pblk-recovery.c if (smeta_buf->header.version_major != SMETA_VERSION_MAJOR) { smeta_buf 703 drivers/lightnvm/pblk-recovery.c smeta_buf->header.version_major); smeta_buf 710 drivers/lightnvm/pblk-recovery.c (guid_t *)&smeta_buf->header.uuid); smeta_buf 715 drivers/lightnvm/pblk-recovery.c (guid_t *)&smeta_buf->header.uuid)) { smeta_buf 723 drivers/lightnvm/pblk-recovery.c line->id = le32_to_cpu(smeta_buf->header.id); smeta_buf 724 drivers/lightnvm/pblk-recovery.c line->type = le16_to_cpu(smeta_buf->header.type); smeta_buf 725 drivers/lightnvm/pblk-recovery.c line->seq_nr = le64_to_cpu(smeta_buf->seq_nr); smeta_buf 741 drivers/lightnvm/pblk-recovery.c line->id, smeta_buf->seq_nr);