Home
last modified time | relevance | path

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

12

/linux/io_uring/
H A Dadvise.c21 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 Drxe_odp.c460 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 Dsys_arm.c33 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 Dsyscalltab.c19 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 Dsyscalls.h106 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 Dsyscall.c50 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 Dsyscalls.c104 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 Dsystbls.h85 compat_size_t len, int advice);
89 int advice);
/linux/arch/csky/include/asm/
H A Dsyscalls.h12 long sys_csky_fadvise64_64(int fd, int advice, loff_t offset, loff_t len);
/linux/arch/sh/include/asm/
H A Dsyscalls_32.h19 u32 len0, u32 len1, int advice);
/linux/tools/testing/selftests/mm/
H A Dprocess_madv.c49 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 Dsyscalls.h11 asmlinkage long sys_arm_fadvise64_64(int fd, int advice,
/linux/fs/netfs/
H A Dfscache_cookie.c327 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 Ddriver_development_debugging_guide.rst4 Debugging advice for driver development
14 For general debugging advice, see the :doc:`general advice document
/linux/tools/testing/selftests/kvm/include/
H A Dkvm_syscalls.h97 __KVM_SYSCALL_DEFINE(madvise, 3, void *, addr, size_t, length, int, advice);
/linux/Documentation/mm/
H A Dindex.rst6 of Linux. If you are looking for advice on simply allocating memory,
/linux/Documentation/admin-guide/
H A Dreporting-regressions.rst151 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 Dindex.rst79 documents below provide general advice about debugging and describe our
/linux/fs/overlayfs/
H A Dfile.c509 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 Dauthors.rst24 thanks to the Samba team for their technical advice and encouragement.
/linux/include/trace/events/
H A Df2fs.h610 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 Dxfs_file.c1677 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 Dbackend-api.rst185 u8 advice;
220 * ``advice`` - Information about how the cookie is to be used.
/linux/Documentation/crypto/
H A Dlibcrypto.rst36 predefined, please reach out to ``linux-crypto@vger.kernel.org`` for advice.
/linux/fs/f2fs/
H A Dfile.c5734 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()

12