Home
last modified time | relevance | path

Searched refs:vm_userfaultfd_ctx (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/include/linux/
Duserfaultfd_k.h43 struct vm_userfaultfd_ctx vm_ctx) in is_mergeable_vm_userfaultfd_ctx()
45 return vma->vm_userfaultfd_ctx.ctx == vm_ctx.ctx; in is_mergeable_vm_userfaultfd_ctx()
62 struct vm_userfaultfd_ctx *);
63 extern void mremap_userfaultfd_complete(struct vm_userfaultfd_ctx *,
87 struct vm_userfaultfd_ctx vm_ctx) in is_mergeable_vm_userfaultfd_ctx()
113 struct vm_userfaultfd_ctx *ctx) in mremap_userfaultfd_prep()
117 static inline void mremap_userfaultfd_complete(struct vm_userfaultfd_ctx *ctx, in mremap_userfaultfd_complete()
Dmm_types.h249 #define NULL_VM_UFFD_CTX ((struct vm_userfaultfd_ctx) { NULL, })
250 struct vm_userfaultfd_ctx { struct
254 #define NULL_VM_UFFD_CTX ((struct vm_userfaultfd_ctx) {}) argument
255 struct vm_userfaultfd_ctx {}; struct
325 struct vm_userfaultfd_ctx vm_userfaultfd_ctx; member
Dmm.h2230 struct mempolicy *, struct vm_userfaultfd_ctx);
/Linux-v4.19/fs/
Duserfaultfd.c372 ctx = vmf->vma->vm_userfaultfd_ctx.ctx; in handle_userfault()
634 if (vma->vm_userfaultfd_ctx.ctx == release_new_ctx) { in userfaultfd_event_wait_completion()
635 vma->vm_userfaultfd_ctx = NULL_VM_UFFD_CTX; in userfaultfd_event_wait_completion()
665 octx = vma->vm_userfaultfd_ctx.ctx; in dup_userfaultfd()
667 vma->vm_userfaultfd_ctx = NULL_VM_UFFD_CTX; in dup_userfaultfd()
705 vma->vm_userfaultfd_ctx.ctx = ctx; in dup_userfaultfd()
734 struct vm_userfaultfd_ctx *vm_ctx) in mremap_userfaultfd_prep()
738 ctx = vma->vm_userfaultfd_ctx.ctx; in mremap_userfaultfd_prep()
746 void mremap_userfaultfd_complete(struct vm_userfaultfd_ctx *vm_ctx, in mremap_userfaultfd_complete()
778 ctx = vma->vm_userfaultfd_ctx.ctx; in userfaultfd_remove()
[all …]
/Linux-v4.19/mm/
Dmmap.c985 struct vm_userfaultfd_ctx vm_userfaultfd_ctx) in is_mergeable_vma() argument
1001 if (!is_mergeable_vm_userfaultfd_ctx(vma, vm_userfaultfd_ctx)) in is_mergeable_vma()
1035 struct vm_userfaultfd_ctx vm_userfaultfd_ctx) in can_vma_merge_before() argument
1037 if (is_mergeable_vma(vma, file, vm_flags, vm_userfaultfd_ctx) && in can_vma_merge_before()
1056 struct vm_userfaultfd_ctx vm_userfaultfd_ctx) in can_vma_merge_after() argument
1058 if (is_mergeable_vma(vma, file, vm_flags, vm_userfaultfd_ctx) && in can_vma_merge_after()
1113 struct vm_userfaultfd_ctx vm_userfaultfd_ctx) in vma_merge() argument
1146 vm_userfaultfd_ctx)) { in vma_merge()
1155 vm_userfaultfd_ctx) && in vma_merge()
1178 vm_userfaultfd_ctx)) { in vma_merge()
[all …]
Dmremap.c258 bool *locked, struct vm_userfaultfd_ctx *uf, in move_vma()
437 struct vm_userfaultfd_ctx *uf, in mremap_to()
524 struct vm_userfaultfd_ctx uf = NULL_VM_UFFD_CTX; in SYSCALL_DEFINE5()
Duserfaultfd.c211 if (!dst_vma->vm_userfaultfd_ctx.ctx) in __mcopy_atomic_hugetlb()
460 if (!dst_vma->vm_userfaultfd_ctx.ctx) in __mcopy_atomic()
Dmprotect.c401 vma->vm_userfaultfd_ctx); in mprotect_fixup()
Dmlock.c538 vma->vm_userfaultfd_ctx); in mlock_fixup()
Dmadvise.c141 vma->vm_userfaultfd_ctx); in madvise_behavior()
Dmempolicy.c708 new_pol, vma->vm_userfaultfd_ctx); in mbind_range()