Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/mtd/ubi/
Dbuild.c701 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()
Dio.c250 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()
Dubi.h640 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()
Dkapi.c30 di->leb_start = ubi->leb_start; in ubi_do_get_device_info()
Dattach.c880 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/
Dubi.h180 int leb_start; member
/linux-6.6.21/fs/ubifs/
Dsuper.c532 c->leb_start = c->di.leb_start; in init_constants_early()
Dio.c1174 size = c->max_write_size - (c->leb_start % c->max_write_size); in ubifs_wbuf_init()
Dubifs.h1380 int leb_start; member