Searched refs:vid_hdr_offset (Results 1 - 7 of 7) sorted by relevance

/linux-master/drivers/mtd/ubi/
H A Dbuild.c589 * If @ubi->vid_hdr_offset or @ubi->leb_start is zero, default offsets are
619 if (ubi->vid_hdr_offset < 0)
680 if (ubi->vid_hdr_offset == 0)
682 ubi->vid_hdr_offset = ubi->vid_hdr_aloffset =
685 ubi->vid_hdr_aloffset = ubi->vid_hdr_offset &
687 ubi->vid_hdr_shift = ubi->vid_hdr_offset -
701 ubi->vid_hdr_offset, ubi->vid_hdr_shift,
707 ubi->leb_start = ubi->vid_hdr_offset + UBI_VID_HDR_SIZE;
710 dbg_gen("vid_hdr_offset %d", ubi->vid_hdr_offset);
849 ubi_attach_mtd_dev(struct mtd_info *mtd, int ubi_num, int vid_hdr_offset, int max_beb_per1024, bool disable_fm, bool need_resv_pool) argument
[all...]
H A Dio.c646 int vid_hdr_offset, leb_start; local
649 vid_hdr_offset = be32_to_cpu(ec_hdr->vid_hdr_offset);
658 if (vid_hdr_offset != ubi->vid_hdr_offset) {
660 vid_hdr_offset, ubi->vid_hdr_offset);
855 ec_hdr->vid_hdr_offset = cpu_to_be32(ubi->vid_hdr_offset);
H A Dubi-media.h120 * @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 in struct:ubi_ec_hdr
H A Dubi.h538 * @vid_hdr_offset: starting offset of the volume identifier header (might be
542 * @vid_hdr_shift: contains @vid_hdr_offset - @vid_hdr_aloffset
643 int vid_hdr_offset; member in struct:ubi_device
941 int vid_hdr_offset, int max_beb_per1024,
H A Ddebug.c87 pr_err("\tvid_hdr_offset %d\n", be32_to_cpu(ec_hdr->vid_hdr_offset));
H A Dcdev.c1043 err = ubi_attach_mtd_dev(mtd, req.ubi_num, req.vid_hdr_offset,
/linux-master/include/uapi/mtd/
H A Dubi-user.h247 * @vid_hdr_offset: VID header offset (use defaults if %0)
259 * Most applications should pass %0 in @vid_hdr_offset to make UBI use default
294 __s32 vid_hdr_offset; member in struct:ubi_attach_req

Completed in 154 milliseconds