| /linux/io_uring/ |
| H A D | advise.c | 21 u32 advice; member 28 u32 advice; member 43 ma->advice = READ_ONCE(sqe->fadvise_advice); in io_madvise_prep() 59 ret = do_madvise(current->mm, ma->addr, ma->len, ma->advice); in io_madvise() 69 switch (fa->advice) { in io_fadvise_force_async() 90 fa->advice = READ_ONCE(sqe->fadvise_advice); in io_fadvise_prep() 103 ret = vfs_fadvise(req->file, fa->offset, fa->len, fa->advice); in io_fadvise()
|
| /linux/drivers/infiniband/sw/rxe/ |
| H A D | rxe_odp.c | 460 enum ib_uverbs_advise_mr_advice advice, in rxe_ib_prefetch_sg_list() argument 481 if (advice == IB_UVERBS_ADVISE_MR_ADVICE_PREFETCH_WRITE && in rxe_ib_prefetch_sg_list() 506 enum ib_uverbs_advise_mr_advice advice, in rxe_ib_advise_mr_prefetch() argument 516 if (advice == IB_UVERBS_ADVISE_MR_ADVICE_PREFETCH) in rxe_ib_advise_mr_prefetch() 519 if (advice == IB_UVERBS_ADVISE_MR_ADVICE_PREFETCH_NO_FAULT) in rxe_ib_advise_mr_prefetch() 524 return rxe_ib_prefetch_sg_list(ibpd, advice, pf_flags, sg_list, in rxe_ib_advise_mr_prefetch() 567 enum ib_uverbs_advise_mr_advice advice, in rxe_ib_advise_mr() argument 573 if (advice != IB_UVERBS_ADVISE_MR_ADVICE_PREFETCH && in rxe_ib_advise_mr() 574 advice != IB_UVERBS_ADVISE_MR_ADVICE_PREFETCH_WRITE && in rxe_ib_advise_mr() 575 advice != IB_UVERBS_ADVISE_MR_ADVICE_PREFETCH_NO_FAULT) in rxe_ib_advise_mr() [all …]
|
| /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()
|
| /linux/arch/hexagon/kernel/ |
| H A D | syscalltab.c | 19 SYSCALL_DEFINE6(hexagon_fadvise64_64, int, fd, int, advice, in SYSCALL_DEFINE6() argument 22 return ksys_fadvise64_64(fd, SC_VAL64(loff_t, offset), SC_VAL64(loff_t, len), advice); in SYSCALL_DEFINE6()
|
| /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,
|
| /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()
|
| /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()
|
| /linux/arch/sparc/kernel/ |
| H A D | systbls.h | 85 compat_size_t len, int advice); 89 int advice);
|
| /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);
|
| /linux/arch/sh/include/asm/ |
| H A D | syscalls_32.h | 19 u32 len0, u32 len1, int advice);
|
| /linux/tools/testing/selftests/mm/ |
| H A D | process_madv.c | 49 size_t vlen, int advice, unsigned int flags) in sys_process_madvise() argument 51 return syscall(__NR_process_madvise, pidfd, iovec, vlen, advice, flags); in sys_process_madvise() 313 * Test that invalid advice is rejected even when the iovec has zero total 314 * length. A request with valid advice and zero length is a noop, but 315 * invalid advice should still fail with EINVAL.
|
| /linux/arch/arm/include/asm/ |
| H A D | syscalls.h | 11 asmlinkage long sys_arm_fadvise64_64(int fd, int advice,
|
| /linux/fs/netfs/ |
| H A D | fscache_cookie.c | 327 u8 advice, in fscache_alloc_cookie() argument 341 cookie->advice = advice; in fscache_alloc_cookie() 452 u8 advice, in __fscache_acquire_cookie() argument 470 cookie = fscache_alloc_cookie(volume, advice, in __fscache_acquire_cookie()
|
| /linux/Documentation/process/debugging/ |
| H A D | driver_development_debugging_guide.rst | 4 Debugging advice for driver development 14 For general debugging advice, see the :doc:`general advice document
|
| /linux/tools/testing/selftests/kvm/include/ |
| H A D | kvm_syscalls.h | 97 __KVM_SYSCALL_DEFINE(madvise, 3, void *, addr, size_t, length, int, advice);
|
| /linux/Documentation/mm/ |
| H A D | index.rst | 6 of Linux. If you are looking for advice on simply allocating memory,
|
| /linux/Documentation/admin-guide/ |
| H A D | reporting-regressions.rst | 151 should offer advice and reasonably help where they can, to make this process 164 Who can I ask for advice when it comes to regressions? 233 tracker for advice as outlined above. 241 doubt, ask for advice. 262 for advice as outlined above. 272 advice if in doubt. 353 the matter to the kernel's provider and ask for advice.
|
| /linux/Documentation/process/ |
| H A D | index.rst | 79 documents below provide general advice about debugging and describe our
|
| /linux/fs/overlayfs/ |
| H A D | file.c | 509 static int ovl_fadvise(struct file *file, loff_t offset, loff_t len, int advice) in ovl_fadvise() argument 518 return vfs_fadvise(realfile, offset, len, advice); in ovl_fadvise()
|
| /linux/Documentation/admin-guide/cifs/ |
| H A D | authors.rst | 24 thanks to the Samba team for their technical advice and encouragement.
|
| /linux/include/trace/events/ |
| H A D | f2fs.h | 610 TP_PROTO(struct inode *inode, loff_t offset, loff_t len, int advice), 612 TP_ARGS(inode, offset, len, advice), 620 __field(int, advice) 629 __entry->advice = advice; 637 __entry->advice)
|
| /linux/fs/xfs/ |
| H A D | xfs_file.c | 1677 int advice) in xfs_file_fadvise() argument 1687 if (advice == POSIX_FADV_WILLNEED) { in xfs_file_fadvise() 1691 ret = generic_fadvise(file, start, end, advice); in xfs_file_fadvise()
|
| /linux/Documentation/filesystems/caching/ |
| H A D | backend-api.rst | 185 u8 advice; 220 * ``advice`` - Information about how the cookie is to be used.
|
| /linux/Documentation/crypto/ |
| H A D | libcrypto.rst | 36 predefined, please reach out to ``linux-crypto@vger.kernel.org`` for advice.
|
| /linux/fs/f2fs/ |
| H A D | file.c | 5734 int advice) in f2fs_file_fadvise() argument 5741 trace_f2fs_fadvise(inode, offset, len, advice); in f2fs_file_fadvise() 5743 if (advice == POSIX_FADV_SEQUENTIAL) { in f2fs_file_fadvise() 5758 } else if (advice == POSIX_FADV_WILLNEED && offset == 0) { in f2fs_file_fadvise() 5763 err = generic_fadvise(filp, offset, len, advice); in f2fs_file_fadvise() 5767 if (advice == POSIX_FADV_DONTNEED && in f2fs_file_fadvise() 5771 else if (advice == POSIX_FADV_NOREUSE) in f2fs_file_fadvise()
|