函数逻辑报告 |
Source Code:mm\zsmalloc.c |
Create Date:2022-07-27 18:02:16 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:__zs_map_object
函数原型:static void *__zs_map_object(struct mapping_area *area, struct page *pages[2], int off, int size)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct mapping_area * | area | |
| struct page * | pages | |
| int | off | |
| int | size |
| 1187 | 如果 mapping mode 恒等于ZS_MM_WO则转到:out |
| 1194 | addr等于kmap_atomic(pages[0]) |
| 1196 | 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.(addr) |
| 1197 | addr等于kmap_atomic(pages[1]) |
| 1199 | 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.(addr) |
| 1200 | out : |
| 名称 | 描述 |
|---|---|
| zs_map_object | zs_map_object - get address of allocated object from handle.*@pool: pool from which the object was allocated*@handle: handle returned from zs_malloc*@mm: maping mode to use* Before using an object allocated from zs_malloc, it must be mapped using |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |