Searched refs:max_write_size (Results 1 – 12 of 12) sorted by relevance
| /linux/fs/ubifs/ |
| H A D | io.c | 568 ubifs_assert(c, wbuf->size <= c->max_write_size); in ubifs_wbuf_sync_nolock() 571 if (c->leb_size - wbuf->offs >= c->max_write_size) in ubifs_wbuf_sync_nolock() 572 ubifs_assert(c, !((wbuf->offs + wbuf->size) % c->max_write_size)); in ubifs_wbuf_sync_nolock() 601 if (c->leb_size - wbuf->offs < c->max_write_size) in ubifs_wbuf_sync_nolock() 603 else if (wbuf->offs & (c->max_write_size - 1)) in ubifs_wbuf_sync_nolock() 604 wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs; in ubifs_wbuf_sync_nolock() 606 wbuf->size = c->max_write_size; in ubifs_wbuf_sync_nolock() 642 if (c->leb_size - wbuf->offs < c->max_write_size) in ubifs_wbuf_seek_nolock() 644 else if (wbuf->offs & (c->max_write_size - 1)) in ubifs_wbuf_seek_nolock() 645 wbuf->size = ALIGN(wbuf->offs, c->max_write_size) - wbuf->offs; in ubifs_wbuf_seek_nolock() [all …]
|
| H A D | super.c | 532 c->max_write_size = c->di.max_write_size; in init_constants_early() 533 c->max_write_shift = fls(c->max_write_size) - 1; in init_constants_early() 556 if (c->max_write_size < c->min_io_size || in init_constants_early() 557 c->max_write_size % c->min_io_size || in init_constants_early() 558 !is_power_of_2(c->max_write_size)) { in init_constants_early() 560 c->max_write_size, c->min_io_size); in init_constants_early() 572 if (c->max_write_size < c->min_io_size) { in init_constants_early() 573 c->max_write_size = c->min_io_size; in init_constants_early() 1509 c->max_write_size); in mount_ubifs()
|
| H A 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()
|
| H A D | ubifs.h | 1366 int max_write_size; member
|
| H A D | debug.c | 2584 to = min(len, ALIGN(from + 1, c->max_write_size)); in corrupt_data()
|
| /linux/drivers/s390/net/ |
| H A D | ctcm_mpc.h | 27 void (*callback)(int port_num, int max_write_size)); 30 void (*callback)(int port_num, int rc, int max_write_size));
|
| /linux/drivers/mtd/ubi/ |
| H A D | build.c | 657 ubi->max_write_size = ubi->mtd->writebufsize; in io_init() 662 if (ubi->max_write_size < ubi->min_io_size || in io_init() 663 ubi->max_write_size % ubi->min_io_size || in io_init() 664 !is_power_of_2(ubi->max_write_size)) { in io_init() 666 ubi->max_write_size, ubi->min_io_size); in io_init() 675 dbg_gen("max_write_size %d", ubi->max_write_size); in io_init() 1038 ubi->min_io_size, ubi->max_write_size, ubi->hdrs_min_io_size); in ubi_attach_mtd_dev()
|
| H A D | ubi.h | 648 int max_write_size; member
|
| /linux/fs/smb/server/ |
| H A D | connection.c | 350 SMB3_MAX_MSGSIZE + conn->vals->max_write_size; in ksmbd_conn_handler_loop()
|
| H A D | smb2pdu.c | 289 rsp->MaxWriteSize = cpu_to_le32(conn->vals->max_write_size); in init_smb2_neg_rsp() 1220 rsp->MaxWriteSize = cpu_to_le32(conn->vals->max_write_size); in smb2_handle_negotiate() 7019 unsigned int max_write_size = work->conn->vals->max_write_size; in smb2_write() local 7038 max_write_size = get_smbd_max_read_write_size(work->conn->transport); in smb2_write() 7039 if (max_write_size == 0) { in smb2_write() 7081 if (length > max_write_size) { in smb2_write() 7083 max_write_size); in smb2_write()
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | dm-crypt.rst | 181 max_write_size
|
| /linux/drivers/md/ |
| H A D | dm-crypt.c | 253 static unsigned int max_write_size = 0; variable 254 module_param(max_write_size, uint, 0644); 255 MODULE_PARM_DESC(max_write_size, "Maximum size of a write request"); 266 val = min_not_zero(READ_ONCE(max_write_size), in get_max_request_sectors()
|