Home
last modified time | relevance | path

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

/freebsd-12.1/sys/fs/nfsserver/
H A Dnfs_nfsdport.c195 int nh_seqcount; /* heuristic */ member
230 nh->nh_seqcount = 4; in nfsrv_sequential_heuristic()
232 nh->nh_seqcount = 1; in nfsrv_sequential_heuristic()
239 nh->nh_seqcount += howmany(uio->uio_resid, 16384); in nfsrv_sequential_heuristic()
240 if (nh->nh_seqcount > IO_SEQMAX) in nfsrv_sequential_heuristic()
241 nh->nh_seqcount = IO_SEQMAX; in nfsrv_sequential_heuristic()
245 } else if (nh->nh_seqcount > 1) { in nfsrv_sequential_heuristic()
246 nh->nh_seqcount /= 2; in nfsrv_sequential_heuristic()
248 nh->nh_seqcount = 0; in nfsrv_sequential_heuristic()
849 ioflag |= nh->nh_seqcount << IO_SEQSHIFT; in nfsvno_read()
[all …]