Home
last modified time | relevance | path

Searched refs:vm_userfaultfd_ctx (Results 1 – 11 of 11) sorted by relevance

/linux/include/linux/
A Duserfaultfd_k.h76 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 Dmm_types.h380 #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 Dmm.h2661 struct mempolicy *, struct vm_userfaultfd_ctx);
/linux/fs/
A Duserfaultfd.c396 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 Dmmap.c1032 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 Dmremap.c570 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 Dmlock.c515 vma->vm_userfaultfd_ctx); in mlock_fixup()
A Dmprotect.c467 vma->vm_userfaultfd_ctx); in mprotect_fixup()
A Duserfaultfd.c45 if (!dst_vma->vm_userfaultfd_ctx.ctx) in find_dst_vma()
A Dmadvise.c141 vma->vm_userfaultfd_ctx); in madvise_behavior()
A Dmempolicy.c813 new_pol, vma->vm_userfaultfd_ctx); in mbind_range()

Completed in 37 milliseconds