函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\uprobes.c Create Date:2022-07-27 15:06:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:valid_ref_ctr_vma

函数原型:static bool valid_ref_ctr_vma(struct uprobe *uprobe, struct vm_area_struct *vma)

返回类型:bool

参数:

类型参数名称
struct uprobe *uprobe
struct vm_area_struct *vma
351  vaddr等于offset_to_vaddr(vma, ref_ctr_offset)
353  返回:ref_ctr_offsetFile 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_WRITEOur start address within vm_mm. 小于等于vaddrThe first byte after our end addresswithin vm_mm. 大于vaddr
调用者
名称描述
find_ref_ctr_vma
delayed_ref_ctr_inc@vma contains reference counter, not the probed instruction.