Function report |
Source Code:mm\zsmalloc.c |
Create Date:2022-07-28 16:27:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:obj_free
Proto:static void obj_free(struct size_class *class, unsigned long obj)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
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) |
Name | Describe |
---|---|
zs_free | |
migrate_zspage |
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 |