Function report |
Source Code:mm\memblock.c |
Create Date:2022-07-28 15:10:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:memblock_isolate_range
Proto:static int __attribute__((__section__(".meminit.text"))) __attribute__((__cold__)) __attribute__((__no_instrument_function__))memblock_isolate_range(struct memblock_type *type, phys_addr_t base, phys_addr_t size, int *start_rgn, int *end_rgn)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct memblock_type * | type | |
phys_addr_t | base | |
phys_addr_t | size | |
int * | start_rgn | |
int * | end_rgn |
729 | If Not size Then Return 0 |
753 | total_size -= base - rbase |
754 | memblock_insert_region(type, idx, rbase, base - rbase, memblock_get_region_node(rgn), flags) |
764 | total_size -= end - rbase |
765 | memblock_insert_region(type, idx--, rbase, end - rbase, memblock_get_region_node(rgn), flags) |
768 | Else |
776 | Return 0 |
Name | Describe |
---|---|
memblock_remove_range | |
memblock_setclr_flag | |
memblock_cap_memory_range |
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 |