函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:offset_to_vaddr

函数原型:static unsigned long offset_to_vaddr(struct vm_area_struct *vma, loff_t offset)

返回类型:unsigned long

参数:

类型参数名称
struct vm_area_struct *vma
loff_toffset
133  返回:Our start address within vm_mm. offsetOffset (within vm_file) in PAGE_SIZEunits 左移PAGE_SHIFT determines the page size 位的值
调用者
名称描述
valid_ref_ctr_vma
update_ref_ctr
build_map_info
unapply_uprobe
delayed_ref_ctr_inc@vma contains reference counter, not the probed instruction.
uprobe_mmapCalled from mmap_region/vma_adjust with mm->mmap_sem acquired.* Currently we ignore all errors and always return 0, the callers* can't handle the failure anyway.