| Function report | 
| Source Code: mm\zswap.c | Create Date:2022-07-28 15:22:32 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:zswap_cpu_comp_prepare
Proto:static int zswap_cpu_comp_prepare(unsigned int cpu, struct hlist_node *node)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned int | cpu | |
| struct hlist_node * | node | 
| 400 | pool = hlist_entry(node, structzswap_pool, node) | 
| 403 | If WARN_ON( * per_cpu_ptr(tfm, cpu)) Then Return 0 | 
| 406 | tfm = crypto_alloc_comp(tfm_name, 0, 0) | 
| 407 | If IS_ERR_OR_NULL(tfm) Then | 
| 412 | per_cpu_ptr(tfm, cpu) = tfm | 
| 413 | Return 0 | 
| 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 |