Searched refs:vid_hdr_offset (Results 1 – 9 of 9) sorted by relevance
610 if (ubi->vid_hdr_offset < 0) in io_init()673 if (ubi->vid_hdr_offset == 0) in io_init()675 ubi->vid_hdr_offset = ubi->vid_hdr_aloffset = in io_init()678 ubi->vid_hdr_aloffset = ubi->vid_hdr_offset & in io_init()680 ubi->vid_hdr_shift = ubi->vid_hdr_offset - in io_init()685 ubi->leb_start = ubi->vid_hdr_offset + UBI_VID_HDR_SIZE; in io_init()688 dbg_gen("vid_hdr_offset %d", ubi->vid_hdr_offset); in io_init()701 if (ubi->vid_hdr_offset < UBI_EC_HDR_SIZE || in io_init()702 ubi->leb_start < ubi->vid_hdr_offset + UBI_VID_HDR_SIZE || in io_init()706 ubi->vid_hdr_offset, ubi->leb_start); in io_init()[all …]
627 int vid_hdr_offset, leb_start; in validate_ec_hdr() local630 vid_hdr_offset = be32_to_cpu(ec_hdr->vid_hdr_offset); in validate_ec_hdr()639 if (vid_hdr_offset != ubi->vid_hdr_offset) { in validate_ec_hdr()641 vid_hdr_offset, ubi->vid_hdr_offset); in validate_ec_hdr()807 ec_hdr->vid_hdr_offset = cpu_to_be32(ubi->vid_hdr_offset); in ubi_io_write_ec_hdr()
152 __be32 vid_hdr_offset; member
647 int vid_hdr_offset; member944 int vid_hdr_offset, int max_beb_per1024);
57 pr_err("\tvid_hdr_offset %d\n", be32_to_cpu(ec_hdr->vid_hdr_offset)); in ubi_dump_ec_hdr()
1043 err = ubi_attach_mtd_dev(mtd, req.ubi_num, req.vid_hdr_offset, in ctrl_cdev_ioctl()
288 __s32 vid_hdr_offset; member
43 __s32 vid_hdr_offset; member
57 __s32 vid_hdr_offset; member