Home
last modified time | relevance | path

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

/linux/drivers/mtd/ubi/
H A Dbuild.c593 * aligned to @io->hdrs_min_io_size;
640 ubi->hdrs_min_io_size = ubi->mtd->writesize >> ubi->mtd->subpage_sft; in io_init()
653 ubi_assert(ubi->hdrs_min_io_size > 0); in io_init()
654 ubi_assert(ubi->hdrs_min_io_size <= ubi->min_io_size); in io_init()
655 ubi_assert(ubi->min_io_size % ubi->hdrs_min_io_size == 0); in io_init()
671 ubi->ec_hdr_alsize = ALIGN(UBI_EC_HDR_SIZE, ubi->hdrs_min_io_size); in io_init()
672 ubi->vid_hdr_alsize = ALIGN(UBI_VID_HDR_SIZE, ubi->hdrs_min_io_size); in io_init()
676 dbg_gen("hdrs_min_io_size %d", ubi->hdrs_min_io_size); in io_init()
686 ~(ubi->hdrs_min_io_size in io_init()
[all...]
H A Dio.c42 * I/O unit for the headers (the @ubi->hdrs_min_io_size field). But it still
245 ubi_assert(offset % ubi->hdrs_min_io_size == 0); in ubi_io_write()
246 ubi_assert(len > 0 && len % ubi->hdrs_min_io_size == 0); in ubi_io_write()
H A Dubi.h531 * @hdrs_min_io_size: minimal I/O unit size used for VID and EC headers
536 * @ec_hdr_alsize: size of the EC header aligned to @hdrs_min_io_size
537 * @vid_hdr_alsize: size of the VID header aligned to @hdrs_min_io_size
541 * @hdrs_min_io_size
637 int hdrs_min_io_size; member