Function report |
Source Code:mm\zsmalloc.c |
Create Date:2022-07-28 16:28:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:migrate_zspage
Proto:static int migrate_zspage(struct zs_pool *pool, struct size_class *class, struct zs_compact_control *cc)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct zs_pool * | pool | |
struct size_class * | class | |
struct zs_compact_control * | cc |
1703 | ret = 0 |
1705 | When 1 cycle |
1707 | If Not handle Then |
1716 | If zspage_full(class, get_zspage(d_page)) Then |
1722 | used_obj = handle_to_obj(handle) |
1723 | free_obj = obj_malloc(class, get_zspage(d_page), handle) |
1724 | zs_object_copy(class, free_obj, used_obj) |
1725 | obj_idx++ |
1733 | record_obj(handle, free_obj) |
1742 | Return ret |
Name | Describe |
---|---|
__zs_compact |
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 |