Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/mtd/ubi/
Dbuild.c632 ubi->hdrs_min_io_size = ubi->mtd->writesize >> ubi->mtd->subpage_sft; in io_init()
645 ubi_assert(ubi->hdrs_min_io_size > 0); in io_init()
646 ubi_assert(ubi->hdrs_min_io_size <= ubi->min_io_size); in io_init()
647 ubi_assert(ubi->min_io_size % ubi->hdrs_min_io_size == 0); in io_init()
663 ubi->ec_hdr_alsize = ALIGN(UBI_EC_HDR_SIZE, ubi->hdrs_min_io_size); in io_init()
664 ubi->vid_hdr_alsize = ALIGN(UBI_VID_HDR_SIZE, ubi->hdrs_min_io_size); in io_init()
668 dbg_gen("hdrs_min_io_size %d", ubi->hdrs_min_io_size); in io_init()
678 ~(ubi->hdrs_min_io_size - 1); in io_init()
723 if (ubi->vid_hdr_offset + UBI_VID_HDR_SIZE <= ubi->hdrs_min_io_size) { in io_init()
1004 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.h637 int hdrs_min_io_size; member