Home
last modified time | relevance | path

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

12

/openbmc/u-boot/fs/ubifs/
H A 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 …]
H A 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()
H A 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()
/openbmc/linux/fs/ubifs/
H A Dio.c573 ubifs_assert(c, wbuf->size <= c->max_write_size); in ubifs_wbuf_sync_nolock()
576 if (c->leb_size - wbuf->offs >= c->max_write_size) in ubifs_wbuf_sync_nolock()
577 ubifs_assert(c, !((wbuf->offs + wbuf->size) % c->max_write_size)); in ubifs_wbuf_sync_nolock()
606 if (c->leb_size - wbuf->offs < c->max_write_size) in ubifs_wbuf_sync_nolock()
608 else if (wbuf->offs & (c->max_write_size - 1)) in ubifs_wbuf_sync_nolock()
609 wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs; in ubifs_wbuf_sync_nolock()
611 wbuf->size = c->max_write_size; in ubifs_wbuf_sync_nolock()
647 if (c->leb_size - wbuf->offs < c->max_write_size) in ubifs_wbuf_seek_nolock()
649 else if (wbuf->offs & (c->max_write_size - 1)) in ubifs_wbuf_seek_nolock()
650 wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs; in ubifs_wbuf_seek_nolock()
[all …]
H A Dsuper.c536 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()
1567 c->max_write_size); in mount_ubifs()
H A 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()
/openbmc/linux/fs/smb/server/
H A Dsmb2ops.c20 .max_write_size = SMB21_DEFAULT_IOSIZE,
46 .max_write_size = SMB3_DEFAULT_IOSIZE,
73 .max_write_size = SMB3_DEFAULT_IOSIZE,
100 .max_write_size = SMB3_DEFAULT_IOSIZE,
308 smb21_server_values.max_write_size = sz; in init_smb2_max_write_size()
309 smb30_server_values.max_write_size = sz; in init_smb2_max_write_size()
310 smb302_server_values.max_write_size = sz; in init_smb2_max_write_size()
311 smb311_server_values.max_write_size = sz; in init_smb2_max_write_size()
H A Dsmb_common.h352 __u32 max_write_size; member
H A Dconnection.c349 SMB3_MAX_MSGSIZE + conn->vals->max_write_size; in ksmbd_conn_handler_loop()
/openbmc/u-boot/drivers/spi/
H A Dspi-mem-nodm.c91 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 Dspi-mem.c423 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 Dbcm63xx_spi.c362 slave->max_write_size = regs[SPI_TX_SIZE]; in bcm63xx_spi_child_pre_probe()
H A Dich.c656 slave->max_write_size = priv->databytes; in ich_spi_child_pre_probe()
/openbmc/linux/drivers/s390/net/
H A Dctcm_mpc.h27 void (*callback)(int port_num, int max_write_size));
30 void (*callback)(int port_num, int rc, int max_write_size));
/openbmc/u-boot/drivers/mtd/ubi/
H A 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()
H A Dkapi.c37 di->max_write_size = ubi->max_write_size; in ubi_do_get_device_info()
H A Dubi.h619 int max_write_size; member
/openbmc/linux/drivers/mtd/ubi/
H A Dbuild.c651 ubi->max_write_size = ubi->mtd->writebufsize; in io_init()
656 if (ubi->max_write_size < ubi->min_io_size || in io_init()
657 ubi->max_write_size % ubi->min_io_size || in io_init()
658 !is_power_of_2(ubi->max_write_size)) { in io_init()
660 ubi->max_write_size, ubi->min_io_size); in io_init()
669 dbg_gen("max_write_size %d", ubi->max_write_size); in io_init()
1029 ubi->min_io_size, ubi->max_write_size, ubi->hdrs_min_io_size); in ubi_attach_mtd_dev()
H A Dkapi.c32 di->max_write_size = ubi->max_write_size; in ubi_do_get_device_info()
H A Dubi.h648 int max_write_size; member
/openbmc/linux/include/linux/mtd/
H A Dubi.h182 int max_write_size; member
/openbmc/u-boot/include/linux/mtd/
H A Dubi.h185 int max_write_size; member
/openbmc/u-boot/include/
H A Dspi.h109 unsigned int max_write_size; member
/openbmc/ipmitool/include/ipmitool/
H A Dipmi_fru.h67 uint8_t max_write_size; member
/openbmc/ipmitool/lib/
H A Dipmi_fru.c456 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()

12