Home
last modified time | relevance | path

Searched refs:hdrs_min_io_size (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.15/drivers/mtd/ubi/
Dbuild.c636 ubi->hdrs_min_io_size = ubi->mtd->writesize >> ubi->mtd->subpage_sft; in io_init()
649 ubi_assert(ubi->hdrs_min_io_size > 0); in io_init()
650 ubi_assert(ubi->hdrs_min_io_size <= ubi->min_io_size); in io_init()
651 ubi_assert(ubi->min_io_size % ubi->hdrs_min_io_size == 0); in io_init()
667 ubi->ec_hdr_alsize = ALIGN(UBI_EC_HDR_SIZE, ubi->hdrs_min_io_size); in io_init()
668 ubi->vid_hdr_alsize = ALIGN(UBI_VID_HDR_SIZE, ubi->hdrs_min_io_size); in io_init()
672 dbg_gen("hdrs_min_io_size %d", ubi->hdrs_min_io_size); in io_init()
682 ~(ubi->hdrs_min_io_size - 1); in io_init()
727 if (ubi->vid_hdr_offset + UBI_VID_HDR_SIZE <= ubi->hdrs_min_io_size) { in io_init()
1006 ubi->min_io_size, ubi->max_write_size, ubi->hdrs_min_io_size); in ubi_attach_mtd_dev()
Dio.c233 ubi_assert(offset % ubi->hdrs_min_io_size == 0); in ubi_io_write()
234 ubi_assert(len > 0 && len % ubi->hdrs_min_io_size == 0); in ubi_io_write()
Dubi.h639 int hdrs_min_io_size; member