函数逻辑报告 |
Source Code:mm\zsmalloc.c |
Create Date:2022-07-27 18:02:30 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:zs_unmap_object
函数原型:void zs_unmap_object(struct zs_pool *pool, unsigned long handle)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct zs_pool * | pool | |
unsigned long | handle |
1362 | obj等于handle_to_obj(handle) |
1364 | zspage等于get_zspage(page) |
1365 | get_zspage_mapping(zspage, & class_idx, & fg) |
1366 | class等于size_class[class_idx] |
1367 | off等于* Size of objects stored in this class. Must be multiple * of ZS_ALIGN.乘obj_idx按位与PAGE_MASK的反 |
1369 | area等于this_cpu_ptr( & per-cpu VM mapping areas for zspage accesses that cross page boundaries ) |
1372 | 否则 |
1376 | pages[1]等于get_next_page(page) |
1381 | The weird & is necessary because sparse considers (void)(var) to be* a direct dereference of percpu variable (var).(per-cpu VM mapping areas for zspage accesses that cross page boundaries ) |
1383 | migrate_read_unlock(zspage) |
名称 | 描述 |
---|---|
zs_zpool_unmap |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |