函数逻辑报告 |
Source Code:kernel\events\uprobes.c |
Create Date:2022-07-27 15:06:08 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__update_ref_ctr
函数原型:static int __update_ref_ctr(struct mm_struct *mm, unsigned long vaddr, short d)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mm_struct * | mm | |
unsigned long | vaddr | |
short | d |
385 | ret等于get_user_pages_remote(NULL, mm, vaddr, 1, check pte is writable , & page, & vma, NULL) |
387 | 如果此条件成立可能性小(为编译器优化)(ret <= 0)则 |
395 | kaddr等于kmap_atomic(page) |
398 | 如果此条件成立可能性小(为编译器优化)( * ptr + d < 0)则 |
402 | 转到:out |
406 | ret等于0 |
407 | out : |
408 | Prevent people trying to call kunmap_atomic() as if it were kunmap()* kunmap_atomic() should get the return value of kmap_atomic, not the page.(kaddr) |
410 | 返回:ret |
名称 | 描述 |
---|---|
update_ref_ctr | |
delayed_ref_ctr_inc | @vma contains reference counter, not the probed instruction. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |