函数逻辑报告 |
Source Code:mm\zsmalloc.c |
Create Date:2022-07-27 18:02:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__zs_unmap_object
函数原型:static void __zs_unmap_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 |
1212 | 如果 mapping mode 恒等于ad-only (no copy-out at unmap time) 则转到:out |
1216 | buf等于buf加ZS_HANDLE_SIZE |
1217 | size减等于ZS_HANDLE_SIZE |
1218 | off加等于ZS_HANDLE_SIZE |
1224 | addr等于kmap_atomic(pages[0]) |
1226 | 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) |
1227 | addr等于kmap_atomic(pages[1]) |
1229 | 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) |
1231 | out : |
1233 | pagefault_enable() |
名称 | 描述 |
---|---|
zs_unmap_object |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |