Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\userfaultfd.c Create Date:2022-07-28 20:20:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:mremap_userfaultfd_prep

Proto:void mremap_userfaultfd_prep(struct vm_area_struct *vma, struct vm_userfaultfd_ctx *vm_ctx)

Type:void

Parameter:

TypeParameterName
struct vm_area_struct *vma
struct vm_userfaultfd_ctx *vm_ctx
749  ctx = ctx
751  If Not ctx Then Return
754  If atures requested from the userspace & UFFD_FEATURE_EVENT_REMAP Then
755  ctx = ctx
756  serfaultfd_ctx_get - Acquires a reference to the internal userfaultfd* context.*@ctx: [in] Pointer to the userfaultfd context.
757  WRITE_ONCE(memory mappings are changing because of non-cooperative event , true)
758  Else
760  vm_userfaultfd_ctx = NULL_VM_UFFD_CTX
761  Flags, see mm.h. &= ~(wrprotect pages tracking | missing pages tracking )