Home
last modified time | relevance | path

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

/freebsd-12.1/sys/kern/
H A Dvfs_vnops.c477 return (fp->f_seqcount << IO_SEQSHIFT); in sequential_heuristic()
486 if ((uio->uio_offset == 0 && fp->f_seqcount > 0) || in sequential_heuristic()
498 fp->f_seqcount = IO_SEQMAX; in sequential_heuristic()
500 fp->f_seqcount += howmany(uio->uio_resid, 16384); in sequential_heuristic()
501 if (fp->f_seqcount > IO_SEQMAX) in sequential_heuristic()
502 fp->f_seqcount = IO_SEQMAX; in sequential_heuristic()
504 return (fp->f_seqcount << IO_SEQSHIFT); in sequential_heuristic()
508 if (fp->f_seqcount > 1) in sequential_heuristic()
509 fp->f_seqcount = 1; in sequential_heuristic()
511 fp->f_seqcount = 0; in sequential_heuristic()
H A Dvfs_syscalls.c1134 fp->f_seqcount = 1; in kern_openat()
4387 fp->f_seqcount = 1; in sys_fhopen()
H A Dkern_descrip.c791 fp->f_seqcount = MIN(IO_SEQMAX, in kern_fcntl()
/freebsd-12.1/sys/sys/
H A Dfile.h183 int16_t f_seqcount; /* (a) Count of sequential accesses. */ member
/freebsd-12.1/sys/compat/cloudabi/
H A Dcloudabi_file.c290 fp->f_seqcount = 1; in cloudabi_sys_file_open()