Home
last modified time | relevance | path

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

/freebsd/sys/sys/
H A Dfile.h231 #define f_advice f_vnun.fvn_advice macro
/freebsd/sys/kern/
H A Dvfs_vnops.c1057 if (fp->f_advice == NULL || fp->f_vnode->v_type != VREG) in get_advice()
1062 if (fp->f_advice != NULL && in get_advice()
1063 uio->uio_offset >= fp->f_advice->fa_start && in get_advice()
1064 uio->uio_offset + uio->uio_resid <= fp->f_advice->fa_end) in get_advice()
1065 ret = fp->f_advice->fa_advice; in get_advice()
H A Dvfs_syscalls.c5073 fa = fp->f_advice; in kern_posix_fadvise()
5086 fp->f_advice = new; in kern_posix_fadvise()
5098 fa = fp->f_advice; in kern_posix_fadvise()
5102 fp->f_advice = NULL; in kern_posix_fadvise()
5118 fp->f_advice = NULL; in kern_posix_fadvise()
H A Dkern_descrip.c4010 free(fp->f_advice, M_FADVISE); in sys_flock()