Function report |
Source Code:mm\ksm.c |
Create Date:2022-07-28 15:38:18 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ksm_slab_init
Proto:static int __init ksm_slab_init(void)
Type:int
Parameter:Nothing
| 308 | rmap_item_cache = KSM_KMEM_CACHE(rmap_item, 0) |
| 309 | If Not rmap_item_cache Then Go to out |
| 312 | stable_node_cache = KSM_KMEM_CACHE(stable_node, 0) |
| 313 | If Not stable_node_cache Then Go to out_free1 |
| 316 | mm_slot_cache = KSM_KMEM_CACHE(mm_slot, 0) |
| 317 | If Not mm_slot_cache Then Go to out_free2 |
| 320 | Return 0 |
| 322 | out_free2 : |
| 324 | out_free1 : |
| 326 | out : |
| 327 | Return -ENOMEM |
| Name | Describe |
|---|---|
| ksm_init |
| 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 |