Lines Matching refs:min_io_size
534 c->min_io_size = c->di.min_io_size; in init_constants_early()
535 c->min_io_shift = fls(c->min_io_size) - 1; in init_constants_early()
551 if (!is_power_of_2(c->min_io_size)) { in init_constants_early()
552 ubifs_errc(c, "bad min. I/O size %d", c->min_io_size); in init_constants_early()
560 if (c->max_write_size < c->min_io_size || in init_constants_early()
561 c->max_write_size % c->min_io_size || in init_constants_early()
564 c->max_write_size, c->min_io_size); in init_constants_early()
573 if (c->min_io_size < 8) { in init_constants_early()
574 c->min_io_size = 8; in init_constants_early()
576 if (c->max_write_size < c->min_io_size) { in init_constants_early()
577 c->max_write_size = c->min_io_size; in init_constants_early()
582 c->ref_node_alsz = ALIGN(UBIFS_REF_NODE_SZ, c->min_io_size); in init_constants_early()
583 c->mst_node_alsz = ALIGN(UBIFS_MST_NODE_SZ, c->min_io_size); in init_constants_early()
627 c->dead_wm = ALIGN(MIN_WRITE_SZ, c->min_io_size); in init_constants_early()
628 c->dark_wm = ALIGN(UBIFS_MAX_NODE_SZ, c->min_io_size); in init_constants_early()
696 tmp = ALIGN(tmp, c->min_io_size); in init_constants_sb()
1356 sz = ALIGN(c->max_idx_node_sz, c->min_io_size) * 2; in mount_ubifs()
1554 c->leb_size, c->leb_size >> 10, c->min_io_size, in mount_ubifs()