Home
last modified time | relevance | path

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

/linux-6.6.21/fs/ubifs/
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 …]
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()
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.h1377 int max_write_size; member
Ddebug.c2576 to = min(len, ALIGN(from + 1, c->max_write_size)); in corrupt_data()
/linux-6.6.21/fs/smb/server/
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,
302 smb21_server_values.max_write_size = sz; in init_smb2_max_write_size()
303 smb30_server_values.max_write_size = sz; in init_smb2_max_write_size()
304 smb302_server_values.max_write_size = sz; in init_smb2_max_write_size()
305 smb311_server_values.max_write_size = sz; in init_smb2_max_write_size()
Dconnection.c304 SMB3_MAX_MSGSIZE + conn->vals->max_write_size; in ksmbd_conn_handler_loop()
Dsmb_common.h352 __u32 max_write_size; member
Dsmb2pdu.c285 rsp->MaxWriteSize = cpu_to_le32(conn->vals->max_write_size); in init_smb2_neg_rsp()
1221 rsp->MaxWriteSize = cpu_to_le32(conn->vals->max_write_size); in smb2_handle_negotiate()
6533 unsigned int max_write_size = work->conn->vals->max_write_size; in smb2_write() local
6548 max_write_size = get_smbd_max_read_write_size(); in smb2_write()
6587 if (length > max_write_size) { in smb2_write()
6589 max_write_size); in smb2_write()
/linux-6.6.21/drivers/s390/net/
Dctcm_mpc.h27 void (*callback)(int port_num, int max_write_size));
30 void (*callback)(int port_num, int rc, int max_write_size));
/linux-6.6.21/drivers/mtd/ubi/
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()
Dkapi.c32 di->max_write_size = ubi->max_write_size; in ubi_do_get_device_info()
Dubi.h648 int max_write_size; member
/linux-6.6.21/include/linux/mtd/
Dubi.h182 int max_write_size; member