| /linux/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() 179 int vfs_fadvise(struct file *file, loff_t offset, loff_t len, int advice) in vfs_fadvise() argument 182 return file->f_op->fadvise(file, offset, len, advice); in vfs_fadvise() 184 return generic_fadvise(file, offset, len, advice); in vfs_fadvise() 190 int ksys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice) in ksys_fadvise64_64() argument 197 return vfs_fadvise(fd_file(f), offset, len, advice); in ksys_fadvise64_64() 200 SYSCALL_DEFINE4(fadvise64_64, int, fd, loff_t, offset, loff_t, len, int, advice) in SYSCALL_DEFINE4() argument 202 return ksys_fadvise64_64(fd, offset, len, advice); in SYSCALL_DEFINE4() [all …]
|
| /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 | 458 enum ib_uverbs_advise_mr_advice advice, in rxe_ib_prefetch_sg_list() argument 479 if (advice == IB_UVERBS_ADVISE_MR_ADVICE_PREFETCH_WRITE && in rxe_ib_prefetch_sg_list() 504 enum ib_uverbs_advise_mr_advice advice, in rxe_ib_advise_mr_prefetch() argument 514 if (advice == IB_UVERBS_ADVISE_MR_ADVICE_PREFETCH) in rxe_ib_advise_mr_prefetch() 517 if (advice == IB_UVERBS_ADVISE_MR_ADVICE_PREFETCH_NO_FAULT) in rxe_ib_advise_mr_prefetch() 522 return rxe_ib_prefetch_sg_list(ibpd, advice, pf_flags, sg_list, in rxe_ib_advise_mr_prefetch() 565 enum ib_uverbs_advise_mr_advice advice, in rxe_ib_advise_mr() argument 571 if (advice != IB_UVERBS_ADVISE_MR_ADVICE_PREFETCH && in rxe_ib_advise_mr() 572 advice != IB_UVERBS_ADVISE_MR_ADVICE_PREFETCH_WRITE && in rxe_ib_advise_mr() 573 advice != IB_UVERBS_ADVISE_MR_ADVICE_PREFETCH_NO_FAULT) in rxe_ib_advise_mr() [all …]
|
| /linux/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/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 26 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/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/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/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/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/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/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()
|
| H A D | sys_ppc32.c | 109 size_t, len, int, advice) in PPC32_SYSCALL_DEFINE6() argument 112 advice); in PPC32_SYSCALL_DEFINE6()
|
| /linux/include/linux/ |
| H A D | ksm.h | 19 unsigned long end, int advice, vm_flags_t *vm_flags); 142 unsigned long end, int advice, vm_flags_t *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/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/arch/hexagon/include/asm/ |
| H A D | syscalls.h | 5 asmlinkage long sys_hexagon_fadvise64_64(int fd, 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/drivers/md/dm-vdo/ |
| H A D | dedupe.c | 1606 struct zoned_pbn *advice = &data_vio->duplicate; in decode_uds_advice() local 1619 advice->state = encoding->data[offset++]; in decode_uds_advice() 1620 advice->pbn = get_unaligned_le64(&encoding->data[offset]); in decode_uds_advice() 1625 if ((advice->state == VDO_MAPPING_STATE_UNMAPPED) || (advice->pbn == VDO_ZERO_BLOCK)) { in decode_uds_advice() 1627 (unsigned long long) advice->pbn, advice->state, in decode_uds_advice() 1633 result = vdo_get_physical_zone(vdo, advice->pbn, &advice->zone); in decode_uds_advice() 1634 if ((result != VDO_SUCCESS) || (advice->zone == NULL)) { in decode_uds_advice() 1636 (unsigned long long) advice->pbn, in decode_uds_advice()
|
| /linux/fs/erofs/ |
| H A D | ishare.c | 159 loff_t len, int advice) in erofs_ishare_fadvise() argument 161 return vfs_fadvise(file->private_data, offset, len, advice); in erofs_ishare_fadvise()
|
| /linux/arch/sh/include/asm/ |
| H A D | syscalls_32.h | 19 u32 len0, u32 len1, int advice);
|