Searched refs:vm_userfaultfd_ctx (Results 1 – 11 of 11) sorted by relevance
/linux-6.1.9/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 *, 193 struct vm_userfaultfd_ctx vm_ctx) in is_mergeable_vm_userfaultfd_ctx() 242 struct vm_userfaultfd_ctx *ctx) in mremap_userfaultfd_prep() 246 static inline void mremap_userfaultfd_complete(struct vm_userfaultfd_ctx *ctx, in mremap_userfaultfd_complete()
|
D | mm_types.h | 423 #define NULL_VM_UFFD_CTX ((struct vm_userfaultfd_ctx) { NULL, }) 424 struct vm_userfaultfd_ctx { struct 428 #define NULL_VM_UFFD_CTX ((struct vm_userfaultfd_ctx) {}) argument 429 struct vm_userfaultfd_ctx {}; struct 508 struct vm_userfaultfd_ctx vm_userfaultfd_ctx; member
|
D | mm.h | 2689 struct mempolicy *, struct vm_userfaultfd_ctx, struct anon_vma_name *);
|
/linux-6.1.9/fs/ |
D | userfaultfd.c | 421 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() 668 octx = vma->vm_userfaultfd_ctx.ctx; in dup_userfaultfd() 670 vma->vm_userfaultfd_ctx = NULL_VM_UFFD_CTX; in dup_userfaultfd() 707 vma->vm_userfaultfd_ctx.ctx = ctx; in dup_userfaultfd() 736 struct vm_userfaultfd_ctx *vm_ctx) in mremap_userfaultfd_prep() 740 ctx = vma->vm_userfaultfd_ctx.ctx; in mremap_userfaultfd_prep() 751 vma->vm_userfaultfd_ctx = NULL_VM_UFFD_CTX; in mremap_userfaultfd_prep() 756 void mremap_userfaultfd_complete(struct vm_userfaultfd_ctx *vm_ctx, in mremap_userfaultfd_complete() [all …]
|
/linux-6.1.9/mm/ |
D | mmap.c | 868 struct vm_userfaultfd_ctx vm_userfaultfd_ctx, in is_mergeable_vma() argument 885 if (!is_mergeable_vm_userfaultfd_ctx(vma, vm_userfaultfd_ctx)) in is_mergeable_vma() 921 struct vm_userfaultfd_ctx vm_userfaultfd_ctx, in can_vma_merge_before() argument 924 if (is_mergeable_vma(vma, file, vm_flags, vm_userfaultfd_ctx, anon_name) && in can_vma_merge_before() 943 struct vm_userfaultfd_ctx vm_userfaultfd_ctx, in can_vma_merge_after() argument 946 if (is_mergeable_vma(vma, file, vm_flags, vm_userfaultfd_ctx, anon_name) && in can_vma_merge_after() 1004 struct vm_userfaultfd_ctx vm_userfaultfd_ctx, in vma_merge() argument 1035 vm_userfaultfd_ctx, anon_name)) { in vma_merge() 1043 vm_userfaultfd_ctx, anon_name)) { in vma_merge() 2581 pgoff, vma->vm_userfaultfd_ctx, NULL) : in mmap_region() [all …]
|
D | mremap.c | 575 struct vm_userfaultfd_ctx *uf, struct list_head *uf_unmap) in move_vma() 783 unsigned long flags, struct vm_userfaultfd_ctx *uf, in mremap_to() 898 struct vm_userfaultfd_ctx uf = NULL_VM_UFFD_CTX; in SYSCALL_DEFINE5() 1039 vma->vm_userfaultfd_ctx, anon_vma_name(vma)); in SYSCALL_DEFINE5()
|
D | mlock.c | 422 vma->vm_userfaultfd_ctx, anon_vma_name(vma)); in mlock_fixup()
|
D | userfaultfd.c | 46 if (!dst_vma->vm_userfaultfd_ctx.ctx) in find_dst_vma()
|
D | mprotect.c | 607 vma->vm_userfaultfd_ctx, anon_vma_name(vma)); in mprotect_fixup()
|
D | madvise.c | 157 vma->vm_userfaultfd_ctx, anon_name); in madvise_update_vma()
|
D | mempolicy.c | 818 new_pol, vma->vm_userfaultfd_ctx, in mbind_range()
|