Lines Matching refs:vid_hdr
70 void ubi_dump_vid_hdr(const struct ubi_vid_hdr *vid_hdr) in ubi_dump_vid_hdr() argument
73 pr_err("\tmagic %08x\n", be32_to_cpu(vid_hdr->magic)); in ubi_dump_vid_hdr()
74 pr_err("\tversion %d\n", (int)vid_hdr->version); in ubi_dump_vid_hdr()
75 pr_err("\tvol_type %d\n", (int)vid_hdr->vol_type); in ubi_dump_vid_hdr()
76 pr_err("\tcopy_flag %d\n", (int)vid_hdr->copy_flag); in ubi_dump_vid_hdr()
77 pr_err("\tcompat %d\n", (int)vid_hdr->compat); in ubi_dump_vid_hdr()
78 pr_err("\tvol_id %d\n", be32_to_cpu(vid_hdr->vol_id)); in ubi_dump_vid_hdr()
79 pr_err("\tlnum %d\n", be32_to_cpu(vid_hdr->lnum)); in ubi_dump_vid_hdr()
80 pr_err("\tdata_size %d\n", be32_to_cpu(vid_hdr->data_size)); in ubi_dump_vid_hdr()
81 pr_err("\tused_ebs %d\n", be32_to_cpu(vid_hdr->used_ebs)); in ubi_dump_vid_hdr()
82 pr_err("\tdata_pad %d\n", be32_to_cpu(vid_hdr->data_pad)); in ubi_dump_vid_hdr()
84 (unsigned long long)be64_to_cpu(vid_hdr->sqnum)); in ubi_dump_vid_hdr()
85 pr_err("\thdr_crc %08x\n", be32_to_cpu(vid_hdr->hdr_crc)); in ubi_dump_vid_hdr()
88 vid_hdr, UBI_VID_HDR_SIZE, 1); in ubi_dump_vid_hdr()