Function report |
Source Code:mm\zsmalloc.c |
Create Date:2022-07-28 16:26:57 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static void obj_to_location(unsigned long obj, struct page **page, unsigned int *obj_idx)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
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 |
Name | Describe |
---|---|
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |