/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
H A D | build.c | 581 * If @ubi->vid_hdr_offset or @ubi->leb_start is zero, default offsets are 611 if (ubi->vid_hdr_offset < 0) in io_init() 674 if (ubi->vid_hdr_offset == 0) in io_init() 676 ubi->vid_hdr_offset = ubi->vid_hdr_aloffset = in io_init() 679 ubi->vid_hdr_aloffset = ubi->vid_hdr_offset & in io_init() 681 ubi->vid_hdr_shift = ubi->vid_hdr_offset - in io_init() 695 ubi->vid_hdr_offset, ubi->vid_hdr_shift, in io_init() 701 ubi->leb_start = ubi->vid_hdr_offset + UBI_VID_HDR_SIZE; in io_init() 704 dbg_gen("vid_hdr_offset %d", ubi->vid_hdr_offset); in io_init() 837 ubi_attach_mtd_dev(struct mtd_info *mtd, int ubi_num, int vid_hdr_offset, int max_beb_per1024) ubi_attach_mtd_dev() argument [all...] |
H A D | io.c | 627 int vid_hdr_offset, leb_start; in validate_ec_hdr() local 630 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()
|
H A D | ubi-media.h | 120 * @vid_hdr_offset: where the VID header starts 134 * The @vid_hdr_offset and @data_offset fields contain the offset of the the 152 __be32 vid_hdr_offset; member
|
H A D | ubi.h | 542 * @vid_hdr_offset: starting offset of the volume identifier header (might be 546 * @vid_hdr_shift: contains @vid_hdr_offset - @vid_hdr_aloffset 645 int vid_hdr_offset; member 942 int vid_hdr_offset, int max_beb_per1024);
|
H A D | debug.c | 57 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 | 1043 err = ubi_attach_mtd_dev(mtd, req.ubi_num, req.vid_hdr_offset, in ctrl_cdev_ioctl()
|
/kernel/linux/linux-6.6/drivers/mtd/ubi/ |
H A D | build.c | 583 * If @ubi->vid_hdr_offset or @ubi->leb_start is zero, default offsets are 613 if (ubi->vid_hdr_offset < 0) in io_init() 674 if (ubi->vid_hdr_offset == 0) in io_init() 676 ubi->vid_hdr_offset = ubi->vid_hdr_aloffset = in io_init() 679 ubi->vid_hdr_aloffset = ubi->vid_hdr_offset & in io_init() 681 ubi->vid_hdr_shift = ubi->vid_hdr_offset - in io_init() 695 ubi->vid_hdr_offset, ubi->vid_hdr_shift, in io_init() 701 ubi->leb_start = ubi->vid_hdr_offset + UBI_VID_HDR_SIZE; in io_init() 704 dbg_gen("vid_hdr_offset %d", ubi->vid_hdr_offset); in io_init() 842 ubi_attach_mtd_dev(struct mtd_info *mtd, int ubi_num, int vid_hdr_offset, int max_beb_per1024, bool disable_fm) ubi_attach_mtd_dev() argument [all...] |
H A D | io.c | 634 int vid_hdr_offset, leb_start; in validate_ec_hdr() local 637 vid_hdr_offset = be32_to_cpu(ec_hdr->vid_hdr_offset); in validate_ec_hdr() 646 if (vid_hdr_offset != ubi->vid_hdr_offset) { in validate_ec_hdr() 648 vid_hdr_offset, ubi->vid_hdr_offset); in validate_ec_hdr() 814 ec_hdr->vid_hdr_offset = cpu_to_be32(ubi->vid_hdr_offset); in ubi_io_write_ec_hdr()
|
H A D | ubi-media.h | 120 * @vid_hdr_offset: where the VID header starts 134 * The @vid_hdr_offset and @data_offset fields contain the offset of the 152 __be32 vid_hdr_offset; member
|
H A D | ubi.h | 540 * @vid_hdr_offset: starting offset of the volume identifier header (might be 544 * @vid_hdr_shift: contains @vid_hdr_offset - @vid_hdr_aloffset 643 int vid_hdr_offset; member 940 int vid_hdr_offset, int max_beb_per1024,
|
H A D | debug.c | 57 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 | 1043 err = ubi_attach_mtd_dev(mtd, req.ubi_num, req.vid_hdr_offset, in ctrl_cdev_ioctl()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/mtd/ |
H A D | ubi-user.h | 43 __s32 vid_hdr_offset; member
|
/kernel/linux/linux-5.10/include/uapi/mtd/ |
H A D | ubi-user.h | 247 * @vid_hdr_offset: VID header offset (use defaults if %0) 257 * Most applications should pass %0 in @vid_hdr_offset to make UBI use default 288 __s32 vid_hdr_offset; member
|
/kernel/linux/linux-6.6/include/uapi/mtd/ |
H A D | ubi-user.h | 247 * @vid_hdr_offset: VID header offset (use defaults if %0) 258 * Most applications should pass %0 in @vid_hdr_offset to make UBI use default 293 __s32 vid_hdr_offset; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/mtd/ |
H A D | ubi-user.h | 57 __s32 vid_hdr_offset; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/mtd/ |
H A D | ubi-user.h | 57 __s32 vid_hdr_offset; member
|