| 函数逻辑报告 | 
| Source Code: kernel\events\uprobes.c | Create Date:2022-07-27 15:07:25 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:Slot allocation for XOL
函数原型:static int xol_add_vma(struct mm_struct *mm, struct xol_area *area)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct mm_struct * | mm | |
| struct xol_area * | area | 
| 1448 | 如果lock for writing则返回:负EINTR | 
| 1451 | 如果xol_area则 | 
| 1456 | 如果非Page(s) of instruction slots 则 | 
| 1458 | Page(s) of instruction slots 等于get_unmapped_area(NULL, TASK_SIZE - PAGE_SIZE, PAGE_SIZE, 0, 0) | 
| 1460 | 如果IS_ERR_VALUE(Page(s) of instruction slots )则 | 
| 1462 | 转到:fail | 
| 1466 | vma等于_install_special_mapping(mm, Page(s) of instruction slots , PAGE_SIZE, VM_EXEC | VM_MAYEXEC | Do not copy this vma on fork | Memory mapped I/O or similar , & xol_mapping) | 
| 1469 | 如果是错误则 | 
| 1474 | ret等于0 | 
| 1476 | smp_store_release( & xol_area, area) | 
| 1477 | fail : | 
| 1478 | lease a write lock | 
| 1480 | 返回:ret | 
| 名称 | 描述 | 
|---|---|
| __create_xol_area | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |