Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Duserfaultfd_k.h50 struct vm_userfaultfd_ctx vm_ctx) in is_mergeable_vm_userfaultfd_ctx()
52 return vma->vm_userfaultfd_ctx.ctx == vm_ctx.ctx; in is_mergeable_vm_userfaultfd_ctx()
86 struct vm_userfaultfd_ctx *);
87 extern void mremap_userfaultfd_complete(struct vm_userfaultfd_ctx *,
111 struct vm_userfaultfd_ctx vm_ctx) in is_mergeable_vm_userfaultfd_ctx()
155 struct vm_userfaultfd_ctx *ctx) in mremap_userfaultfd_prep()
159 static inline void mremap_userfaultfd_complete(struct vm_userfaultfd_ctx *ctx, in mremap_userfaultfd_complete()
Dmm_types.h294 #define NULL_VM_UFFD_CTX ((struct vm_userfaultfd_ctx) { NULL, })
295 struct vm_userfaultfd_ctx { struct
299 #define NULL_VM_UFFD_CTX ((struct vm_userfaultfd_ctx) {}) argument
300 struct vm_userfaultfd_ctx {}; struct
394 struct vm_userfaultfd_ctx vm_userfaultfd_ctx; member
Dmm.h2581 struct mempolicy *, struct vm_userfaultfd_ctx, struct anon_vma_name *);
/kernel/linux/linux-5.10/fs/
Duserfaultfd.c399 ctx = vmf->vma->vm_userfaultfd_ctx.ctx; in handle_userfault()
607 if (vma->vm_userfaultfd_ctx.ctx == release_new_ctx) { in userfaultfd_event_wait_completion()
608 vma->vm_userfaultfd_ctx = NULL_VM_UFFD_CTX; in userfaultfd_event_wait_completion()
638 octx = vma->vm_userfaultfd_ctx.ctx; in dup_userfaultfd()
640 vma->vm_userfaultfd_ctx = NULL_VM_UFFD_CTX; in dup_userfaultfd()
677 vma->vm_userfaultfd_ctx.ctx = ctx; in dup_userfaultfd()
706 struct vm_userfaultfd_ctx *vm_ctx) in mremap_userfaultfd_prep()
710 ctx = vma->vm_userfaultfd_ctx.ctx; in mremap_userfaultfd_prep()
721 vma->vm_userfaultfd_ctx = NULL_VM_UFFD_CTX; in mremap_userfaultfd_prep()
726 void mremap_userfaultfd_complete(struct vm_userfaultfd_ctx *vm_ctx, in mremap_userfaultfd_complete()
[all …]
/kernel/linux/linux-5.10/mm/
Dmmap.c1038 struct vm_userfaultfd_ctx vm_userfaultfd_ctx, in is_mergeable_vma() argument
1055 if (!is_mergeable_vm_userfaultfd_ctx(vma, vm_userfaultfd_ctx)) in is_mergeable_vma()
1091 struct vm_userfaultfd_ctx vm_userfaultfd_ctx, in can_vma_merge_before() argument
1094 if (is_mergeable_vma(vma, file, vm_flags, vm_userfaultfd_ctx, anon_name) && in can_vma_merge_before()
1113 struct vm_userfaultfd_ctx vm_userfaultfd_ctx, in can_vma_merge_after() argument
1116 if (is_mergeable_vma(vma, file, vm_flags, vm_userfaultfd_ctx, anon_name) && in can_vma_merge_after()
1174 struct vm_userfaultfd_ctx vm_userfaultfd_ctx, in vma_merge() argument
1205 vm_userfaultfd_ctx, anon_name)) { in vma_merge()
1214 vm_userfaultfd_ctx, anon_name) && in vma_merge()
1237 vm_userfaultfd_ctx, anon_name)) { in vma_merge()
[all …]
Dmremap.c337 struct vm_userfaultfd_ctx *uf, struct list_head *uf_unmap) in move_vma()
547 unsigned long flags, struct vm_userfaultfd_ctx *uf, in mremap_to()
669 struct vm_userfaultfd_ctx uf = NULL_VM_UFFD_CTX; in SYSCALL_DEFINE5()
Duserfaultfd.c45 if (!dst_vma->vm_userfaultfd_ctx.ctx) in find_dst_vma()
Dmprotect.c467 vma->vm_userfaultfd_ctx, anon_vma_name(vma)); in mprotect_fixup()
Dmlock.c543 vma->vm_userfaultfd_ctx, anon_vma_name(vma)); in mlock_fixup()
Dmadvise.c152 vma->vm_userfaultfd_ctx, anon_name); in madvise_update_vma()
Dmempolicy.c831 new_pol, vma->vm_userfaultfd_ctx, in mbind_range()