Searched refs:vid_hdr_offset (Results 1 – 7 of 7) sorted by relevance
655 if (ubi->vid_hdr_offset < 0) in io_init()716 if (ubi->vid_hdr_offset == 0) in io_init()718 ubi->vid_hdr_offset = ubi->vid_hdr_aloffset = in io_init()721 ubi->vid_hdr_aloffset = ubi->vid_hdr_offset & in io_init()723 ubi->vid_hdr_shift = ubi->vid_hdr_offset - in io_init()728 ubi->leb_start = ubi->vid_hdr_offset + UBI_VID_HDR_SIZE; in io_init()731 dbg_msg("vid_hdr_offset %d", ubi->vid_hdr_offset); in io_init()744 if (ubi->vid_hdr_offset < UBI_EC_HDR_SIZE || in io_init()745 ubi->leb_start < ubi->vid_hdr_offset + UBI_VID_HDR_SIZE || in io_init()749 ubi->vid_hdr_offset, ubi->leb_start); in io_init()[all …]
691 int vid_hdr_offset, leb_start; in validate_ec_hdr() local694 vid_hdr_offset = be32_to_cpu(ec_hdr->vid_hdr_offset); in validate_ec_hdr()704 if (vid_hdr_offset != ubi->vid_hdr_offset) { in validate_ec_hdr()706 vid_hdr_offset, ubi->vid_hdr_offset); in validate_ec_hdr()872 ec_hdr->vid_hdr_offset = cpu_to_be32(ubi->vid_hdr_offset); in ubi_io_write_ec_hdr()
162 __be32 vid_hdr_offset; member
463 int vid_hdr_offset; member560 int ubi_attach_mtd_dev(struct mtd_info *mtd, int ubi_num, int vid_hdr_offset);
58 be32_to_cpu(ec_hdr->vid_hdr_offset)); in ubi_dbg_dump_ec_hdr()
1010 err = ubi_attach_mtd_dev(mtd, req.ubi_num, req.vid_hdr_offset); in ctrl_cdev_ioctl()
267 __s32 vid_hdr_offset; member