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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/ubi/
H A Dbuild.c382 * If @ubi->vid_hdr_offset or @ubi->leb_start is zero, default offsets are
444 if (ubi->vid_hdr_offset == 0)
446 ubi->vid_hdr_offset = ubi->vid_hdr_aloffset =
449 ubi->vid_hdr_aloffset = ubi->vid_hdr_offset &
451 ubi->vid_hdr_shift = ubi->vid_hdr_offset -
457 ubi->leb_start = ubi->vid_hdr_offset + ubi->vid_hdr_alsize;
461 dbg_msg("vid_hdr_offset %d", ubi->vid_hdr_offset);
474 if (ubi->vid_hdr_offset < UBI_EC_HDR_SIZE ||
475 ubi->leb_start < ubi->vid_hdr_offset
528 attach_mtd_dev(const char *mtd_dev, int vid_hdr_offset, int data_offset) argument
[all...]
H A Dio.c558 int vid_hdr_offset, leb_start; local
561 vid_hdr_offset = ubi32_to_cpu(ec_hdr->vid_hdr_offset);
571 if (vid_hdr_offset != ubi->vid_hdr_offset) {
573 vid_hdr_offset, ubi->vid_hdr_offset);
734 ec_hdr->vid_hdr_offset = cpu_to_ubi32(ubi->vid_hdr_offset);
H A Ddebug.c41 dbg_msg("vid_hdr_offset %d", ubi32_to_cpu(ec_hdr->vid_hdr_offset));
H A Dubi.h268 * @vid_hdr_offset: starting offset of the volume identifier header (might be
272 * @vid_hdr_shift: contains @vid_hdr_offset - @vid_hdr_aloffset
340 int vid_hdr_offset; member in struct:ubi_device
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/mtd/
H A Dubi-header.h121 * @vid_hdr_offset: where the VID header starts
134 * The @vid_hdr_offset and @data_offset fields contain the offset of the the
144 ubi32_t vid_hdr_offset; member in struct:ubi_ec_hdr

Completed in 188 milliseconds