/kernel/linux/linux-6.6/fs/smb/server/ |
H A 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, 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()
|
H A D | connection.c | 304 SMB3_MAX_MSGSIZE + conn->vals->max_write_size; in ksmbd_conn_handler_loop()
|
H A D | smb_common.h | 352 __u32 max_write_size; member
|
H A D | smb2pdu.c | 285 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()
|
/kernel/linux/linux-5.10/fs/ubifs/ |
H A D | io.c | 23 * write size (@c->max_write_size). The latter is the maximum amount of bytes 25 * @c->max_write_size units should presumably be faster. Obviously, 26 * @c->min_io_size <= @c->max_write_size. Write-buffers are of 27 * @c->max_write_size bytes in size for maximum performance. However, when a 33 * hand, we want to write in optimal @c->max_write_size bytes chunks, which 34 * also means aligning writes at the @c->max_write_size bytes offsets. On the 37 * the next write offset to be not aligned to @c->max_write_size bytes. So the 39 * to @c->max_write_size bytes again. We do this by temporarily shrinking 531 * Note, although write-buffers are of @c->max_write_size, this function does 532 * not necessarily writes all @c->max_write_size byte [all...] |
H A 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() 1564 c->max_write_size); in mount_ubifs() [all...] |
H A D | recovery.c | 29 * writes in @c->max_write_size bytes at a time. 399 * for subsequent empty space starting from the next @c->max_write_size 408 * Round up to the next @c->max_write_size boundary i.e. @offs is in in is_last_write() 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 | 660 * @size: write-buffer size (in [@c->min_io_size, @c->max_write_size] range) 1098 * @max_write_size: maximum amount of bytes the underlying flash can write at a 1100 * @max_write_shift: number of bits in @max_write_size minus one 1349 int max_write_size; member
|
H A D | debug.c | 2576 to = min(len, ALIGN(from + 1, c->max_write_size)); in corrupt_data()
|
/kernel/linux/linux-6.6/fs/ubifs/ |
H A D | io.c | 23 * write size (@c->max_write_size). The latter is the maximum amount of bytes 25 * @c->max_write_size units should presumably be faster. Obviously, 26 * @c->min_io_size <= @c->max_write_size. Write-buffers are of 27 * @c->max_write_size bytes in size for maximum performance. However, when a 33 * hand, we want to write in optimal @c->max_write_size bytes chunks, which 34 * also means aligning writes at the @c->max_write_size bytes offsets. On the 37 * the next write offset to be not aligned to @c->max_write_size bytes. So the 39 * to @c->max_write_size bytes again. We do this by temporarily shrinking 552 * Note, although write-buffers are of @c->max_write_size, this function does 553 * not necessarily writes all @c->max_write_size byte [all...] |
H A 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() [all...] |
H A D | recovery.c | 29 * writes in @c->max_write_size bytes at a time. 399 * for subsequent empty space starting from the next @c->max_write_size 408 * Round up to the next @c->max_write_size boundary i.e. @offs is in in is_last_write() 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 | 669 * @size: write-buffer size (in [@c->min_io_size, @c->max_write_size] range) 1119 * @max_write_size: maximum amount of bytes the underlying flash can write at a 1121 * @max_write_shift: number of bits in @max_write_size minus one 1377 int max_write_size; member
|
H A D | debug.c | 2576 to = min(len, ALIGN(from + 1, c->max_write_size)); in corrupt_data()
|
/kernel/linux/linux-5.10/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));
|
/kernel/linux/linux-6.6/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));
|
/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
H A D | build.c | 651 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() 1023 ubi->min_io_size, ubi->max_write_size, ubi->hdrs_min_io_size); in ubi_attach_mtd_dev()
|
H A D | kapi.c | 32 di->max_write_size = ubi->max_write_size; in ubi_do_get_device_info()
|
H A D | ubi.h | 549 * @max_write_size: maximum amount of bytes the underlying flash can write at a 650 int max_write_size; member
|
/kernel/linux/linux-6.6/drivers/mtd/ubi/ |
H A D | build.c | 651 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 D | kapi.c | 32 di->max_write_size = ubi->max_write_size; in ubi_do_get_device_info()
|
H A D | ubi.h | 547 * @max_write_size: maximum amount of bytes the underlying flash can write at a 648 int max_write_size; member
|
/kernel/linux/linux-5.10/include/linux/mtd/ |
H A D | ubi.h | 151 * @max_write_size: maximum amount of bytes the underlying flash can write at a 160 * The @max_write_size field describes flash write maximum write unit. For 169 * single flash chip, while @max_write_size can be N * @min_io_size. 171 * The @max_write_size field is always greater or equivalent to @min_io_size. 172 * E.g., some NOR flashes may have (@min_io_size = 1, @max_write_size = 64). In 173 * contrast, NAND flashes usually have @min_io_size = @max_write_size = NAND 181 int max_write_size; member
|
/kernel/linux/linux-6.6/include/linux/mtd/ |
H A D | ubi.h | 152 * @max_write_size: maximum amount of bytes the underlying flash can write at a 161 * The @max_write_size field describes flash write maximum write unit. For 170 * single flash chip, while @max_write_size can be N * @min_io_size. 172 * The @max_write_size field is always greater or equivalent to @min_io_size. 173 * E.g., some NOR flashes may have (@min_io_size = 1, @max_write_size = 64). In 174 * contrast, NAND flashes usually have @min_io_size = @max_write_size = NAND 182 int max_write_size; member
|