Home
last modified time | relevance | path

Searched refs:leb_start (Results 1 – 6 of 6) sorted by relevance

/drivers/mtd/ubi/
Dbuild.c730 ubi->leb_start = ubi->vid_hdr_offset + UBI_VID_HDR_SIZE; in io_init()
731 ubi->leb_start = ALIGN(ubi->leb_start, ubi->min_io_size); in io_init()
736 dbg_gen("leb_start %d", ubi->leb_start); in io_init()
747 ubi->leb_start < ubi->vid_hdr_offset + UBI_VID_HDR_SIZE || in io_init()
748 ubi->leb_start > ubi->peb_size - UBI_VID_HDR_SIZE || in io_init()
749 ubi->leb_start & (ubi->min_io_size - 1)) { in io_init()
751 ubi->vid_hdr_offset, ubi->leb_start); in io_init()
774 ubi->leb_size = ubi->peb_size - ubi->leb_start; in io_init()
1023 ubi->vid_hdr_offset, ubi->vid_hdr_aloffset, ubi->leb_start); in ubi_attach_mtd_dev()
Dio.c262 if (offset >= ubi->leb_start) { in ubi_io_write()
680 int vid_hdr_offset, leb_start; in validate_ec_hdr() local
684 leb_start = be32_to_cpu(ec_hdr->data_offset); in validate_ec_hdr()
698 if (leb_start != ubi->leb_start) { in validate_ec_hdr()
700 leb_start, ubi->leb_start); in validate_ec_hdr()
861 ec_hdr->data_offset = cpu_to_be32(ubi->leb_start); in ubi_io_write_ec_hdr()
Dubi.h571 int leb_start; member
946 return ubi_io_read(ubi, buf, pnum, offset + ubi->leb_start, len); in ubi_io_read_data()
958 return ubi_io_write(ubi, buf, pnum, offset + ubi->leb_start, len); in ubi_io_write_data()
Dkapi.c43 di->leb_start = ubi->leb_start; in ubi_do_get_device_info()
Dfastmap.c876 ret = ubi_io_read(ubi, fmsb, fm_anchor, ubi->leb_start, sizeof(*fmsb)); in ubi_scan_fastmap()
980 ubi->leb_start, ubi->leb_size); in ubi_scan_fastmap()
1267 new_fm->e[i]->pnum, ubi->leb_start, ubi->leb_size); in ubi_write_fastmap()
Dattach.c768 err = ubi_io_read(ubi, ubi->peb_buf, pnum, ubi->leb_start, in check_corruption()
793 pnum, ubi->leb_start, ubi->leb_size); in check_corruption()