函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:vaddr_to_offset

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

返回类型:loff_t

参数:

类型参数名称
struct vm_area_struct *vma
unsigned longvaddr
138  返回:Offset (within vm_file) in PAGE_SIZEunits 左移PAGE_SHIFT determines the page size 位的值加vaddrOur start address within vm_mm.
调用者
名称描述
uprobe_write_opcodeNOTE:* Expect the breakpoint instruction to be the smallest size instruction for* the architecture
register_for_each_vma
build_probe_listFor a given range in vma, build a list of probes that need to be inserted.
vma_has_uprobes
find_active_uprobe