Home
last modified time | relevance | path

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

/linux-6.6.21/fs/nfs/
Ddirect.c87 ssize_t dreq_len) in nfs_direct_handle_truncated() argument
92 if (dreq->max_count >= dreq_len) { in nfs_direct_handle_truncated()
93 dreq->max_count = dreq_len; in nfs_direct_handle_truncated()
94 if (dreq->count > dreq_len) in nfs_direct_handle_truncated()
95 dreq->count = dreq_len; in nfs_direct_handle_truncated()
107 ssize_t dreq_len = 0; in nfs_direct_count_bytes() local
110 dreq_len = hdr_end - dreq->io_start; in nfs_direct_count_bytes()
112 nfs_direct_handle_truncated(dreq, hdr, dreq_len); in nfs_direct_count_bytes()
114 if (dreq_len > dreq->max_count) in nfs_direct_count_bytes()
115 dreq_len = dreq->max_count; in nfs_direct_count_bytes()
[all …]