Searched refs:leb_start (Results 1 - 10 of 10) sorted by relevance
/linux-4.4.14/drivers/mtd/ubi/ |
H A D | build.c | 610 * If @ubi->vid_hdr_offset or @ubi->leb_start is zero, default offsets are 715 ubi->leb_start = ubi->vid_hdr_offset + UBI_VID_HDR_SIZE; io_init() 716 ubi->leb_start = ALIGN(ubi->leb_start, ubi->min_io_size); io_init() 721 dbg_gen("leb_start %d", ubi->leb_start); io_init() 732 ubi->leb_start < ubi->vid_hdr_offset + UBI_VID_HDR_SIZE || io_init() 733 ubi->leb_start > ubi->peb_size - UBI_VID_HDR_SIZE || io_init() 734 ubi->leb_start & (ubi->min_io_size - 1)) { io_init() 736 ubi->vid_hdr_offset, ubi->leb_start); io_init() 759 ubi->leb_size = ubi->peb_size - ubi->leb_start; io_init() 1013 ubi->vid_hdr_offset, ubi->vid_hdr_aloffset, ubi->leb_start); ubi_attach_mtd_dev()
|
H A D | io.c | 263 if (offset >= ubi->leb_start) { ubi_io_write() 672 int vid_hdr_offset, leb_start; validate_ec_hdr() local 676 leb_start = be32_to_cpu(ec_hdr->data_offset); validate_ec_hdr() 690 if (leb_start != ubi->leb_start) { validate_ec_hdr() 692 leb_start, ubi->leb_start); validate_ec_hdr() 853 ec_hdr->data_offset = cpu_to_be32(ubi->leb_start); ubi_io_write_ec_hdr()
|
H A D | ubi.h | 508 * @leb_start: starting offset of logical eraseblocks within physical 611 int leb_start; member in struct:ubi_device 1050 return ubi_io_read(ubi, buf, pnum, offset + ubi->leb_start, len); ubi_io_read_data() 1062 return ubi_io_write(ubi, buf, pnum, offset + ubi->leb_start, len); ubi_io_write_data()
|
H A D | fastmap.c | 890 ret = ubi_io_read(ubi, fmsb, fm_anchor, ubi->leb_start, sizeof(*fmsb)); ubi_scan_fastmap() 1002 ubi->leb_start, ubi->leb_size); ubi_scan_fastmap() 1317 new_fm->e[i]->pnum, ubi->leb_start, ubi->leb_size);
|
H A D | kapi.c | 43 di->leb_start = ubi->leb_start; ubi_do_get_device_info()
|
H A D | attach.c | 771 err = ubi_io_read(ubi, ubi->peb_buf, pnum, ubi->leb_start, check_corruption() 796 pnum, ubi->leb_start, ubi->leb_size); check_corruption()
|
/linux-4.4.14/include/linux/mtd/ |
H A D | ubi.h | 161 * @leb_start: starting offset of logical eraseblocks within physical 192 int leb_start; member in struct:ubi_device_info
|
/linux-4.4.14/fs/ubifs/ |
H A D | super.c | 515 c->leb_start = c->di.leb_start; init_constants_early()
|
H A D | ubifs.h | 1092 * @leb_start: starting offset of logical eraseblocks within physical 1329 int leb_start; member in struct:ubifs_info
|
H A D | io.c | 1052 size = c->max_write_size - (c->leb_start % c->max_write_size); ubifs_wbuf_init()
|
Completed in 265 milliseconds