函数逻辑报告 |
Source Code:mm\zsmalloc.c |
Create Date:2022-07-27 18:01:54 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:bj_to_location - get (<page>, <obj_idx>) from encoded object value*@obj: the encoded object value*@page: page object resides in zspage*@obj_idx: object index
函数原型:static void obj_to_location(unsigned long obj, struct page **page, unsigned int *obj_idx)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | obj | |
struct page ** | page | |
unsigned int * | obj_idx |
849 | obj右移等于OBJ_TAG_BITS位 |
850 | page等于pfn_to_page(obj >> OBJ_INDEX_BITS) |
851 | obj_idx等于obj按位与OBJ_INDEX_MASK |
名称 | 描述 |
---|---|
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 |
zs_unmap_object | |
obj_free | |
zs_free | |
zs_object_copy |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |