Searched refs:max_write_size (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/fs/ubifs/ |
D | io.c | 552 ubifs_assert(c, wbuf->size <= c->max_write_size); in ubifs_wbuf_sync_nolock() 555 if (c->leb_size - wbuf->offs >= c->max_write_size) in ubifs_wbuf_sync_nolock() 556 ubifs_assert(c, !((wbuf->offs + wbuf->size) % c->max_write_size)); in ubifs_wbuf_sync_nolock() 585 if (c->leb_size - wbuf->offs < c->max_write_size) in ubifs_wbuf_sync_nolock() 587 else if (wbuf->offs & (c->max_write_size - 1)) in ubifs_wbuf_sync_nolock() 588 wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs; in ubifs_wbuf_sync_nolock() 590 wbuf->size = c->max_write_size; in ubifs_wbuf_sync_nolock() 626 if (c->leb_size - wbuf->offs < c->max_write_size) in ubifs_wbuf_seek_nolock() 628 else if (wbuf->offs & (c->max_write_size - 1)) in ubifs_wbuf_seek_nolock() 629 wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs; in ubifs_wbuf_seek_nolock() [all …]
|
D | super.c | 536 c->max_write_size = c->di.max_write_size; in init_constants_early() 537 c->max_write_shift = fls(c->max_write_size) - 1; 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() 562 !is_power_of_2(c->max_write_size)) { in init_constants_early() 564 c->max_write_size, c->min_io_size); 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() 1555 c->max_write_size); in mount_ubifs()
|
D | recovery.c | 411 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()
|
D | ubifs.h | 1349 int max_write_size; member
|
D | debug.c | 2576 to = min(len, ALIGN(from + 1, c->max_write_size)); in corrupt_data()
|
/kernel/linux/linux-5.10/drivers/s390/net/ |
D | ctcm_mpc.h | 27 void (*callback)(int port_num, int max_write_size)); 30 void (*callback)(int port_num, int rc, int max_write_size));
|
/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
D | build.c | 650 ubi->max_write_size = ubi->mtd->writebufsize; in io_init() 655 if (ubi->max_write_size < ubi->min_io_size || in io_init() 656 ubi->max_write_size % ubi->min_io_size || in io_init() 657 !is_power_of_2(ubi->max_write_size)) { in io_init() 659 ubi->max_write_size, ubi->min_io_size); in io_init() 668 dbg_gen("max_write_size %d", ubi->max_write_size); in io_init() 1000 ubi->min_io_size, ubi->max_write_size, ubi->hdrs_min_io_size); in ubi_attach_mtd_dev()
|
D | kapi.c | 32 di->max_write_size = ubi->max_write_size; in ubi_do_get_device_info()
|
D | ubi.h | 652 int max_write_size; member
|
/kernel/linux/linux-5.10/include/linux/mtd/ |
D | ubi.h | 181 int max_write_size; member
|
/kernel/linux/patches/linux-5.10/yangfan_patch/ |
D | others.patch | 69 + skip = ALIGN(offs + le32_to_cpu(ch->len), c->max_write_size) - offs;
|