Searched refs:vm_userfaultfd_ctx (Results 1 – 11 of 11) sorted by relevance
/linux-6.6.21/include/linux/ |
D | userfaultfd_k.h | 98 struct vm_userfaultfd_ctx vm_ctx) in is_mergeable_vm_userfaultfd_ctx() 100 return vma->vm_userfaultfd_ctx.ctx == vm_ctx.ctx; in is_mergeable_vm_userfaultfd_ctx() 186 struct vm_userfaultfd_ctx *); 187 extern void mremap_userfaultfd_complete(struct vm_userfaultfd_ctx *, 211 struct vm_userfaultfd_ctx vm_ctx) in is_mergeable_vm_userfaultfd_ctx() 260 struct vm_userfaultfd_ctx *ctx) in mremap_userfaultfd_prep() 264 static inline void mremap_userfaultfd_complete(struct vm_userfaultfd_ctx *ctx, in mremap_userfaultfd_complete()
|
D | mm_types.h | 534 #define NULL_VM_UFFD_CTX ((struct vm_userfaultfd_ctx) { NULL, }) 535 struct vm_userfaultfd_ctx { struct 539 #define NULL_VM_UFFD_CTX ((struct vm_userfaultfd_ctx) {}) argument 540 struct vm_userfaultfd_ctx {}; struct 662 struct vm_userfaultfd_ctx vm_userfaultfd_ctx; member
|
D | mm.h | 3227 struct file *, pgoff_t, struct mempolicy *, struct vm_userfaultfd_ctx,
|
/linux-6.6.21/fs/ |
D | userfaultfd.c | 133 struct userfaultfd_ctx *ctx = vma->vm_userfaultfd_ctx.ctx; in userfaultfd_wp_unpopulated() 438 ctx = vma->vm_userfaultfd_ctx.ctx; in handle_userfault() 659 if (vma->vm_userfaultfd_ctx.ctx == release_new_ctx) { in userfaultfd_event_wait_completion() 661 vma->vm_userfaultfd_ctx = NULL_VM_UFFD_CTX; in userfaultfd_event_wait_completion() 694 octx = vma->vm_userfaultfd_ctx.ctx; in dup_userfaultfd() 697 vma->vm_userfaultfd_ctx = NULL_VM_UFFD_CTX; in dup_userfaultfd() 734 vma->vm_userfaultfd_ctx.ctx = ctx; in dup_userfaultfd() 763 struct vm_userfaultfd_ctx *vm_ctx) in mremap_userfaultfd_prep() 767 ctx = vma->vm_userfaultfd_ctx.ctx; in mremap_userfaultfd_prep() 779 vma->vm_userfaultfd_ctx = NULL_VM_UFFD_CTX; in mremap_userfaultfd_prep() [all …]
|
/linux-6.6.21/mm/ |
D | mmap.c | 722 struct vm_userfaultfd_ctx vm_userfaultfd_ctx, in is_mergeable_vma() argument 739 if (!is_mergeable_vm_userfaultfd_ctx(vma, vm_userfaultfd_ctx)) in is_mergeable_vma() 775 pgoff_t vm_pgoff, struct vm_userfaultfd_ctx vm_userfaultfd_ctx, in can_vma_merge_before() argument 778 if (is_mergeable_vma(vma, file, vm_flags, vm_userfaultfd_ctx, anon_name, true) && in can_vma_merge_before() 798 pgoff_t vm_pgoff, struct vm_userfaultfd_ctx vm_userfaultfd_ctx, in can_vma_merge_after() argument 801 if (is_mergeable_vma(vma, file, vm_flags, vm_userfaultfd_ctx, anon_name, false) && in can_vma_merge_after() 868 struct vm_userfaultfd_ctx vm_userfaultfd_ctx, in vma_merge() argument 908 pgoff, vm_userfaultfd_ctx, anon_name)) { in vma_merge() 917 vm_userfaultfd_ctx, anon_name)) { in vma_merge() 2727 pgoff, vma->vm_userfaultfd_ctx, NULL) : in mmap_region() [all …]
|
D | mremap.c | 587 struct vm_userfaultfd_ctx *uf, struct list_head *uf_unmap) in move_vma() 802 unsigned long flags, struct vm_userfaultfd_ctx *uf, in mremap_to() 916 struct vm_userfaultfd_ctx uf = NULL_VM_UFFD_CTX; in SYSCALL_DEFINE5() 1059 vma->vm_userfaultfd_ctx, anon_vma_name(vma)); in SYSCALL_DEFINE5()
|
D | userfaultfd.c | 42 if (!dst_vma->vm_userfaultfd_ctx.ctx) in find_dst_vma()
|
D | mlock.c | 431 vma->vm_userfaultfd_ctx, anon_vma_name(vma)); in mlock_fixup()
|
D | mprotect.c | 634 vma->vm_userfaultfd_ctx, anon_vma_name(vma)); in mprotect_fixup()
|
D | madvise.c | 155 vma->vm_userfaultfd_ctx, anon_name); in madvise_update_vma()
|
D | mempolicy.c | 839 vma->vm_userfaultfd_ctx, anon_vma_name(vma)); in mbind_range()
|