Searched refs:max_write_size (Results 1 – 17 of 17) sorted by relevance
| /openbmc/u-boot/fs/ubifs/ |
| H A D | io.c | 513 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 …]
|
| H A D | super.c | 701 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()
|
| H A D | recovery.c | 416 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()
|
| H A D | ubifs.h | 1924 int max_write_size; member
|
| H A D | debug.c | 2602 to = min(len, ALIGN(from + 1, c->max_write_size)); in corrupt_data()
|
| /openbmc/u-boot/drivers/spi/ |
| H A D | spi-mem-nodm.c | 91 if (slave->max_write_size && len > slave->max_write_size) in spi_mem_adjust_op_size() 97 else if (slave->max_write_size) in spi_mem_adjust_op_size() 99 slave->max_write_size - len); in spi_mem_adjust_op_size()
|
| H A D | spi-mem.c | 423 if (slave->max_write_size && len > slave->max_write_size) in spi_mem_adjust_op_size() 429 else if (slave->max_write_size) in spi_mem_adjust_op_size() 431 slave->max_write_size - len); in spi_mem_adjust_op_size()
|
| H A D | bcm63xx_spi.c | 362 slave->max_write_size = regs[SPI_TX_SIZE]; in bcm63xx_spi_child_pre_probe()
|
| H A D | ich.c | 656 slave->max_write_size = priv->databytes; in ich_spi_child_pre_probe()
|
| H A D | fsl_qspi.c | 869 slave->max_write_size = TX_BUFFER_SIZE; in fsl_qspi_child_pre_probe()
|
| /openbmc/u-boot/drivers/mtd/ubi/ |
| H A D | build.c | 708 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()
|
| H A D | kapi.c | 37 di->max_write_size = ubi->max_write_size; in ubi_do_get_device_info()
|
| H A D | ubi.h | 619 int max_write_size; member
|
| /openbmc/u-boot/include/linux/mtd/ |
| H A D | ubi.h | 185 int max_write_size; member
|
| /openbmc/u-boot/include/ |
| H A D | spi.h | 109 unsigned int max_write_size; member
|
| /openbmc/ipmitool/include/ipmitool/ |
| H A D | ipmi_fru.h | 67 uint8_t max_write_size; member
|
| /openbmc/ipmitool/lib/ |
| H A D | ipmi_fru.c | 456 if (fru->max_write_size == 0) { in write_fru_area() 472 fru->max_write_size = 255; in write_fru_area() 475 fru->max_write_size = max_rq_size - 3; in write_fru_area() 480 fru->max_write_size &= ~1; in write_fru_area() 504 if (tmp > fru->max_write_size) { in write_fru_area() 505 writeLength = fru->max_write_size; in write_fru_area() 541 if (fru->max_write_size > 8) { in write_fru_area() 542 fru->max_write_size -= 8; in write_fru_area() 544 fru->max_write_size); in write_fru_area()
|