函数逻辑报告 |
Source Code:kernel\debug\kdb\kdb_support.c |
Create Date:2022-07-27 12:47:28 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:kdb_getarea_size - Read an area of data. The kdb equivalent of* copy_from_user, with kdb messages for invalid addresses.* Inputs:* res Pointer to the area to receive the result.* addr Address of the area to copy.* size Size of the area.* Returns:
函数原型:int kdb_getarea_size(void *res, unsigned long addr, size_t size)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| void * | res | |
| unsigned long | addr | |
| size_t | size |
| 329 | 如果ret则 |
| 331 | kdb_printf("kdb_getarea: Bad address 0x%lx\n", addr) |
| 332 | KDB_STATE_SET(SUPPRESS) |
| 334 | ret等于KDB_BADADDR |
| 335 | 否则 |
| 336 | KDB_STATE_CLEAR(SUPPRESS) |
| 338 | 返回:ret |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |