Searched refs:leb_start (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/drivers/mtd/ubi/ |
D | build.c | 701 ubi->leb_start = ubi->vid_hdr_offset + UBI_VID_HDR_SIZE; in io_init() 702 ubi->leb_start = ALIGN(ubi->leb_start, ubi->min_io_size); in io_init() 707 dbg_gen("leb_start %d", ubi->leb_start); in io_init() 718 ubi->leb_start < ubi->vid_hdr_offset + UBI_VID_HDR_SIZE || in io_init() 719 ubi->leb_start > ubi->peb_size - UBI_VID_HDR_SIZE || in io_init() 720 ubi->leb_start & (ubi->min_io_size - 1)) { in io_init() 722 ubi->vid_hdr_offset, ubi->leb_start); in io_init() 745 ubi->leb_size = ubi->peb_size - ubi->leb_start; in io_init() 1031 ubi->vid_hdr_offset, ubi->vid_hdr_aloffset, ubi->leb_start); in ubi_attach_mtd_dev()
|
D | io.c | 250 if (offset >= ubi->leb_start) { in ubi_io_write() 634 int vid_hdr_offset, leb_start; in validate_ec_hdr() local 638 leb_start = be32_to_cpu(ec_hdr->data_offset); in validate_ec_hdr() 652 if (leb_start != ubi->leb_start) { in validate_ec_hdr() 654 leb_start, ubi->leb_start); in validate_ec_hdr() 815 ec_hdr->data_offset = cpu_to_be32(ubi->leb_start); in ubi_io_write_ec_hdr()
|
D | ubi.h | 640 int leb_start; member 1136 return ubi_io_read(ubi, buf, pnum, offset + ubi->leb_start, len); in ubi_io_read_data() 1148 return ubi_io_write(ubi, buf, pnum, offset + ubi->leb_start, len); in ubi_io_write_data()
|
D | kapi.c | 30 di->leb_start = ubi->leb_start; in ubi_do_get_device_info()
|
D | attach.c | 880 err = ubi_io_read(ubi, ubi->peb_buf, pnum, ubi->leb_start, in check_corruption() 905 pnum, ubi->leb_start, ubi->leb_size); in check_corruption()
|
/linux-6.6.21/include/linux/mtd/ |
D | ubi.h | 180 int leb_start; member
|
/linux-6.6.21/fs/ubifs/ |
D | super.c | 532 c->leb_start = c->di.leb_start; in init_constants_early()
|
D | io.c | 1174 size = c->max_write_size - (c->leb_start % c->max_write_size); in ubifs_wbuf_init()
|
D | ubifs.h | 1380 int leb_start; member
|