Searched refs:hdrs_min_io_size (Results 1 – 3 of 3) sorted by relevance
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 - 1); in io_init()746 if (ubi->vid_hdr_offset + UBI_VID_HDR_SIZE <= ubi->hdrs_min_io_size) { in io_init()1038 ubi->min_io_size, ubi->max_write_size, ubi->hdrs_min_io_size); in ubi_attach_mtd_dev()
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()
637 int hdrs_min_io_size; member