Home
last modified time | relevance | path

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

/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()
/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,
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()
Dsmb_common.h352 __u32 max_write_size; member
Dconnection.c336 SMB3_MAX_MSGSIZE + conn->vals->max_write_size; in ksmbd_conn_handler_loop()
Dsmb2pdu.c285 rsp->MaxWriteSize = cpu_to_le32(conn->vals->max_write_size); in init_smb2_neg_rsp()
1207 rsp->MaxWriteSize = cpu_to_le32(conn->vals->max_write_size); in smb2_handle_negotiate()
6841 unsigned int max_write_size = work->conn->vals->max_write_size; in smb2_write() local
6856 max_write_size = get_smbd_max_read_write_size(); in smb2_write()
6895 if (length > max_write_size) { in smb2_write()
6897 max_write_size); in smb2_write()