Home
last modified time | relevance | path

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

/external/u-boot/fs/ubifs/
Dio.c513 ubifs_assert(wbuf->size <= c->max_write_size); in ubifs_wbuf_sync_nolock()
516 if (c->leb_size - wbuf->offs >= c->max_write_size) in ubifs_wbuf_sync_nolock()
517 ubifs_assert(!((wbuf->offs + wbuf->size) % c->max_write_size)); in ubifs_wbuf_sync_nolock()
546 if (c->leb_size - wbuf->offs < c->max_write_size) in ubifs_wbuf_sync_nolock()
548 else if (wbuf->offs & (c->max_write_size - 1)) in ubifs_wbuf_sync_nolock()
549 wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs; in ubifs_wbuf_sync_nolock()
551 wbuf->size = c->max_write_size; in ubifs_wbuf_sync_nolock()
587 if (c->leb_size - wbuf->offs < c->max_write_size) in ubifs_wbuf_seek_nolock()
589 else if (wbuf->offs & (c->max_write_size - 1)) in ubifs_wbuf_seek_nolock()
590 wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs; in ubifs_wbuf_seek_nolock()
[all …]
Dsuper.c701 c->max_write_size = c->di.max_write_size; in init_constants_early()
702 c->max_write_shift = fls(c->max_write_size) - 1; in init_constants_early()
725 if (c->max_write_size < c->min_io_size || in init_constants_early()
726 c->max_write_size % c->min_io_size || in init_constants_early()
727 !is_power_of_2(c->max_write_size)) { in init_constants_early()
729 c->max_write_size, c->min_io_size); in init_constants_early()
741 if (c->max_write_size < c->min_io_size) { in init_constants_early()
742 c->max_write_size = c->min_io_size; in init_constants_early()
1623 c->max_write_size); in mount_ubifs()
Drecovery.c416 empty_offs = ALIGN(offs + 1, c->max_write_size); in is_last_write()
471 skip = ALIGN(offs + UBIFS_CH_SZ, c->max_write_size) - offs; in no_more_nodes()
483 skip = ALIGN(offs + dlen, c->max_write_size) - offs; in no_more_nodes()
922 int len = c->max_write_size, err; in recover_head()
Dubifs.h1924 int max_write_size; member
Ddebug.c2602 to = min(len, ALIGN(from + 1, c->max_write_size)); in corrupt_data()
/external/u-boot/drivers/mtd/ubi/
Dbuild.c708 ubi->max_write_size = ubi->mtd->writebufsize; in io_init()
713 if (ubi->max_write_size < ubi->min_io_size || in io_init()
714 ubi->max_write_size % ubi->min_io_size || in io_init()
715 !is_power_of_2(ubi->max_write_size)) { in io_init()
717 ubi->max_write_size, ubi->min_io_size); in io_init()
726 dbg_gen("max_write_size %d", ubi->max_write_size); in io_init()
1039 ubi->min_io_size, ubi->max_write_size, ubi->hdrs_min_io_size); in ubi_attach_mtd_dev()
Dkapi.c37 di->max_write_size = ubi->max_write_size; in ubi_do_get_device_info()
Dubi.h619 int max_write_size; member
/external/u-boot/include/linux/mtd/
Dubi.h185 int max_write_size; member
/external/u-boot/include/
Dspi.h107 unsigned int max_write_size; member
/external/u-boot/drivers/spi/
Dbcm63xx_spi.c362 slave->max_write_size = regs[SPI_TX_SIZE]; in bcm63xx_spi_child_pre_probe()
Dfsl_qspi.c925 qspi->slave.max_write_size = TX_BUFFER_SIZE; in spi_setup_slave()
1006 slave->max_write_size = TX_BUFFER_SIZE; in fsl_qspi_child_pre_probe()
Dich.c656 slave->max_write_size = priv->databytes; in ich_spi_child_pre_probe()
/external/u-boot/drivers/mtd/spi/
Dspi_flash.c405 if (spi->max_write_size) in spi_flash_cmd_write_ops()
407 spi->max_write_size - sizeof(cmd)); in spi_flash_cmd_write_ops()