Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/nfs/
Ddirect.c118 ssize_t dreq_len) in nfs_direct_handle_truncated() argument
123 if (dreq->max_count >= dreq_len) { in nfs_direct_handle_truncated()
124 dreq->max_count = dreq_len; in nfs_direct_handle_truncated()
125 if (dreq->count > dreq_len) in nfs_direct_handle_truncated()
126 dreq->count = dreq_len; in nfs_direct_handle_truncated()
140 ssize_t dreq_len = 0; in nfs_direct_count_bytes() local
143 dreq_len = hdr_end - dreq->io_start; in nfs_direct_count_bytes()
145 nfs_direct_handle_truncated(dreq, hdr, dreq_len); in nfs_direct_count_bytes()
147 if (dreq_len > dreq->max_count) in nfs_direct_count_bytes()
148 dreq_len = dreq->max_count; in nfs_direct_count_bytes()
[all …]