Home
last modified time | relevance | path

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

/linux/fs/
H A Dread_write.c503 .iov_len = min_t(size_t, count, MAX_RW_COUNT), in __kernel_read()
559 if (count > MAX_RW_COUNT) in vfs_read()
560 count = MAX_RW_COUNT; in vfs_read()
628 .iov_len = min_t(size_t, count, MAX_RW_COUNT), in __kernel_write()
673 if (count > MAX_RW_COUNT) in vfs_write()
674 count = MAX_RW_COUNT; in vfs_write()
1323 if (count > MAX_RW_COUNT) in do_sendfile()
1324 count = MAX_RW_COUNT; in do_sendfile()
1586 min_t(loff_t, MAX_RW_COUNT, len), in vfs_copy_file_range()
1621 min_t(size_t, len, MAX_RW_COUNT), 0); in vfs_copy_file_range()
H A Dsplice.c974 if (unlikely(len > MAX_RW_COUNT)) in do_splice_read()
975 len = MAX_RW_COUNT; in do_splice_read()
1259 min_t(size_t, len, MAX_RW_COUNT), in splice_file_range()
/linux/fs/xfs/scrub/
H A Dxfile.c116 if (count > MAX_RW_COUNT) in xfile_load()
179 if (count > MAX_RW_COUNT) in xfile_store()
/linux/lib/
H A Diov_iter.c615 if (WARN_ON(unroll > MAX_RW_COUNT)) in iov_iter_revert()
1159 if (maxsize > MAX_RW_COUNT) in __iov_iter_get_pages_alloc()
1160 maxsize = MAX_RW_COUNT; in __iov_iter_get_pages_alloc()
1480 if (len > MAX_RW_COUNT - total_len) { in __import_iovec()
1481 len = MAX_RW_COUNT - total_len; in __import_iovec()
1528 if (len > MAX_RW_COUNT) in import_ubuf()
1529 len = MAX_RW_COUNT; in import_ubuf()
1902 maxsize = min_t(size_t, min_t(size_t, maxsize, i->count), MAX_RW_COUNT); in iov_iter_extract_pages()
/linux/fs/cachefiles/
H A Dio.c634 stream->sreq_max_len = MAX_RW_COUNT; in cachefiles_prepare_write_subreq()
/linux/io_uring/
H A Dkbuf.c562 buf->len = min_t(__u32, pbuf->len, MAX_RW_COUNT); in io_add_buffers()
/linux/include/linux/
H A Dfs.h2704 #define MAX_RW_COUNT (INT_MAX & PAGE_MASK) macro