/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/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/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/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/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/arm/include/asm/ |
H A D | syscalls.h | 11 asmlinkage long sys_arm_fadvise64_64(int fd, int 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/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/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/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/powerpc/kernel/ |
H A D | sys_ppc32.c | 109 size_t, len, int, advice) 112 advice);
|
H A D | syscalls.c | 104 int, fd, int, advice, u32, offset_high, u32, offset_low, 108 merge_64(len_high, len_low), advice);
|
/linux-master/arch/sh/include/asm/ |
H A D | syscalls_32.h | 19 u32 len0, u32 len1, int 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/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/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,
|
H A D | verbs.c | 2235 int ib_advise_mr(struct ib_pd *pd, enum ib_uverbs_advise_mr_advice advice, argument 2244 return pd->device->ops.advise_mr(pd, advice, flags, sg_list, num_sge,
|
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | mlx5_ib.h | 1329 enum ib_uverbs_advise_mr_advice advice, 1419 enum ib_uverbs_advise_mr_advice advice, 1442 enum ib_uverbs_advise_mr_advice advice, u32 flags, 1441 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
|
H A D | mr.c | 1315 enum ib_uverbs_advise_mr_advice advice, 1321 if (advice != IB_UVERBS_ADVISE_MR_ADVICE_PREFETCH && 1322 advice != IB_UVERBS_ADVISE_MR_ADVICE_PREFETCH_WRITE && 1323 advice != IB_UVERBS_ADVISE_MR_ADVICE_PREFETCH_NO_FAULT) 1326 return mlx5_ib_advise_mr_prefetch(pd, advice, flags, 1314 mlx5_ib_advise_mr(struct ib_pd *pd, enum ib_uverbs_advise_mr_advice advice, u32 flags, struct ib_sge *sg_list, u32 num_sge, struct uverbs_attr_bundle *attrs) argument
|
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/fs/cachefiles/ |
H A D | ondemand.c | 493 if (!(object->cookie->advice & FSCACHE_ADV_WANT_CACHE_SIZE)) {
|
/linux-master/fs/f2fs/ |
H A D | file.c | 4881 int advice) 4888 if (advice == POSIX_FADV_SEQUENTIAL) { 4903 } else if (advice == POSIX_FADV_WILLNEED && offset == 0) { 4908 err = generic_fadvise(filp, offset, len, advice); 4909 if (!err && advice == POSIX_FADV_DONTNEED && 4880 f2fs_file_fadvise(struct file *filp, loff_t offset, loff_t 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
|