Home
last modified time | relevance | path

Searched refs:MAX_RW_COUNT (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/fs/
Dread_write.c408 .iov_len = min_t(size_t, count, MAX_RW_COUNT), in __kernel_read()
464 if (count > MAX_RW_COUNT) in vfs_read()
465 count = MAX_RW_COUNT; in vfs_read()
533 .iov_len = min_t(size_t, count, MAX_RW_COUNT), in __kernel_write()
578 if (count > MAX_RW_COUNT) in vfs_write()
579 count = MAX_RW_COUNT; in vfs_write()
1211 if (count > MAX_RW_COUNT) in do_sendfile()
1212 count = MAX_RW_COUNT; in do_sendfile()
1393 len > MAX_RW_COUNT ? MAX_RW_COUNT : len, 0); in generic_copy_file_range()
1519 min_t(loff_t, MAX_RW_COUNT, len), in vfs_copy_file_range()
Dsplice.c982 if (unlikely(len > MAX_RW_COUNT)) in vfs_splice_read()
983 len = MAX_RW_COUNT; in vfs_splice_read()
Dseq_file.c35 if (unlikely(size > MAX_RW_COUNT)) in seq_buf_alloc()
/linux-6.6.21/lib/
Diov_iter.c664 if (WARN_ON(unroll > MAX_RW_COUNT)) in iov_iter_revert()
1106 if (maxsize > MAX_RW_COUNT) in __iov_iter_get_pages_alloc()
1107 maxsize = MAX_RW_COUNT; in __iov_iter_get_pages_alloc()
1491 if (len > MAX_RW_COUNT - total_len) { in __import_iovec()
1492 len = MAX_RW_COUNT - total_len; in __import_iovec()
1540 if (len > MAX_RW_COUNT) in import_single_range()
1541 len = MAX_RW_COUNT; in import_single_range()
1552 if (len > MAX_RW_COUNT) in import_ubuf()
1553 len = MAX_RW_COUNT; in import_ubuf()
1840 maxsize = min_t(size_t, min_t(size_t, maxsize, i->count), MAX_RW_COUNT); in iov_iter_extract_pages()
/linux-6.6.21/fs/xfs/scrub/
Dxfile.c140 if (count > MAX_RW_COUNT) in xfile_pread()
218 if (count > MAX_RW_COUNT) in xfile_pwrite()
/linux-6.6.21/io_uring/
Dkbuf.c468 buf->len = min_t(__u32, pbuf->len, MAX_RW_COUNT); in io_add_buffers()
/linux-6.6.21/include/linux/
Dfs.h2460 #define MAX_RW_COUNT (INT_MAX & PAGE_MASK) macro