Function report |
Source Code:kernel\power\snapshot.c |
Create Date:2022-07-28 10:00:31 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:reate_mem_extents - Create a list of memory extents.*@list: List to put the extents into.*@gfp_mask: Mask to use for memory allocations.* The extents represent contiguous ranges of PFNs.
Proto:static int create_mem_extents(struct list_head *list, gfp_t gfp_mask)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct list_head * | list | |
| gfp_t | gfp_mask |
| 593 | do nothing (zone) |
| 598 | zone_end = zone_end_pfn(zone) |
| 601 | If zone_start <= end Then Break |
| 608 | new_ext = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
| 609 | If Not new_ext Then |
| 611 | Return -ENOMEM |
| 613 | start = zone_start |
| 616 | Continue |
| 620 | If zone_start < start Then start = zone_start |
| 637 | Return 0 |
| 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 |