Home
last modified time | relevance | path

Searched refs:max_write_size (Results 1 – 5 of 5) sorted by relevance

/fs/ubifs/
Dio.c563 ubifs_assert(c, wbuf->size <= c->max_write_size); in ubifs_wbuf_sync_nolock()
566 if (c->leb_size - wbuf->offs >= c->max_write_size) in ubifs_wbuf_sync_nolock()
567 ubifs_assert(c, !((wbuf->offs + wbuf->size) % c->max_write_size)); in ubifs_wbuf_sync_nolock()
596 if (c->leb_size - wbuf->offs < c->max_write_size) in ubifs_wbuf_sync_nolock()
598 else if (wbuf->offs & (c->max_write_size - 1)) in ubifs_wbuf_sync_nolock()
599 wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs; in ubifs_wbuf_sync_nolock()
601 wbuf->size = c->max_write_size; in ubifs_wbuf_sync_nolock()
637 if (c->leb_size - wbuf->offs < c->max_write_size) in ubifs_wbuf_seek_nolock()
639 else if (wbuf->offs & (c->max_write_size - 1)) in ubifs_wbuf_seek_nolock()
640 wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs; in ubifs_wbuf_seek_nolock()
[all …]
Dsuper.c518 c->max_write_size = c->di.max_write_size; in init_constants_early()
519 c->max_write_shift = fls(c->max_write_size) - 1; in init_constants_early()
542 if (c->max_write_size < c->min_io_size || in init_constants_early()
543 c->max_write_size % c->min_io_size || in init_constants_early()
544 !is_power_of_2(c->max_write_size)) { in init_constants_early()
546 c->max_write_size, c->min_io_size); in init_constants_early()
558 if (c->max_write_size < c->min_io_size) { in init_constants_early()
559 c->max_write_size = c->min_io_size; in init_constants_early()
1546 c->max_write_size); in mount_ubifs()
Drecovery.c411 empty_offs = ALIGN(offs + 1, c->max_write_size); in is_last_write()
465 skip = ALIGN(offs + UBIFS_CH_SZ, c->max_write_size) - offs; in no_more_nodes()
477 skip = ALIGN(offs + dlen, c->max_write_size) - offs; in no_more_nodes()
914 int len = c->max_write_size, err; in recover_head()
Dubifs.h1350 int max_write_size; member
Ddebug.c2556 to = min(len, ALIGN(from + 1, c->max_write_size)); in corrupt_data()