Lines Matching refs:nh_seqcount
342 int nh_seqcount; /* heuristic */ member
376 nh->nh_seqcount = 4; in nfsrv_sequential_heuristic()
378 nh->nh_seqcount = 1; in nfsrv_sequential_heuristic()
382 if ((uio->uio_offset == 0 && nh->nh_seqcount > 0) || in nfsrv_sequential_heuristic()
385 nh->nh_seqcount += howmany(uio->uio_resid, 16384); in nfsrv_sequential_heuristic()
386 if (nh->nh_seqcount > IO_SEQMAX) in nfsrv_sequential_heuristic()
387 nh->nh_seqcount = IO_SEQMAX; in nfsrv_sequential_heuristic()
391 } else if (nh->nh_seqcount > 1) { in nfsrv_sequential_heuristic()
392 nh->nh_seqcount /= 2; in nfsrv_sequential_heuristic()
394 nh->nh_seqcount = 0; in nfsrv_sequential_heuristic()
1074 ioflag |= nh->nh_seqcount << IO_SEQSHIFT; in nfsvno_read()
1199 ioflags |= nh->nh_seqcount << IO_SEQSHIFT; in nfsvno_write()