Home
last modified time | relevance | path

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

/freebsd/sys/sys/
H A Dfile.h214 #define f_advice f_vnun.fvn_advice macro
/freebsd/sys/kern/
H A Dvfs_vnops.c918 if (fp->f_advice == NULL || fp->f_vnode->v_type != VREG) in get_advice()
923 if (fp->f_advice != NULL && in get_advice()
924 uio->uio_offset >= fp->f_advice->fa_start && in get_advice()
925 uio->uio_offset + uio->uio_resid <= fp->f_advice->fa_end) in get_advice()
926 ret = fp->f_advice->fa_advice; in get_advice()
H A Dvfs_syscalls.c4828 fa = fp->f_advice; in kern_posix_fadvise()
4841 fp->f_advice = new; in kern_posix_fadvise()
4853 fa = fp->f_advice; in kern_posix_fadvise()
4857 fp->f_advice = NULL; in kern_posix_fadvise()
4873 fp->f_advice = NULL; in kern_posix_fadvise()
H A Dkern_descrip.c3671 free(fp->f_advice, M_FADVISE); in _fdrop()