Lines Matching defs:vid_hdr_offset
583 * If @ubi->vid_hdr_offset or @ubi->leb_start is zero, default offsets are
613 if (ubi->vid_hdr_offset < 0)
674 if (ubi->vid_hdr_offset == 0)
676 ubi->vid_hdr_offset = ubi->vid_hdr_aloffset =
679 ubi->vid_hdr_aloffset = ubi->vid_hdr_offset &
681 ubi->vid_hdr_shift = ubi->vid_hdr_offset -
695 ubi->vid_hdr_offset, ubi->vid_hdr_shift,
701 ubi->leb_start = ubi->vid_hdr_offset + UBI_VID_HDR_SIZE;
704 dbg_gen("vid_hdr_offset %d", ubi->vid_hdr_offset);
717 if (ubi->vid_hdr_offset < UBI_EC_HDR_SIZE ||
718 ubi->leb_start < ubi->vid_hdr_offset + UBI_VID_HDR_SIZE ||
722 ubi->vid_hdr_offset, ubi->leb_start);
740 if (ubi->vid_hdr_offset + UBI_VID_HDR_SIZE <= ubi->hdrs_min_io_size) {
825 * @vid_hdr_offset: VID header offset
843 int vid_hdr_offset, int max_beb_per1024, bool disable_fm)
937 ubi->vid_hdr_offset = vid_hdr_offset;
1031 ubi->vid_hdr_offset, ubi->vid_hdr_aloffset, ubi->leb_start);