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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/ubi/
H A Dbuild.c627 * If @ubi->vid_hdr_offset or @ubi->leb_start is zero, default offsets are
654 if (ubi->vid_hdr_offset < 0)
701 if (ubi->vid_hdr_offset == 0)
703 ubi->vid_hdr_offset = ubi->vid_hdr_aloffset =
706 ubi->vid_hdr_aloffset = ubi->vid_hdr_offset &
708 ubi->vid_hdr_shift = ubi->vid_hdr_offset -
713 ubi->leb_start = ubi->vid_hdr_offset + UBI_EC_HDR_SIZE;
716 dbg_msg("vid_hdr_offset %d", ubi->vid_hdr_offset);
729 if (ubi->vid_hdr_offset < UBI_EC_HDR_SIZ
855 ubi_attach_mtd_dev(struct mtd_info *mtd, int ubi_num, int vid_hdr_offset) argument
[all...]
H A Dubi-media.h130 * @vid_hdr_offset: where the VID header starts
144 * The @vid_hdr_offset and @data_offset fields contain the offset of the the
162 __be32 vid_hdr_offset; member in struct:ubi_ec_hdr
H A Dio.c659 int vid_hdr_offset, leb_start; local
662 vid_hdr_offset = be32_to_cpu(ec_hdr->vid_hdr_offset);
672 if (vid_hdr_offset != ubi->vid_hdr_offset) {
674 vid_hdr_offset, ubi->vid_hdr_offset);
834 ec_hdr->vid_hdr_offset = cpu_to_be32(ubi->vid_hdr_offset);
H A Dubi.h369 * @vid_hdr_offset: starting offset of the volume identifier header (might be
373 * @vid_hdr_shift: contains @vid_hdr_offset - @vid_hdr_aloffset
454 int vid_hdr_offset; member in struct:ubi_device
553 int ubi_attach_mtd_dev(struct mtd_info *mtd, int ubi_num, int vid_hdr_offset);
H A Ddebug.c44 be32_to_cpu(ec_hdr->vid_hdr_offset));
H A Dcdev.c1010 err = ubi_attach_mtd_dev(mtd, req.ubi_num, req.vid_hdr_offset);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/mtd/
H A Dubi-user.h239 * @vid_hdr_offset: VID header offset (use defaults if %0)
248 * Most applications should pass %0 in @vid_hdr_offset to make UBI use default
267 __s32 vid_hdr_offset; member in struct:ubi_attach_req

Completed in 111 milliseconds