Searched refs:vm_userfaultfd_ctx (Results 1 – 11 of 11) sorted by relevance
/Linux-v4.19/include/linux/ |
D | userfaultfd_k.h | 43 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()
|
D | mm_types.h | 249 #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
|
D | mm.h | 2230 struct mempolicy *, struct vm_userfaultfd_ctx);
|
/Linux-v4.19/fs/ |
D | userfaultfd.c | 372 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/ |
D | mmap.c | 985 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 …]
|
D | mremap.c | 258 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()
|
D | userfaultfd.c | 211 if (!dst_vma->vm_userfaultfd_ctx.ctx) in __mcopy_atomic_hugetlb() 460 if (!dst_vma->vm_userfaultfd_ctx.ctx) in __mcopy_atomic()
|
D | mprotect.c | 401 vma->vm_userfaultfd_ctx); in mprotect_fixup()
|
D | mlock.c | 538 vma->vm_userfaultfd_ctx); in mlock_fixup()
|
D | madvise.c | 141 vma->vm_userfaultfd_ctx); in madvise_behavior()
|
D | mempolicy.c | 708 new_pol, vma->vm_userfaultfd_ctx); in mbind_range()
|