Searched refs:vm_userfaultfd_ctx (Results 1 – 11 of 11) sorted by relevance
/linux/include/linux/ |
A D | userfaultfd_k.h | 76 struct vm_userfaultfd_ctx vm_ctx) in is_mergeable_vm_userfaultfd_ctx() 78 return vma->vm_userfaultfd_ctx.ctx == vm_ctx.ctx; in is_mergeable_vm_userfaultfd_ctx() 133 struct vm_userfaultfd_ctx *); 134 extern void mremap_userfaultfd_complete(struct vm_userfaultfd_ctx *, 158 struct vm_userfaultfd_ctx vm_ctx) in is_mergeable_vm_userfaultfd_ctx() 207 struct vm_userfaultfd_ctx *ctx) in mremap_userfaultfd_prep() 211 static inline void mremap_userfaultfd_complete(struct vm_userfaultfd_ctx *ctx, in mremap_userfaultfd_complete()
|
A D | mm_types.h | 380 #define NULL_VM_UFFD_CTX ((struct vm_userfaultfd_ctx) { NULL, }) 381 struct vm_userfaultfd_ctx { struct 385 #define NULL_VM_UFFD_CTX ((struct vm_userfaultfd_ctx) {}) argument 386 struct vm_userfaultfd_ctx {}; struct 463 struct vm_userfaultfd_ctx vm_userfaultfd_ctx; member
|
A D | mm.h | 2661 struct mempolicy *, struct vm_userfaultfd_ctx);
|
/linux/fs/ |
A D | userfaultfd.c | 396 ctx = vmf->vma->vm_userfaultfd_ctx.ctx; in handle_userfault() 645 octx = vma->vm_userfaultfd_ctx.ctx; in dup_userfaultfd() 684 vma->vm_userfaultfd_ctx.ctx = ctx; in dup_userfaultfd() 717 ctx = vma->vm_userfaultfd_ctx.ctx; in mremap_userfaultfd_prep() 765 ctx = vma->vm_userfaultfd_ctx.ctx; in userfaultfd_remove() 869 BUG_ON(!!vma->vm_userfaultfd_ctx.ctx ^ in userfaultfd_release() 1354 BUG_ON(!!cur->vm_userfaultfd_ctx.ctx ^ in userfaultfd_register() 1397 if (cur->vm_userfaultfd_ctx.ctx && in userfaultfd_register() 1419 BUG_ON(vma->vm_userfaultfd_ctx.ctx && in userfaultfd_register() 1461 vma->vm_userfaultfd_ctx.ctx = ctx; in userfaultfd_register() [all …]
|
/linux/mm/ |
A D | mmap.c | 1032 struct vm_userfaultfd_ctx vm_userfaultfd_ctx) in is_mergeable_vma() argument 1048 if (!is_mergeable_vm_userfaultfd_ctx(vma, vm_userfaultfd_ctx)) in is_mergeable_vma() 1082 struct vm_userfaultfd_ctx vm_userfaultfd_ctx) in can_vma_merge_before() argument 1084 if (is_mergeable_vma(vma, file, vm_flags, vm_userfaultfd_ctx) && in can_vma_merge_before() 1103 struct vm_userfaultfd_ctx vm_userfaultfd_ctx) in can_vma_merge_after() argument 1105 if (is_mergeable_vma(vma, file, vm_flags, vm_userfaultfd_ctx) && in can_vma_merge_after() 1163 struct vm_userfaultfd_ctx vm_userfaultfd_ctx) in vma_merge() argument 1193 vm_userfaultfd_ctx)) { in vma_merge() 1202 vm_userfaultfd_ctx) && in vma_merge() 1225 vm_userfaultfd_ctx)) { in vma_merge() [all …]
|
A D | mremap.c | 570 struct vm_userfaultfd_ctx *uf, struct list_head *uf_unmap) in move_vma() 784 unsigned long flags, struct vm_userfaultfd_ctx *uf, in mremap_to() 898 struct vm_userfaultfd_ctx uf = NULL_VM_UFFD_CTX; in SYSCALL_DEFINE5()
|
A D | mlock.c | 515 vma->vm_userfaultfd_ctx); in mlock_fixup()
|
A D | mprotect.c | 467 vma->vm_userfaultfd_ctx); in mprotect_fixup()
|
A D | userfaultfd.c | 45 if (!dst_vma->vm_userfaultfd_ctx.ctx) in find_dst_vma()
|
A D | madvise.c | 141 vma->vm_userfaultfd_ctx); in madvise_behavior()
|
A D | mempolicy.c | 813 new_pol, vma->vm_userfaultfd_ctx); in mbind_range()
|
Completed in 35 milliseconds