Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\uprobes.c Create Date:2022-07-28 13:44:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:valid_ref_ctr_vma

Proto:static bool valid_ref_ctr_vma(struct uprobe *uprobe, struct vm_area_struct *vma)

Type:bool

Parameter:

TypeParameterName
struct uprobe *uprobe
struct vm_area_struct *vma
351  vaddr = offset_to_vaddr(vma, ref_ctr_offset)
353  Return ref_ctr_offset && File we map to (can be NULL). && file_inode(File we map to (can be NULL). ) == Also hold a ref to inode && (Flags, see mm.h. & (VM_WRITE | VM_SHARED)) == VM_WRITE && Our start address within vm_mm. <= vaddr && The first byte after our end addresswithin vm_mm. > vaddr
Caller
NameDescribe
find_ref_ctr_vma
delayed_ref_ctr_inc@vma contains reference counter, not the probed instruction.