Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/mm/
A Dfadvise.c32 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()
186 return file->f_op->fadvise(file, offset, len, advice); in vfs_fadvise()
188 return generic_fadvise(file, offset, len, advice); in vfs_fadvise()
194 int ksys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice) in ksys_fadvise64_64() argument
202 ret = vfs_fadvise(f.file, offset, len, advice); in ksys_fadvise64_64()
210 return ksys_fadvise64_64(fd, offset, len, advice); in SYSCALL_DEFINE4()
217 return ksys_fadvise64_64(fd, offset, len, advice); in SYSCALL_DEFINE4()
225 compat_arg_u64_dual(len), int, advice) in COMPAT_SYSCALL_DEFINE6() argument
[all …]
/linux-6.3-rc2/io_uring/
A Dadvise.c21 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()
/linux-6.3-rc2/arch/sh/kernel/
A Dsys_sh32.c52 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()
/linux-6.3-rc2/arch/s390/kernel/
A Dcompat_linux.c261 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()
/linux-6.3-rc2/arch/arm/kernel/
A Dsys_arm.c32 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()
/linux-6.3-rc2/arch/csky/kernel/
A Dsyscall.c38 int, advice, in SYSCALL_DEFINE4() argument
42 return ksys_fadvise64_64(fd, offset, len, advice); in SYSCALL_DEFINE4()
/linux-6.3-rc2/include/linux/
A Dksm.h20 unsigned long end, int advice, unsigned long *vm_flags);
67 unsigned long end, int advice, unsigned long *vm_flags) in ksm_madvise() argument
A Dfscache.h136 u8 advice; /* FSCACHE_ADV_* */ member
244 u8 advice, in fscache_acquire_cookie() argument
253 return __fscache_acquire_cookie(volume, advice, in fscache_acquire_cookie()
A Dhuge_mm.h220 int advice);
356 unsigned long *vm_flags, int advice) in hugepage_madvise() argument
/linux-6.3-rc2/arch/x86/kernel/
A Dsys_ia32.c89 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()
/linux-6.3-rc2/arch/powerpc/include/asm/
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-6.3-rc2/arch/xtensa/kernel/
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-6.3-rc2/arch/sparc/kernel/
A Dsys_sparc32.c209 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()
A Dsystbls.h85 compat_size_t len, int advice);
89 int advice);
/linux-6.3-rc2/arch/powerpc/kernel/
A Dsys_ppc32.c109 size_t, len, int, advice) in PPC32_SYSCALL_DEFINE6() argument
112 advice); in PPC32_SYSCALL_DEFINE6()
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-6.3-rc2/arch/arm64/kernel/
A Dsys32.c106 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()
/linux-6.3-rc2/arch/csky/include/asm/
A Dsyscalls.h12 long sys_csky_fadvise64_64(int fd, int advice, loff_t offset, loff_t len);
/linux-6.3-rc2/drivers/infiniband/core/
A Duverbs_std_types_mr.c52 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()
/linux-6.3-rc2/drivers/infiniband/hw/mlx5/
A Dodp.c1664 get_prefetchable_mr(struct ib_pd *pd, enum ib_uverbs_advise_mr_advice advice, in get_prefetchable_mr() argument
1690 if (advice == IB_UVERBS_ADVISE_MR_ADVICE_PREFETCH_WRITE && in get_prefetchable_mr()
1725 enum ib_uverbs_advise_mr_advice advice, in init_prefetch_work() argument
1737 mr = get_prefetchable_mr(pd, advice, sg_list[i].lkey); in init_prefetch_work()
1751 enum ib_uverbs_advise_mr_advice advice, in mlx5_ib_prefetch_sg_list() argument
1762 mr = get_prefetchable_mr(pd, advice, sg_list[i].lkey); in mlx5_ib_prefetch_sg_list()
1779 enum ib_uverbs_advise_mr_advice advice, in mlx5_ib_advise_mr_prefetch() argument
1786 if (advice == IB_UVERBS_ADVISE_MR_ADVICE_PREFETCH) in mlx5_ib_advise_mr_prefetch()
1789 if (advice == IB_UVERBS_ADVISE_MR_ADVICE_PREFETCH_NO_FAULT) in mlx5_ib_advise_mr_prefetch()
1793 return mlx5_ib_prefetch_sg_list(pd, advice, pf_flags, sg_list, in mlx5_ib_advise_mr_prefetch()
[all …]
/linux-6.3-rc2/arch/sh/include/asm/
A Dsyscalls_32.h19 u32 len0, u32 len1, int advice);
/linux-6.3-rc2/Documentation/mm/
A Dindex.rst9 of Linux. If you are looking for advice on simply allocating memory,
/linux-6.3-rc2/fs/fscache/
A Dcookie.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-6.3-rc2/arch/parisc/kernel/
A Dsys_parisc.c361 unsigned int high_len, unsigned int low_len, int advice) in parisc_fadvise64_64() argument
364 (loff_t)high_len << 32 | low_len, advice); in parisc_fadvise64_64()
/linux-6.3-rc2/Documentation/admin-guide/
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.

Completed in 49 milliseconds

123