Home
last modified time | relevance | path

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

/freebsd-14.2/sys/sys/
H A Dfile.h216 #define f_advice f_vnun.fvn_advice macro
/freebsd-14.2/sys/kern/
H A Dvfs_vnops.c920 if (fp->f_advice == NULL || fp->f_vnode->v_type != VREG) in get_advice()
925 if (fp->f_advice != NULL && in get_advice()
926 uio->uio_offset >= fp->f_advice->fa_start && in get_advice()
927 uio->uio_offset + uio->uio_resid <= fp->f_advice->fa_end) in get_advice()
928 ret = fp->f_advice->fa_advice; in get_advice()
H A Dvfs_syscalls.c4831 fa = fp->f_advice; in kern_posix_fadvise()
4844 fp->f_advice = new; in kern_posix_fadvise()
4856 fa = fp->f_advice; in kern_posix_fadvise()
4860 fp->f_advice = NULL; in kern_posix_fadvise()
4876 fp->f_advice = NULL; in kern_posix_fadvise()
H A Dkern_descrip.c3673 free(fp->f_advice, M_FADVISE); in _fdrop()