Home
last modified time | relevance | path

Searched refs:advice (Results 1 – 25 of 41) sorted by relevance

12

/Linux-v4.19/mm/
Dfadvise.c31 int advice) in generic_fadvise() argument
52 switch (advice) { in generic_fadvise()
78 switch (advice) { in generic_fadvise()
182 int vfs_fadvise(struct file *file, loff_t offset, loff_t len, int advice) in vfs_fadvise() argument
185 return file->f_op->fadvise(file, offset, len, advice); in vfs_fadvise()
187 return generic_fadvise(file, offset, len, advice); in vfs_fadvise()
193 int ksys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice) in ksys_fadvise64_64() argument
201 ret = vfs_fadvise(f.file, offset, len, advice); in ksys_fadvise64_64()
207 SYSCALL_DEFINE4(fadvise64_64, int, fd, loff_t, offset, loff_t, len, int, advice) in SYSCALL_DEFINE4() argument
209 return ksys_fadvise64_64(fd, offset, len, advice); in SYSCALL_DEFINE4()
[all …]
/Linux-v4.19/arch/sh/kernel/
Dsys_sh32.c52 u32 len0, u32 len1, int advice) in sys_fadvise64_64_wrapper() argument
56 (u64)len1 << 32 | len0, advice); in sys_fadvise64_64_wrapper()
59 (u64)len0 << 32 | len1, advice); in sys_fadvise64_64_wrapper()
/Linux-v4.19/arch/arm/kernel/
Dsys_arm.c35 asmlinkage long sys_arm_fadvise64_64(int fd, int advice, in sys_arm_fadvise64_64() argument
38 return ksys_fadvise64_64(fd, offset, len, advice); in sys_arm_fadvise64_64()
/Linux-v4.19/arch/nds32/kernel/
Dsys_nds32.c21 SYSCALL_DEFINE4(fadvise64_64_wrapper,int, fd, int, advice, loff_t, offset, in SYSCALL_DEFINE4() argument
24 return sys_fadvise64_64(fd, offset, len, advice); in SYSCALL_DEFINE4()
/Linux-v4.19/arch/c6x/include/asm/
Dsyscalls.h36 u32 len, int advice);
38 u32 len_lo, u32 len_hi, int advice);
/Linux-v4.19/arch/x86/ia32/
Dsys_ia32.c195 int, advice) in COMPAT_SYSCALL_DEFINE6() argument
200 advice); in COMPAT_SYSCALL_DEFINE6()
219 unsigned int, offset_hi, size_t, len, int, advice) in COMPAT_SYSCALL_DEFINE5() argument
222 len, advice); in COMPAT_SYSCALL_DEFINE5()
/Linux-v4.19/include/linux/
Dksm.h23 unsigned long end, int advice, unsigned long *vm_flags);
70 unsigned long end, int advice, unsigned long *vm_flags) in ksm_madvise() argument
Dhuge_mm.h174 unsigned long *vm_flags, int advice);
299 unsigned long *vm_flags, int advice) in hugepage_madvise() argument
Dsyscalls.h786 asmlinkage long sys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice);
981 asmlinkage long sys_fadvise64(int fd, loff_t offset, size_t len, int advice);
1154 int ksys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice);
1157 int advice) in ksys_fadvise64_64() argument
/Linux-v4.19/arch/xtensa/kernel/
Dsyscall.c55 asmlinkage long xtensa_fadvise64_64(int fd, int advice, in xtensa_fadvise64_64() argument
58 return ksys_fadvise64_64(fd, offset, len, advice); in xtensa_fadvise64_64()
/Linux-v4.19/arch/sparc/kernel/
Dsys_sparc32.c210 compat_size_t, len, int, advice) in COMPAT_SYSCALL_DEFINE5() argument
212 return ksys_fadvise64_64(fd, ((u64)offhi << 32) | offlo, len, advice); in COMPAT_SYSCALL_DEFINE5()
216 u32, lenhi, u32, lenlo, int, advice) in COMPAT_SYSCALL_DEFINE6() argument
221 advice); in COMPAT_SYSCALL_DEFINE6()
Dsystbls.h85 compat_size_t len, int advice);
89 int advice);
/Linux-v4.19/arch/powerpc/kernel/
Dsys_ppc32.c105 size_t len, int advice) in ppc32_fadvise64() argument
108 advice); in ppc32_fadvise64()
Dsyscalls.c119 long ppc_fadvise64_64(int fd, int advice, u32 offset_high, u32 offset_low, in ppc_fadvise64_64() argument
123 (u64)len_high << 32 | len_low, advice); in ppc_fadvise64_64()
/Linux-v4.19/arch/s390/kernel/
Dcompat_linux.c494 int advice; member
503 if (a.advice == 4) in COMPAT_SYSCALL_DEFINE1()
504 a.advice = POSIX_FADV_DONTNEED; in COMPAT_SYSCALL_DEFINE1()
505 else if (a.advice == 5) in COMPAT_SYSCALL_DEFINE1()
506 a.advice = POSIX_FADV_NOREUSE; in COMPAT_SYSCALL_DEFINE1()
507 return ksys_fadvise64_64(a.fd, a.offset, a.len, a.advice); in COMPAT_SYSCALL_DEFINE1()
/Linux-v4.19/arch/arm64/kernel/
Dsys32.c117 COMPAT_SYSCALL_DEFINE6(aarch32_fadvise64_64, int, fd, int, advice, in COMPAT_SYSCALL_DEFINE6() argument
120 return ksys_fadvise64_64(fd, arg_u64(offset), arg_u64(len), advice); in COMPAT_SYSCALL_DEFINE6()
/Linux-v4.19/arch/nds32/include/asm/
Dsyscalls.h8 asmlinkage long sys_fadvise64_64_wrapper(int fd, int advice, loff_t offset, loff_t len);
/Linux-v4.19/arch/sh/include/asm/
Dsyscalls_32.h21 u32 len0, u32 len1, int advice);
/Linux-v4.19/arch/parisc/kernel/
Dsys_parisc.c354 unsigned int high_len, unsigned int low_len, int advice) in parisc_fadvise64_64() argument
357 (loff_t)high_len << 32 | low_len, advice); in parisc_fadvise64_64()
/Linux-v4.19/arch/powerpc/include/asm/
Dasm-prototypes.h95 long ppc_fadvise64_64(int fd, int advice, u32 offset_high, u32 offset_low,
/Linux-v4.19/fs/overlayfs/
Dfile.c336 static int ovl_fadvise(struct file *file, loff_t offset, loff_t len, int advice) in ovl_fadvise() argument
347 ret = vfs_fadvise(real.file, offset, len, advice); in ovl_fadvise()
/Linux-v4.19/Documentation/usb/
DCREDITS127 pointing out mortal bugs and giving advice.
167 - Nathan Myers <ncm@cantrip.org>, for his advice! (hope you
/Linux-v4.19/Documentation/filesystems/cifs/
DAUTHORS19 thanks to the Samba team for their technical advice and encouragement.
/Linux-v4.19/Documentation/process/
D1.Intro.rst33 Following the advice in this section should help to ensure the best
197 legal advice. The true legal status of closed-source modules can only be
263 questions are not lawyers and cannot provide legal advice. If you have
Dlicense-rules.rst197 Freeform text for usage advice. The text must include correct examples
329 Freeform text for usage advice. The text must be followed by correct

12