/linux-master/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-master/mm/ |
H A D | fadvise.c | 31 int generic_fadvise(struct file *file, loff_t offset, loff_t len, int advice) argument 52 switch (advice) { 59 /* no bad return value, but ignore advice */ 78 switch (advice) { 180 int vfs_fadvise(struct file *file, loff_t offset, loff_t len, int advice) argument 183 return file->f_op->fadvise(file, offset, len, advice); 185 return generic_fadvise(file, offset, len, advice); 191 int ksys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice) argument 199 ret = vfs_fadvise(f.file, offset, len, advice); 205 SYSCALL_DEFINE4(fadvise64_64, int, fd, loff_t, offset, loff_t, len, int, advice) [all...] |
/linux-master/arch/csky/kernel/ |
H A D | syscall.c | 33 * for abiv1 the 64bits args should be even th, So we need mov the advice 38 int, advice, 42 return ksys_fadvise64_64(fd, offset, len, advice);
|
/linux-master/io_uring/ |
H A D | advise.c | 21 u32 advice; member in struct:io_fadvise 28 u32 advice; member in struct:io_madvise 41 ma->advice = READ_ONCE(sqe->fadvise_advice); 57 ret = do_madvise(current->mm, ma->addr, ma->len, ma->advice); 67 switch (fa->advice) { 86 fa->advice = READ_ONCE(sqe->fadvise_advice); 99 ret = vfs_fadvise(req->file, fa->offset, fa->len, fa->advice);
|
/linux-master/arch/arm/kernel/ |
H A D | sys_arm.c | 33 asmlinkage long sys_arm_fadvise64_64(int fd, int advice, argument 36 return ksys_fadvise64_64(fd, offset, len, advice);
|
/linux-master/arch/sh/kernel/ |
H A D | sys_sh32.c | 52 u32 len0, u32 len1, int advice) 56 (u64)len1 << 32 | len0, advice); 59 (u64)len0 << 32 | len1, advice); 51 sys_fadvise64_64_wrapper(int fd, u32 offset0, u32 offset1, u32 len0, u32 len1, int advice) argument
|
/linux-master/arch/sh/include/asm/ |
H A D | syscalls_32.h | 19 u32 len0, u32 len1, int advice);
|
/linux-master/arch/xtensa/kernel/ |
H A D | syscall.c | 50 asmlinkage long xtensa_fadvise64_64(int fd, int advice, argument 53 return ksys_fadvise64_64(fd, offset, len, advice);
|
/linux-master/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-master/arch/s390/kernel/ |
H A D | compat_linux.c | 261 int advice; member in struct:fadvise64_64_args 270 if (a.advice == 4) 271 a.advice = POSIX_FADV_DONTNEED; 272 else if (a.advice == 5) 273 a.advice = POSIX_FADV_NOREUSE; 274 return ksys_fadvise64_64(a.fd, a.offset, a.len, a.advice);
|
/linux-master/arch/powerpc/kernel/ |
H A D | syscalls.c | 104 int, fd, int, advice, u32, offset_high, u32, offset_low, 108 merge_64(len_high, len_low), advice);
|
H A D | sys_ppc32.c | 109 size_t, len, int, advice) 112 advice);
|
/linux-master/include/linux/ |
H A D | ksm.h | 20 unsigned long end, int advice, unsigned long *vm_flags); 127 unsigned long end, int advice, unsigned long *vm_flags) 126 ksm_madvise(struct vm_area_struct *vma, unsigned long start, unsigned long end, int advice, unsigned long *vm_flags) argument
|
H A D | fscache.h | 136 u8 advice; /* FSCACHE_ADV_* */ member in struct:fscache_cookie 230 * @advice: Advice flags (FSCACHE_COOKIE_ADV_*) 244 u8 advice, 253 return __fscache_acquire_cookie(volume, advice, 243 fscache_acquire_cookie(struct fscache_volume *volume, u8 advice, const void *index_key, size_t index_key_len, const void *aux_data, size_t aux_data_len, loff_t object_size) argument
|
H A D | huge_mm.h | 304 int advice); 448 unsigned long *vm_flags, int advice) 447 hugepage_madvise(struct vm_area_struct *vma, unsigned long *vm_flags, int advice) argument
|
/linux-master/arch/sparc/kernel/ |
H A D | systbls.h | 85 compat_size_t len, int advice); 89 int advice);
|
H A D | sys_sparc32.c | 209 compat_size_t, len, int, advice) 211 return ksys_fadvise64_64(fd, ((u64)offhi << 32) | offlo, len, advice); 215 u32, lenhi, u32, lenlo, int, advice) 220 advice);
|
/linux-master/arch/arm64/kernel/ |
H A D | sys32.c | 106 COMPAT_SYSCALL_DEFINE6(aarch32_fadvise64_64, int, fd, int, advice, 109 return ksys_fadvise64_64(fd, arg_u64(offset), arg_u64(len), advice);
|
/linux-master/arch/x86/kernel/ |
H A D | sys_ia32.c | 89 int, advice) 94 advice); 113 unsigned int, offset_hi, size_t, len, int, advice) 116 len, advice);
|
/linux-master/arch/arm/include/asm/ |
H A D | syscalls.h | 11 asmlinkage long sys_arm_fadvise64_64(int fd, int advice,
|
/linux-master/drivers/infiniband/core/ |
H A D | uverbs_std_types_mr.c | 52 enum ib_uverbs_advise_mr_advice advice; local 63 ret = uverbs_get_const(&advice, attrs, UVERBS_ATTR_ADVISE_MR_ADVICE); 79 return ib_dev->ops.advise_mr(pd, advice, flags, sg_list, num_sge,
|
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | odp.c | 1664 get_prefetchable_mr(struct ib_pd *pd, enum ib_uverbs_advise_mr_advice advice, argument 1690 if (advice == IB_UVERBS_ADVISE_MR_ADVICE_PREFETCH_WRITE && 1725 enum ib_uverbs_advise_mr_advice advice, 1737 mr = get_prefetchable_mr(pd, advice, sg_list[i].lkey); 1751 enum ib_uverbs_advise_mr_advice advice, 1762 mr = get_prefetchable_mr(pd, advice, sg_list[i].lkey); 1779 enum ib_uverbs_advise_mr_advice advice, 1786 if (advice == IB_UVERBS_ADVISE_MR_ADVICE_PREFETCH) 1789 if (advice == IB_UVERBS_ADVISE_MR_ADVICE_PREFETCH_NO_FAULT) 1793 return mlx5_ib_prefetch_sg_list(pd, advice, pf_flag 1724 init_prefetch_work(struct ib_pd *pd, enum ib_uverbs_advise_mr_advice advice, u32 pf_flags, struct prefetch_mr_work *work, struct ib_sge *sg_list, u32 num_sge) argument 1750 mlx5_ib_prefetch_sg_list(struct ib_pd *pd, enum ib_uverbs_advise_mr_advice advice, u32 pf_flags, struct ib_sge *sg_list, u32 num_sge) argument 1778 mlx5_ib_advise_mr_prefetch(struct ib_pd *pd, enum ib_uverbs_advise_mr_advice advice, u32 flags, struct ib_sge *sg_list, u32 num_sge) argument [all...] |
/linux-master/drivers/md/dm-vdo/ |
H A D | dedupe.c | 12 * concurrently writing identical blocks, allowing them to deduplicate not only against advice but 47 * index query (UPDATING, triggered by stale advice, compression, and rollover), releasing the PBN 55 * Non-concurrent, finding valid advice looks like this (endpoints elided): 57 * Or with stale advice (endpoints elided): 245 /* True if the UDS index should be updated with new advice */ 248 /* True if the advice has been verified to be a true duplicate */ 610 /* Ensure we don't attempt to update advice when cleaning up. */ 647 * block, so it must have been a lock on advice we were verifying, not on a 791 * the duplicate that should be returned as advice in the future. 799 VDO_ASSERT_LOG_ONLY(lock->verified, "new advice shoul 1608 struct zoned_pbn *advice = &data_vio->duplicate; local [all...] |
/linux-master/arch/parisc/kernel/ |
H A D | sys_parisc.c | 270 unsigned int high_len, unsigned int low_len, int advice) 273 (loff_t)high_len << 32 | low_len, advice); 268 parisc_fadvise64_64(int fd, unsigned int high_off, unsigned int low_off, unsigned int high_len, unsigned int low_len, int advice) argument
|
/linux-master/fs/netfs/ |
H A D | fscache_cookie.c | 327 u8 advice, 341 cookie->advice = advice; 452 u8 advice, 470 cookie = fscache_alloc_cookie(volume, advice, 325 fscache_alloc_cookie( struct fscache_volume *volume, u8 advice, const void *index_key, size_t index_key_len, const void *aux_data, size_t aux_data_len, loff_t object_size) argument 450 __fscache_acquire_cookie( struct fscache_volume *volume, u8 advice, const void *index_key, size_t index_key_len, const void *aux_data, size_t aux_data_len, loff_t object_size) argument
|