Home
last modified time | relevance | path

Searched refs:advice (Results 1 – 25 of 33) 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/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/fs/erofs/
H A Dishare.c152 loff_t len, int advice) in erofs_ishare_fadvise() argument
154 return vfs_fadvise(file->private_data, offset, len, advice); in erofs_ishare_fadvise()
/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.
H A Dguard-regions.c127 size_t n, int advice, unsigned int flags) in sys_process_madvise()
129 return syscall(__NR_process_madvise, pidfd, iovec, n, advice, flags); in sys_process_madvise()
126 sys_process_madvise(int pidfd,const struct iovec * iovec,size_t n,int advice,unsigned int flags) sys_process_madvise() argument
/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.h90 __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/process/
H A Dindex.rst79 documents below provide general advice about debugging and describe our
H A Dlicense-rules.rst202 Freeform text for usage advice. The text must include correct examples
383 Freeform text for usage advice. The text must be followed by correct
/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/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/Documentation/crypto/
H A Dlibcrypto.rst36 predefined, please reach out to ``linux-crypto@vger.kernel.org`` for advice.
/linux/Documentation/filesystems/caching/
H A Dbackend-api.rst185 u8 advice;
220 * ``advice`` - Information about how the cookie is to be used.
/linux/include/linux/
H A Dcompat.h897 compat_arg_u64(len), int advice);

12