Function report | 
Source Code:mm\zswap.c | 
Create Date:2022-07-28 15:23:29 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:zswap_frontswap_init
Proto:static void zswap_frontswap_init(unsigned type)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned | type | 
| 1224 | tree = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). | 
| 1225 | If Not tree Then | 
| 1230 | rbroot = | 
| 1231 | Process spin lock initialization( & lock) | 
| 1232 | zswap_trees[type] = tree | 
| 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  |