函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\userfaultfd.c Create Date:2022-07-29 10:52:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:mremap_userfaultfd_prep

函数原型:void mremap_userfaultfd_prep(struct vm_area_struct *vma, struct vm_userfaultfd_ctx *vm_ctx)

返回类型:void

参数:

类型参数名称
struct vm_area_struct *vma
struct vm_userfaultfd_ctx *vm_ctx
749  ctx等于ctx
751  如果非ctx则返回
754  如果atures requested from the userspace 按位与UFFD_FEATURE_EVENT_REMAP
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  否则
760  vm_userfaultfd_ctx等于NULL_VM_UFFD_CTX
761  Flags, see mm.h. 与等于wrprotect pages tracking 按位或missing pages tracking 的值的反
调用者
名称描述
move_vma