函数逻辑报告 |
Source Code:mm\zsmalloc.c |
Create Date:2022-07-27 18:02:42 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:obj_free
函数原型:static void obj_free(struct size_class *class, unsigned long obj)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct size_class * | class | |
unsigned long | obj |
1526 | f_offset等于* Size of objects stored in this class. Must be multiple * of ZS_ALIGN.乘f_objidx按位与PAGE_MASK的反 |
1527 | zspage等于get_zspage(f_page) |
1529 | vaddr等于kmap_atomic(f_page) |
1534 | 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.(vaddr) |
1535 | set_freeobj(zspage, f_objidx) |
1536 | mod_zspage_inuse(zspage, - 1) |
名称 | 描述 |
---|---|
zs_free | |
migrate_zspage |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |