Searched refs:max_write_size (Results 1 – 9 of 9) sorted by relevance
/fs/ubifs/ |
D | io.c | 573 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 …]
|
D | super.c | 536 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()
|
D | recovery.c | 411 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()
|
D | ubifs.h | 1377 int max_write_size; member
|
D | debug.c | 2576 to = min(len, ALIGN(from + 1, c->max_write_size)); in corrupt_data()
|
/fs/smb/server/ |
D | smb2ops.c | 20 .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()
|
D | smb_common.h | 352 __u32 max_write_size; member
|
D | connection.c | 336 SMB3_MAX_MSGSIZE + conn->vals->max_write_size; in ksmbd_conn_handler_loop()
|
D | smb2pdu.c | 285 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()
|