Home
last modified time | relevance | path

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

/linux/fs/ubifs/
H A Dio.c23 * 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 Drecovery.c29 * 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 Dubifs.h657 * @size: write-buffer size (in [@c->min_io_size, @c->max_write_size] range)
1102 * @max_write_size: maximum amount of bytes the underlying flash can write at a
1104 * @max_write_shift: number of bits in @max_write_size minus one
1362 int max_write_size; member
H A Ddebug.c2584 to = min(len, ALIGN(from + 1, c->max_write_size)); in corrupt_data()
/linux/fs/smb/server/
H A 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()
H A Dsmb_common.h354 __u32 max_write_size; member
H A Dconnection.c351 SMB3_MAX_MSGSIZE + conn->vals->max_write_size; in ksmbd_conn_handler_loop()
/linux/drivers/s390/net/
H A 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/drivers/mtd/ubi/
H A Dbuild.c657 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 Dubi.h545 * @max_write_size: maximum amount of bytes the underlying flash can write at a
648 int max_write_size; member
/linux/include/linux/mtd/
H A Dubi.h152 * @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
/linux/Documentation/admin-guide/device-mapper/
H A Ddm-crypt.rst181 max_write_size
/linux/drivers/md/
H A Ddm-crypt.c253 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");
273 val = min_not_zero(READ_ONCE(max_write_size), in get_max_request_sectors()