Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mtd/ubi/
Dbuild.c681 ubi->leb_start = ubi->vid_hdr_offset + UBI_VID_HDR_SIZE; in io_init()
682 ubi->leb_start = ALIGN(ubi->leb_start, ubi->min_io_size); in io_init()
687 dbg_gen("leb_start %d", ubi->leb_start); in io_init()
698 ubi->leb_start < ubi->vid_hdr_offset + UBI_VID_HDR_SIZE || in io_init()
699 ubi->leb_start > ubi->peb_size - UBI_VID_HDR_SIZE || in io_init()
700 ubi->leb_start & (ubi->min_io_size - 1)) { in io_init()
702 ubi->vid_hdr_offset, ubi->leb_start); in io_init()
725 ubi->leb_size = ubi->peb_size - ubi->leb_start; in io_init()
998 ubi->vid_hdr_offset, ubi->vid_hdr_aloffset, ubi->leb_start); in ubi_attach_mtd_dev()
Dio.c263 if (offset >= ubi->leb_start) { in ubi_io_write()
640 int vid_hdr_offset, leb_start; in validate_ec_hdr() local
644 leb_start = be32_to_cpu(ec_hdr->data_offset); in validate_ec_hdr()
658 if (leb_start != ubi->leb_start) { in validate_ec_hdr()
660 leb_start, ubi->leb_start); in validate_ec_hdr()
821 ec_hdr->data_offset = cpu_to_be32(ubi->leb_start); in ubi_io_write_ec_hdr()
Dubi.h651 int leb_start; member
1146 return ubi_io_read(ubi, buf, pnum, offset + ubi->leb_start, len); in ubi_io_read_data()
1158 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()
Dattach.c893 err = ubi_io_read(ubi, ubi->peb_buf, pnum, ubi->leb_start, in check_corruption()
918 pnum, ubi->leb_start, ubi->leb_size); in check_corruption()
/Linux-v4.19/include/linux/mtd/
Dubi.h192 int leb_start; member
/Linux-v4.19/fs/ubifs/
Dsuper.c519 c->leb_start = c->di.leb_start; in init_constants_early()
Dubifs.h1324 int leb_start; member
Dio.c1059 size = c->max_write_size - (c->leb_start % c->max_write_size); in ubifs_wbuf_init()