| Function report | 
| Source Code: mm\mempolicy.c | Create Date:2022-07-28 15:33:27 | 
| Last Modify:2020-03-17 22:28:11 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:sp_alloc
Proto:static struct sp_node *sp_alloc(unsigned long start, unsigned long end, struct mempolicy *pol)
Type:struct sp_node
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned long | start | |
| unsigned long | end | |
| struct mempolicy * | pol | 
| 2508 | n = kmem_cache_alloc(sn_cache, GFP_KERNEL) | 
| 2509 | If Not n Then Return NULL | 
| 2514 | kmem_cache_free(sn_cache, n) | 
| 2515 | Return NULL | 
| 2518 | sp_node_init(n, start, end, newpol) | 
| 2520 | Return n | 
| Name | Describe | 
|---|---|
| mpol_set_shared_policy | 
| 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 |