Home
last modified time | relevance | path

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

/f-stack/freebsd/sys/
H A Dfile.h208 #define f_advice f_vnun.fvn_advice macro
/f-stack/freebsd/kern/
H A Dvfs_vnops.c853 if (fp->f_advice == NULL || fp->f_vnode->v_type != VREG) in get_advice()
858 if (fp->f_advice != NULL && in get_advice()
859 uio->uio_offset >= fp->f_advice->fa_start && in get_advice()
860 uio->uio_offset + uio->uio_resid <= fp->f_advice->fa_end) in get_advice()
861 ret = fp->f_advice->fa_advice; in get_advice()
H A Dvfs_syscalls.c4711 fa = fp->f_advice; in kern_posix_fadvise()
4724 fp->f_advice = new; in kern_posix_fadvise()
4736 fa = fp->f_advice; in kern_posix_fadvise()
4740 fp->f_advice = NULL; in kern_posix_fadvise()
4756 fp->f_advice = NULL; in kern_posix_fadvise()
H A Dkern_descrip.c3523 free(fp->f_advice, M_FADVISE); in _fdrop()