Searched refs:advice (Results 26 - 38 of 38) sorted by relevance

12

/linux-master/fs/overlayfs/
H A Dfile.c459 static int ovl_fadvise(struct file *file, loff_t offset, loff_t len, int advice) argument
470 ret = vfs_fadvise(real.file, offset, len, advice);
/linux-master/fs/xfs/
H A Dxfs_file.c1140 int advice)
1150 if (advice == POSIX_FADV_WILLNEED) {
1154 ret = generic_fadvise(file, start, end, advice);
1136 xfs_file_fadvise( struct file *file, loff_t start, loff_t end, int advice) argument
/linux-master/drivers/infiniband/hw/mlx5/
H A Dmlx5_ib.h1329 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 Dmr.c1315 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
/linux-master/fs/cachefiles/
H A Dondemand.c493 if (!(object->cookie->advice & FSCACHE_ADV_WANT_CACHE_SIZE)) {
/linux-master/include/linux/
H A Dsyscalls.h803 asmlinkage long sys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice);
1037 asmlinkage long sys_fadvise64(int fd, loff_t offset, size_t len, int advice);
1210 int ksys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice);
1213 int advice)
1212 ksys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice) argument
H A Dcompat.h893 compat_arg_u64(len), int advice);
H A Dfs.h3615 int advice);
3617 int advice);
/linux-master/fs/f2fs/
H A Dfile.c4881 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/drivers/infiniband/core/
H A Dverbs.c2235 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/mm/
H A Dksm.c721 return false; /* just ignore the advice */
2927 unsigned long end, int advice, unsigned long *vm_flags)
2932 switch (advice) {
2950 return 0; /* just ignore the advice */
2926 ksm_madvise(struct vm_area_struct *vma, unsigned long start, unsigned long end, int advice, unsigned long *vm_flags) argument
H A Dkhugepaged.c350 unsigned long *vm_flags, int advice)
352 switch (advice) {
349 hugepage_madvise(struct vm_area_struct *vma, unsigned long *vm_flags, int advice) argument
/linux-master/include/rdma/
H A Dib_verbs.h2489 enum ib_uverbs_advise_mr_advice advice, u32 flags,
4262 /* ib_advise_mr - give an advice about an address range in a memory region */
4263 int ib_advise_mr(struct ib_pd *pd, enum ib_uverbs_advise_mr_advice advice,

Completed in 261 milliseconds

12