Function report |
Source Code:mm\memblock.c |
Create Date:2022-07-28 15:09:44 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:memblock_remove_region
Proto:static void __attribute__((__section__(".meminit.text"))) __attribute__((__cold__)) __attribute__((__no_instrument_function__))memblock_remove_region(struct memblock_type *type, unsigned long r)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct memblock_type * | type | |
| unsigned long | r |
| 354 | total_size -= size |
| 357 | cnt-- |
| 360 | If cnt == 0 Then |
| 361 | WARN_ON(total_size != 0) |
| 362 | cnt = 1 |
| 363 | base = 0 |
| 364 | size = 0 |
| 365 | flags = 0 |
| 366 | memblock_set_region_node( & regions[0], MAX_NUMNODES) |
| Name | Describe |
|---|---|
| memblock_remove_range | |
| memblock_cap_memory_range | |
| memblock_trim_memory |
| 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 |