Searched refs:hdrs_min_io_size (Results 1 – 3 of 3) sorted by relevance
691 ubi->hdrs_min_io_size = ubi->mtd->writesize >> ubi->mtd->subpage_sft; in io_init()704 ubi_assert(ubi->hdrs_min_io_size > 0); in io_init()705 ubi_assert(ubi->hdrs_min_io_size <= ubi->min_io_size); in io_init()706 ubi_assert(ubi->min_io_size % ubi->hdrs_min_io_size == 0); in io_init()722 ubi->ec_hdr_alsize = ALIGN(UBI_EC_HDR_SIZE, ubi->hdrs_min_io_size); in io_init()723 ubi->vid_hdr_alsize = ALIGN(UBI_VID_HDR_SIZE, ubi->hdrs_min_io_size); in io_init()727 dbg_gen("hdrs_min_io_size %d", ubi->hdrs_min_io_size); in io_init()737 ~(ubi->hdrs_min_io_size - 1); in io_init()782 if (ubi->vid_hdr_offset + UBI_VID_HDR_SIZE <= ubi->hdrs_min_io_size) { in io_init()1039 ubi->min_io_size, ubi->max_write_size, ubi->hdrs_min_io_size); in ubi_attach_mtd_dev()
239 ubi_assert(offset % ubi->hdrs_min_io_size == 0); in ubi_io_write()240 ubi_assert(len > 0 && len % ubi->hdrs_min_io_size == 0); in ubi_io_write()
608 int hdrs_min_io_size; member