Home
last modified time | relevance | path

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

/linux/include/linux/
H A Duserfaultfd_k.h150 struct vm_userfaultfd_ctx vm_ctx) in is_mergeable_vm_userfaultfd_ctx()
152 return vma->vm_userfaultfd_ctx.ctx == vm_ctx.ctx; in is_mergeable_vm_userfaultfd_ctx()
252 struct userfaultfd_ctx *uffd_ctx = vma->vm_userfaultfd_ctx.ctx; in vma_has_uffd_without_event_remap()
262 struct vm_userfaultfd_ctx *);
263 extern void mremap_userfaultfd_complete(struct vm_userfaultfd_ctx *,
314 struct vm_userfaultfd_ctx vm_ctx) in is_mergeable_vm_userfaultfd_ctx()
367 struct vm_userfaultfd_ctx *ctx) in mremap_userfaultfd_prep()
371 static inline void mremap_userfaultfd_complete(struct vm_userfaultfd_ctx *ctx, in mremap_userfaultfd_complete()
H A Dmm_types.h594 #define NULL_VM_UFFD_CTX ((struct vm_userfaultfd_ctx) { NULL, })
595 struct vm_userfaultfd_ctx { struct
599 #define NULL_VM_UFFD_CTX ((struct vm_userfaultfd_ctx) {}) argument
600 struct vm_userfaultfd_ctx {}; struct
784 struct vm_userfaultfd_ctx vm_userfaultfd_ctx; member
/linux/fs/
H A Duserfaultfd.c99 struct userfaultfd_ctx *ctx = vma->vm_userfaultfd_ctx.ctx; in userfaultfd_wp_unpopulated()
382 ctx = vma->vm_userfaultfd_ctx.ctx; in handle_userfault()
623 octx = vma->vm_userfaultfd_ctx.ctx; in dup_userfaultfd()
667 vma->vm_userfaultfd_ctx.ctx = ctx; in dup_userfaultfd()
724 struct vm_userfaultfd_ctx *vm_ctx) in mremap_userfaultfd_prep()
728 ctx = vma->vm_userfaultfd_ctx.ctx; in mremap_userfaultfd_prep()
745 void mremap_userfaultfd_complete(struct vm_userfaultfd_ctx *vm_ctx, in mremap_userfaultfd_complete()
777 ctx = vma->vm_userfaultfd_ctx.ctx; in userfaultfd_remove()
815 struct userfaultfd_ctx *ctx = vma->vm_userfaultfd_ctx.ctx; in userfaultfd_unmap_prep()
1321 BUG_ON(!!cur->vm_userfaultfd_ctx.ctx ^ in userfaultfd_register()
[all …]
/linux/mm/
H A Duserfaultfd.c34 if (!dst_vma->vm_userfaultfd_ctx.ctx) in validate_dst_vma()
1395 if (!dst_vma->vm_userfaultfd_ctx.ctx || in validate_move_areas()
1396 dst_vma->vm_userfaultfd_ctx.ctx != ctx)
1796 vma->vm_userfaultfd_ctx = (struct vm_userfaultfd_ctx){ctx};
1852 BUG_ON(vma->vm_userfaultfd_ctx.ctx && in userfaultfd_register_range()
1853 vma->vm_userfaultfd_ctx.ctx != ctx); in userfaultfd_register_range()
1860 if (vma->vm_userfaultfd_ctx.ctx == ctx && in userfaultfd_register_range()
1871 (struct vm_userfaultfd_ctx){ctx}); in userfaultfd_register_range()
1899 /* the various vma->vm_userfaultfd_ctx stil
[all...]
H A Dvma.h86 struct vm_userfaultfd_ctx uffd_ctx;
130 .uffd_ctx = vma_->vm_userfaultfd_ctx, \
213 struct vm_userfaultfd_ctx new_ctx);
H A Dmremap.c700 struct vm_userfaultfd_ctx *uf, struct list_head *uf_unmap) in move_vma()
936 unsigned long flags, struct vm_userfaultfd_ctx *uf, in mremap_to()
1053 struct vm_userfaultfd_ctx uf = NULL_VM_UFFD_CTX; in SYSCALL_DEFINE5()
H A Dvma.c1586 struct vm_userfaultfd_ctx new_ctx) in vma_modify_flags_uffd()
/linux/tools/testing/vma/
H A Dvma_internal.h174 struct vm_userfaultfd_ctx {};
297 struct vm_userfaultfd_ctx vm_userfaultfd_ctx;
613 struct vm_userfaultfd_ctx vm_ctx)
164 struct vm_userfaultfd_ctx {}; global() struct
287 struct vm_userfaultfd_ctx vm_userfaultfd_ctx; global() member
/linux/Documentation/mm/
H A Dprocess_addrs.rst231 …:c:member:`!vm_userfaultfd_ctx` CONFIG_USERFAULTFD Userfaultfd context wrapper object of m…
232 … type :c:type:`!vm_userfaultfd_ctx`, VMA write.