Lines Matching refs:advice
31 int generic_fadvise(struct file *file, loff_t offset, loff_t len, int advice)
52 switch (advice) {
59 /* no bad return value, but ignore advice */
78 switch (advice) {
180 int vfs_fadvise(struct file *file, loff_t offset, loff_t len, int advice)
183 return file->f_op->fadvise(file, offset, len, advice);
185 return generic_fadvise(file, offset, len, advice);
191 int ksys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice)
199 ret = vfs_fadvise(f.file, offset, len, advice);
205 SYSCALL_DEFINE4(fadvise64_64, int, fd, loff_t, offset, loff_t, len, int, advice)
207 return ksys_fadvise64_64(fd, offset, len, advice);
212 SYSCALL_DEFINE4(fadvise64, int, fd, loff_t, offset, size_t, len, int, advice)
214 return ksys_fadvise64_64(fd, offset, len, advice);
222 compat_arg_u64_dual(len), int, advice)
225 compat_arg_u64_glue(len), advice);