Function report |
Source Code:mm\zsmalloc.c |
Create Date:2022-07-28 16:27:20 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__zs_map_object
Proto:static void *__zs_map_object(struct mapping_area *area, struct page *pages[2], int off, int size)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct mapping_area * | area | |
struct page * | pages | |
int | off | |
int | size |
1187 | If mapping mode == ZS_MM_WO Then Go to out |
1194 | addr = kmap_atomic(pages[0]) |
1196 | 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.(addr) |
1197 | addr = kmap_atomic(pages[1]) |
1199 | 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.(addr) |
1200 | out : |
1201 | Return copy buffer for objects that span pages |
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 |
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 |