Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/mtd/ubi/
Dbuild.c688 ubi->leb_start = ubi->vid_hdr_offset + UBI_VID_HDR_SIZE; in io_init()
689 ubi->leb_start = ALIGN(ubi->leb_start, ubi->min_io_size); in io_init()
694 dbg_gen("leb_start %d", ubi->leb_start); in io_init()
705 ubi->leb_start < ubi->vid_hdr_offset + UBI_VID_HDR_SIZE || in io_init()
706 ubi->leb_start > ubi->peb_size - UBI_VID_HDR_SIZE || in io_init()
707 ubi->leb_start & (ubi->min_io_size - 1)) { in io_init()
709 ubi->vid_hdr_offset, ubi->leb_start); in io_init()
732 ubi->leb_size = ubi->peb_size - ubi->leb_start; in io_init()
1008 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.h642 int leb_start; member
1137 return ubi_io_read(ubi, buf, pnum, offset + ubi->leb_start, len); in ubi_io_read_data()
1149 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-v5.15/include/linux/mtd/
Dubi.h179 int leb_start; member
/Linux-v5.15/fs/ubifs/
Dsuper.c532 c->leb_start = c->di.leb_start; in init_constants_early()
Dio.c1127 size = c->max_write_size - (c->leb_start % c->max_write_size); in ubifs_wbuf_init()
Dubifs.h1352 int leb_start; member