Function report |
Source Code:kernel\power\snapshot.c |
Create Date:2022-07-28 10:00:26 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:reate_zone_bm_rtree - Create a radix tree for one zone.* Allocated the mem_zone_bm_rtree structure and initializes it.* This function also allocated and builds the radix tree for the* zone.
Proto:static struct mem_zone_bm_rtree *create_zone_bm_rtree(gfp_t gfp_mask, int safe_needed, struct chain_allocator *ca, unsigned long start, unsigned long end)
Type:struct mem_zone_bm_rtree
Parameter:
| Type | Parameter | Name |
|---|---|---|
| gfp_t | gfp_mask | |
| int | safe_needed | |
| struct chain_allocator * | ca | |
| unsigned long | start | |
| unsigned long | end |
| 509 | zone = chain_alloc(ca, sizeof(structmem_zone_bm_rtree)) |
| 510 | If Not zone Then Return NULL |
| 515 | Zone start page frame = start |
| 516 | Zone end page frame + 1 = end |
| 517 | nr_blocks = DIV_ROUND_UP(pages, BM_BITS_PER_BLOCK) |
| 522 | Return NULL |
| 526 | Return zone |
| Name | Describe |
|---|---|
| memory_bm_create | memory_bm_create - Allocate memory for a memory bitmap. |
| 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 |