/openbmc/linux/mm/ |
H A D | fadvise.c | 31 int generic_fadvise(struct file *file, loff_t offset, loff_t len, int advice) in generic_fadvise() argument 52 switch (advice) { in generic_fadvise() 78 switch (advice) { in generic_fadvise() 180 int vfs_fadvise(struct file *file, loff_t offset, loff_t len, int advice) in vfs_fadvise() argument 183 return file->f_op->fadvise(file, offset, len, advice); in vfs_fadvise() 185 return generic_fadvise(file, offset, len, advice); in vfs_fadvise() 191 int ksys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice) in ksys_fadvise64_64() argument 199 ret = vfs_fadvise(f.file, offset, len, advice); in ksys_fadvise64_64() 205 SYSCALL_DEFINE4(fadvise64_64, int, fd, loff_t, offset, loff_t, len, int, advice) in SYSCALL_DEFINE4() argument 207 return ksys_fadvise64_64(fd, offset, len, advice); in SYSCALL_DEFINE4() [all …]
|
/openbmc/linux/io_uring/ |
H A D | advise.c | 21 u32 advice; member 28 u32 advice; member 41 ma->advice = READ_ONCE(sqe->fadvise_advice); in io_madvise_prep() 57 ret = do_madvise(current->mm, ma->addr, ma->len, ma->advice); in io_madvise() 67 switch (fa->advice) { in io_fadvise_force_async() 86 fa->advice = READ_ONCE(sqe->fadvise_advice); in io_fadvise_prep() 99 ret = vfs_fadvise(req->file, fa->offset, fa->len, fa->advice); in io_fadvise()
|
/openbmc/linux/arch/sh/kernel/ |
H A 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()
|
/openbmc/linux/arch/s390/kernel/ |
H A 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()
|
/openbmc/linux/arch/arm/kernel/ |
H A D | sys_arm.c | 33 asmlinkage long sys_arm_fadvise64_64(int fd, int advice, in sys_arm_fadvise64_64() argument 36 return ksys_fadvise64_64(fd, offset, len, advice); in sys_arm_fadvise64_64()
|
/openbmc/openbmc/poky/bitbake/lib/bb/ |
H A D | __init__.py | 172 def deprecated(func, name=None, advice=""): argument 178 if advice: 179 advice = ": %s" % advice 185 advice),
|
/openbmc/linux/arch/hexagon/kernel/ |
H A D | syscalltab.c | 17 SYSCALL_DEFINE6(hexagon_fadvise64_64, int, fd, int, advice, in SYSCALL_DEFINE6() argument 20 return ksys_fadvise64_64(fd, SC_VAL64(loff_t, offset), SC_VAL64(loff_t, len), advice); in SYSCALL_DEFINE6()
|
/openbmc/linux/arch/csky/kernel/ |
H A D | syscall.c | 38 int, advice, in SYSCALL_DEFINE4() argument 42 return ksys_fadvise64_64(fd, offset, len, advice); in SYSCALL_DEFINE4()
|
/openbmc/linux/arch/x86/kernel/ |
H A 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()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | syscalls.h | 106 size_t len, int advice); 132 size_t len, int advice); 141 long sys_ppc_fadvise64_64(int fd, int advice,
|
/openbmc/linux/arch/xtensa/kernel/ |
H A D | syscall.c | 50 asmlinkage long xtensa_fadvise64_64(int fd, int advice, in xtensa_fadvise64_64() argument 53 return ksys_fadvise64_64(fd, offset, len, advice); in xtensa_fadvise64_64()
|
/openbmc/linux/arch/sparc/kernel/ |
H A 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()
|
H A D | systbls.h | 85 compat_size_t len, int advice); 89 int advice);
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | syscalls.c | 104 int, fd, int, advice, u32, offset_high, u32, offset_low, in SYSCALL_DEFINE6() argument 108 merge_64(len_high, len_low), advice); in SYSCALL_DEFINE6()
|
H A D | sys_ppc32.c | 109 size_t, len, int, advice) in PPC32_SYSCALL_DEFINE6() argument 112 advice); in PPC32_SYSCALL_DEFINE6()
|
/openbmc/linux/include/linux/ |
H A D | ksm.h | 20 unsigned long end, int advice, unsigned long *vm_flags); 138 unsigned long end, int advice, unsigned long *vm_flags) in ksm_madvise() argument
|
H A D | fscache.h | 136 u8 advice; /* FSCACHE_ADV_* */ member 244 u8 advice, in fscache_acquire_cookie() argument 253 return __fscache_acquire_cookie(volume, advice, in fscache_acquire_cookie()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/emacs/files/ |
H A D | avoid-running-host-binaries-for-sanity.patch | 15 @@ -416,19 +416,10 @@ advice-on-failure: 19 - @[ -f .no-advice-on-failure ] && exit 0; true
|
/openbmc/qemu/util/ |
H A D | osdep.c | 51 int qemu_madvise(void *addr, size_t len, int advice) in qemu_madvise() argument 53 if (advice == QEMU_MADV_INVALID) { in qemu_madvise() 58 return madvise(addr, len, advice); in qemu_madvise() 60 int rc = posix_madvise(addr, len, advice); in qemu_madvise()
|
/openbmc/linux/arch/arm64/kernel/ |
H A 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()
|
/openbmc/linux/arch/hexagon/include/asm/ |
H A D | syscalls.h | 5 asmlinkage long sys_hexagon_fadvise64_64(int fd, int advice,
|
/openbmc/linux/arch/csky/include/asm/ |
H A D | syscalls.h | 12 long sys_csky_fadvise64_64(int fd, int advice, loff_t offset, loff_t len);
|
/openbmc/qemu/bsd-user/ |
H A D | bsd-mem.h | 141 abi_long advice = arg3; in do_bsd_madvise() local 172 switch (advice) { in do_bsd_madvise() 175 ret = get_errno(madvise(g2h_untagged(start), len, advice)); in do_bsd_madvise()
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | uverbs_std_types_mr.c | 52 enum ib_uverbs_advise_mr_advice advice; in UVERBS_HANDLER() local 63 ret = uverbs_get_const(&advice, attrs, UVERBS_ATTR_ADVISE_MR_ADVICE); in UVERBS_HANDLER() 79 return ib_dev->ops.advise_mr(pd, advice, flags, sg_list, num_sge, in UVERBS_HANDLER()
|
/openbmc/qemu/linux-user/ |
H A D | mmap.c | 1194 abi_long target_madvise(abi_ulong start, abi_ulong len_in, int advice) in target_madvise() argument 1211 switch (advice) { in target_madvise() 1213 advice = MADV_DONTNEED; in target_madvise() 1216 advice = MADV_WIPEONFORK; in target_madvise() 1219 advice = MADV_KEEPONFORK; in target_madvise() 1245 switch (advice) { in target_madvise() 1252 ret = get_errno(madvise(g2h_untagged(start), len, advice)); in target_madvise() 1253 if ((advice == MADV_DONTNEED) && (ret == 0)) { in target_madvise()
|