Function report | 
Source Code:kernel\power\snapshot.c | 
Create Date:2022-07-28 10:00:21 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:alloc_rtree_node - Allocate a new node and add it to the radix tree.* This function is used to allocate inner nodes as well as the* leave nodes of the radix tree. It also adds the node to the* corresponding linked list passed in by the *list parameter.
Proto:static struct rtree_node *alloc_rtree_node(gfp_t gfp_mask, int safe_needed, struct chain_allocator *ca, struct list_head *list)
Type:struct rtree_node
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| gfp_t | gfp_mask | |
| int | safe_needed | |
| struct chain_allocator * | ca | |
| struct list_head * | list | 
| 408 | node = chain_alloc(ca, sizeof(structrtree_node)) | 
| 409 | If Not node Then Return NULL | 
| 413 | If Not data Then Return NULL | 
| 418 | Return node | 
| Name | Describe | 
|---|---|
| add_rtree_block | add_rtree_block - Add a new leave node to the radix tree.* The leave nodes need to be allocated in order to keep the leaves* linked list in order. This is guaranteed by the zone->blocks* counter. | 
| 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  |