Searched refs:vm_userfaultfd_ctx (Results 1 – 11 of 11) sorted by relevance
/linux-5.19.10/include/linux/ |
D | userfaultfd_k.h | 81 struct vm_userfaultfd_ctx vm_ctx) in is_mergeable_vm_userfaultfd_ctx() 83 return vma->vm_userfaultfd_ctx.ctx == vm_ctx.ctx; in is_mergeable_vm_userfaultfd_ctx() 169 struct vm_userfaultfd_ctx *); 170 extern void mremap_userfaultfd_complete(struct vm_userfaultfd_ctx *, 194 struct vm_userfaultfd_ctx vm_ctx) in is_mergeable_vm_userfaultfd_ctx() 243 struct vm_userfaultfd_ctx *ctx) in mremap_userfaultfd_prep() 247 static inline void mremap_userfaultfd_complete(struct vm_userfaultfd_ctx *ctx, in mremap_userfaultfd_complete()
|
D | mm_types.h | 377 #define NULL_VM_UFFD_CTX ((struct vm_userfaultfd_ctx) { NULL, }) 378 struct vm_userfaultfd_ctx { struct 382 #define NULL_VM_UFFD_CTX ((struct vm_userfaultfd_ctx) {}) argument 383 struct vm_userfaultfd_ctx {}; struct 477 struct vm_userfaultfd_ctx vm_userfaultfd_ctx; member
|
D | mm.h | 2636 struct mempolicy *, struct vm_userfaultfd_ctx, struct anon_vma_name *);
|
/linux-5.19.10/fs/ |
D | userfaultfd.c | 405 ctx = vmf->vma->vm_userfaultfd_ctx.ctx; in handle_userfault() 622 if (vma->vm_userfaultfd_ctx.ctx == release_new_ctx) { in userfaultfd_event_wait_completion() 623 vma->vm_userfaultfd_ctx = NULL_VM_UFFD_CTX; in userfaultfd_event_wait_completion() 654 octx = vma->vm_userfaultfd_ctx.ctx; in dup_userfaultfd() 656 vma->vm_userfaultfd_ctx = NULL_VM_UFFD_CTX; in dup_userfaultfd() 693 vma->vm_userfaultfd_ctx.ctx = ctx; in dup_userfaultfd() 722 struct vm_userfaultfd_ctx *vm_ctx) in mremap_userfaultfd_prep() 726 ctx = vma->vm_userfaultfd_ctx.ctx; in mremap_userfaultfd_prep() 737 vma->vm_userfaultfd_ctx = NULL_VM_UFFD_CTX; in mremap_userfaultfd_prep() 742 void mremap_userfaultfd_complete(struct vm_userfaultfd_ctx *vm_ctx, in mremap_userfaultfd_complete() [all …]
|
/linux-5.19.10/mm/ |
D | mmap.c | 1038 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 …]
|
D | mremap.c | 573 struct vm_userfaultfd_ctx *uf, struct list_head *uf_unmap) in move_vma() 781 unsigned long flags, struct vm_userfaultfd_ctx *uf, in mremap_to() 895 struct vm_userfaultfd_ctx uf = NULL_VM_UFFD_CTX; in SYSCALL_DEFINE5()
|
D | userfaultfd.c | 46 if (!dst_vma->vm_userfaultfd_ctx.ctx) in find_dst_vma()
|
D | mlock.c | 422 vma->vm_userfaultfd_ctx, anon_vma_name(vma)); in mlock_fixup()
|
D | mprotect.c | 560 vma->vm_userfaultfd_ctx, anon_vma_name(vma)); in mprotect_fixup()
|
D | madvise.c | 156 vma->vm_userfaultfd_ctx, anon_name); in madvise_update_vma()
|
D | mempolicy.c | 815 new_pol, vma->vm_userfaultfd_ctx, in mbind_range()
|