| /linux-6.15/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() 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 198 return vfs_fadvise(fd_file(f), offset, len, advice); in ksys_fadvise64_64() 203 return ksys_fadvise64_64(fd, offset, len, advice); in SYSCALL_DEFINE4() 210 return ksys_fadvise64_64(fd, offset, len, advice); in SYSCALL_DEFINE4() 218 compat_arg_u64_dual(len), int, advice) in COMPAT_SYSCALL_DEFINE6() argument [all …]
|
| /linux-6.15/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-6.15/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()
|
| /linux-6.15/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()
|
| /linux-6.15/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-6.15/Documentation/process/debugging/ |
| H A D | media_specific_debugging_guide.rst | 13 General debugging advice 16 For general advice see the :doc:`general advice document 63 For general advice see the 83 For general advice see the 92 For general advice see the 100 For general advice see the 141 For general advice see the
|
| H A D | index.rst | 4 Debugging advice for Linux Kernel developers 35 General debugging advice
|
| H A D | userspace_debugging_guide.rst | 4 Userspace debugging advice 9 For debugging advice aimed at driver developers go :doc:`here 11 For general debugging advice, see :doc:`general advice document 214 some advice for analysing the data.
|
| /linux-6.15/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-6.15/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()
|
| /linux-6.15/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()
|
| /linux-6.15/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-6.15/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-6.15/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);
|
| /linux-6.15/arch/powerpc/kernel/ |
| H A D | sys_ppc32.c | 109 size_t, len, int, advice) in PPC32_SYSCALL_DEFINE6() argument 112 advice); in PPC32_SYSCALL_DEFINE6()
|
| 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-6.15/include/linux/ |
| H A D | ksm.h | 19 unsigned long end, int advice, unsigned long *vm_flags); 134 unsigned long end, int advice, unsigned long *vm_flags) in ksm_madvise() argument
|
| H A D | fscache.h | 136 u8 advice; /* FSCACHE_ADV_* */ member 247 u8 advice, in fscache_acquire_cookie() argument 256 return __fscache_acquire_cookie(volume, advice, in fscache_acquire_cookie()
|
| /linux-6.15/arch/arm64/kernel/ |
| H A D | sys32.c | 101 COMPAT_SYSCALL_DEFINE6(aarch32_fadvise64_64, int, fd, int, advice, in COMPAT_SYSCALL_DEFINE6() argument 104 return ksys_fadvise64_64(fd, arg_u64(offset), arg_u64(len), advice); in COMPAT_SYSCALL_DEFINE6()
|
| /linux-6.15/arch/hexagon/include/asm/ |
| H A D | syscalls.h | 5 asmlinkage long sys_hexagon_fadvise64_64(int fd, int advice,
|
| /linux-6.15/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-6.15/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()
|
| /linux-6.15/arch/sh/include/asm/ |
| H A D | syscalls_32.h | 19 u32 len0, u32 len1, int advice);
|
| /linux-6.15/drivers/md/dm-vdo/ |
| H A D | dedupe.c | 1604 struct zoned_pbn *advice = &data_vio->duplicate; in decode_uds_advice() local 1617 advice->state = encoding->data[offset++]; in decode_uds_advice() 1618 advice->pbn = get_unaligned_le64(&encoding->data[offset]); in decode_uds_advice() 1623 if ((advice->state == VDO_MAPPING_STATE_UNMAPPED) || (advice->pbn == VDO_ZERO_BLOCK)) { in decode_uds_advice() 1625 (unsigned long long) advice->pbn, advice->state, in decode_uds_advice() 1631 result = vdo_get_physical_zone(vdo, advice->pbn, &advice->zone); in decode_uds_advice() 1632 if ((result != VDO_SUCCESS) || (advice->zone == NULL)) { in decode_uds_advice() 1634 (unsigned long long) advice->pbn, in decode_uds_advice()
|