Home
last modified time | relevance | path

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

/freebsd-13.1/sys/fs/nfsserver/
H A Dnfs_nfsdport.c290 int nh_seqcount; /* heuristic */ member
324 nh->nh_seqcount = 4; in nfsrv_sequential_heuristic()
326 nh->nh_seqcount = 1; in nfsrv_sequential_heuristic()
333 nh->nh_seqcount += howmany(uio->uio_resid, 16384); in nfsrv_sequential_heuristic()
334 if (nh->nh_seqcount > IO_SEQMAX) in nfsrv_sequential_heuristic()
335 nh->nh_seqcount = IO_SEQMAX; in nfsrv_sequential_heuristic()
339 } else if (nh->nh_seqcount > 1) { in nfsrv_sequential_heuristic()
340 nh->nh_seqcount /= 2; in nfsrv_sequential_heuristic()
342 nh->nh_seqcount = 0; in nfsrv_sequential_heuristic()
1025 ioflag |= nh->nh_seqcount << IO_SEQSHIFT; in nfsvno_read()
[all …]