/kernel/linux/linux-5.10/mm/ |
D | fadvise.c | 32 int generic_fadvise(struct file *file, loff_t offset, loff_t len, int advice) in generic_fadvise() argument 53 switch (advice) { in generic_fadvise() 79 switch (advice) { in generic_fadvise() 181 int vfs_fadvise(struct file *file, loff_t offset, loff_t len, int advice) in vfs_fadvise() argument 184 return file->f_op->fadvise(file, offset, len, advice); in vfs_fadvise() 186 return generic_fadvise(file, offset, len, advice); in vfs_fadvise() 192 int ksys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice) in ksys_fadvise64_64() argument 200 ret = vfs_fadvise(f.file, offset, len, advice); in ksys_fadvise64_64() 206 SYSCALL_DEFINE4(fadvise64_64, int, fd, loff_t, offset, loff_t, len, int, advice) in SYSCALL_DEFINE4() argument 208 return ksys_fadvise64_64(fd, offset, len, advice); in SYSCALL_DEFINE4() [all …]
|
/kernel/linux/linux-5.10/arch/sh/kernel/ |
D | sys_sh32.c | 52 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()
|
/kernel/linux/linux-5.10/arch/arm/kernel/ |
D | sys_arm.c | 32 asmlinkage long sys_arm_fadvise64_64(int fd, int advice, in sys_arm_fadvise64_64() argument 35 return ksys_fadvise64_64(fd, offset, len, advice); in sys_arm_fadvise64_64()
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | compat_linux.c | 261 int advice; member 270 if (a.advice == 4) in COMPAT_SYSCALL_DEFINE1() 271 a.advice = POSIX_FADV_DONTNEED; in COMPAT_SYSCALL_DEFINE1() 272 else if (a.advice == 5) in COMPAT_SYSCALL_DEFINE1() 273 a.advice = POSIX_FADV_NOREUSE; in COMPAT_SYSCALL_DEFINE1() 274 return ksys_fadvise64_64(a.fd, a.offset, a.len, a.advice); in COMPAT_SYSCALL_DEFINE1()
|
/kernel/linux/linux-5.10/arch/csky/kernel/ |
D | syscall.c | 38 int, advice, in SYSCALL_DEFINE4() argument 42 return ksys_fadvise64_64(fd, offset, len, advice); in SYSCALL_DEFINE4()
|
/kernel/linux/linux-5.10/arch/c6x/include/asm/ |
D | syscalls.h | 36 u32 len, int advice); 38 u32 len_lo, u32 len_hi, int advice);
|
/kernel/linux/linux-5.10/include/linux/ |
D | ksm.h | 23 unsigned long end, int advice, unsigned long *vm_flags); 70 unsigned long end, int advice, unsigned long *vm_flags) in ksm_madvise() argument
|
D | huge_mm.h | 227 int advice); 421 unsigned long *vm_flags, int advice) in hugepage_madvise() argument
|
/kernel/linux/linux-5.10/arch/nds32/kernel/ |
D | sys_nds32.c | 23 SYSCALL_DEFINE4(fadvise64_64_wrapper,int, fd, int, advice, loff_t, offset, in SYSCALL_DEFINE4() argument 26 return sys_fadvise64_64(fd, offset, len, advice); in SYSCALL_DEFINE4()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | sys_ia32.c | 89 int, advice) in SYSCALL_DEFINE6() argument 94 advice); in SYSCALL_DEFINE6() 113 unsigned int, offset_hi, size_t, len, int, advice) in SYSCALL_DEFINE5() argument 116 len, advice); in SYSCALL_DEFINE5()
|
/kernel/linux/linux-5.10/arch/xtensa/kernel/ |
D | syscall.c | 54 asmlinkage long xtensa_fadvise64_64(int fd, int advice, in xtensa_fadvise64_64() argument 57 return ksys_fadvise64_64(fd, offset, len, advice); in xtensa_fadvise64_64()
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
D | sys_sparc32.c | 209 compat_size_t, len, int, advice) in COMPAT_SYSCALL_DEFINE5() argument 211 return ksys_fadvise64_64(fd, ((u64)offhi << 32) | offlo, len, advice); in COMPAT_SYSCALL_DEFINE5() 215 u32, lenhi, u32, lenlo, int, advice) in COMPAT_SYSCALL_DEFINE6() argument 220 advice); in COMPAT_SYSCALL_DEFINE6()
|
D | systbls.h | 85 compat_size_t len, int advice); 89 int advice);
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
D | sys_ppc32.c | 101 size_t len, int advice) in ppc32_fadvise64() argument 104 advice); in ppc32_fadvise64()
|
D | syscalls.c | 114 long ppc_fadvise64_64(int fd, int advice, u32 offset_high, u32 offset_low, in ppc_fadvise64_64() argument 118 (u64)len_high << 32 | len_low, advice); in ppc_fadvise64_64()
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | uverbs_std_types_mr.c | 51 enum ib_uverbs_advise_mr_advice advice; in UVERBS_HANDLER() local 62 ret = uverbs_get_const(&advice, attrs, UVERBS_ATTR_ADVISE_MR_ADVICE); in UVERBS_HANDLER() 78 return ib_dev->ops.advise_mr(pd, advice, flags, sg_list, num_sge, in UVERBS_HANDLER()
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | sys32.c | 106 COMPAT_SYSCALL_DEFINE6(aarch32_fadvise64_64, int, fd, int, advice, in COMPAT_SYSCALL_DEFINE6() argument 109 return ksys_fadvise64_64(fd, arg_u64(offset), arg_u64(len), advice); in COMPAT_SYSCALL_DEFINE6()
|
/kernel/linux/linux-5.10/arch/csky/include/asm/ |
D | syscalls.h | 13 long sys_csky_fadvise64_64(int fd, int advice, loff_t offset, loff_t len);
|
/kernel/linux/linux-5.10/arch/nds32/include/asm/ |
D | syscalls.h | 8 asmlinkage long sys_fadvise64_64_wrapper(int fd, int advice, loff_t offset, loff_t len);
|
/kernel/linux/linux-5.10/arch/sh/include/asm/ |
D | syscalls_32.h | 19 u32 len0, u32 len1, int advice);
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | odp.c | 1745 get_prefetchable_mr(struct ib_pd *pd, enum ib_uverbs_advise_mr_advice advice, in get_prefetchable_mr() argument 1767 if (advice == IB_UVERBS_ADVISE_MR_ADVICE_PREFETCH_WRITE && in get_prefetchable_mr() 1803 enum ib_uverbs_advise_mr_advice advice, in init_prefetch_work() argument 1816 get_prefetchable_mr(pd, advice, sg_list[i].lkey); in init_prefetch_work() 1830 enum ib_uverbs_advise_mr_advice advice, in mlx5_ib_prefetch_sg_list() argument 1844 mr = get_prefetchable_mr(pd, advice, sg_list[i].lkey); in mlx5_ib_prefetch_sg_list() 1863 enum ib_uverbs_advise_mr_advice advice, in mlx5_ib_advise_mr_prefetch() argument 1871 if (advice == IB_UVERBS_ADVISE_MR_ADVICE_PREFETCH) in mlx5_ib_advise_mr_prefetch() 1874 if (advice == IB_UVERBS_ADVISE_MR_ADVICE_PREFETCH_NO_FAULT) in mlx5_ib_advise_mr_prefetch() 1878 return mlx5_ib_prefetch_sg_list(pd, advice, pf_flags, sg_list, in mlx5_ib_advise_mr_prefetch() [all …]
|
/kernel/linux/linux-5.10/Documentation/vm/ |
D | index.rst | 6 subsystem. If you are looking for advice on simply allocating memory,
|
/kernel/linux/linux-5.10/arch/parisc/kernel/ |
D | sys_parisc.c | 342 unsigned int high_len, unsigned int low_len, int advice) in parisc_fadvise64_64() argument 345 (loff_t)high_len << 32 | low_len, advice); in parisc_fadvise64_64()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | asm-prototypes.h | 106 long ppc_fadvise64_64(int fd, int advice, u32 offset_high, u32 offset_low,
|
/kernel/linux/linux-5.10/Documentation/usb/ |
D | CREDITS | 127 pointing out mortal bugs and giving advice. 167 - Nathan Myers <ncm@cantrip.org>, for his advice! (hope you
|