Searched refs:vid_hdr_offset (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/mtd/ubi/ |
| H A D | build.c | 621 if (ubi->vid_hdr_offset < 0) in io_init() 682 if (ubi->vid_hdr_offset == 0) in io_init() 684 ubi->vid_hdr_offset = ubi->vid_hdr_aloffset = in io_init() 687 ubi->vid_hdr_aloffset = ubi->vid_hdr_offset & in io_init() 689 ubi->vid_hdr_shift = ubi->vid_hdr_offset - in io_init() 703 ubi->vid_hdr_offset, ubi->vid_hdr_shift, in io_init() 709 ubi->leb_start = ubi->vid_hdr_offset + UBI_VID_HDR_SIZE; in io_init() 712 dbg_gen("vid_hdr_offset %d", ubi->vid_hdr_offset); in io_init() 725 if (ubi->vid_hdr_offset < UBI_EC_HDR_SIZE || in io_init() 726 ubi->leb_start < ubi->vid_hdr_offset + UBI_VID_HDR_SIZE || in io_init() [all …]
|
| H A D | io.c | 649 int vid_hdr_offset, leb_start; in validate_ec_hdr() local 652 vid_hdr_offset = be32_to_cpu(ec_hdr->vid_hdr_offset); in validate_ec_hdr() 661 if (vid_hdr_offset != ubi->vid_hdr_offset) { in validate_ec_hdr() 663 vid_hdr_offset, ubi->vid_hdr_offset); in validate_ec_hdr() 858 ec_hdr->vid_hdr_offset = cpu_to_be32(ubi->vid_hdr_offset); in ubi_io_write_ec_hdr()
|
| H A D | ubi-media.h | 152 __be32 vid_hdr_offset; member
|
| H A D | ubi.h | 661 int vid_hdr_offset; member 958 int vid_hdr_offset, int max_beb_per1024,
|
| H A D | debug.c | 87 pr_err("\tvid_hdr_offset %d\n", be32_to_cpu(ec_hdr->vid_hdr_offset)); in ubi_dump_ec_hdr()
|
| H A D | cdev.c | 1113 err = ubi_attach_mtd_dev(mtd, req.ubi_num, req.vid_hdr_offset, in ctrl_cdev_ioctl()
|
| /linux/include/uapi/mtd/ |
| H A D | ubi-user.h | 303 __s32 vid_hdr_offset; member
|