Function report |
Source Code:mm\memblock.c |
Create Date:2022-07-28 15:10:14 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:memblock_reserve
Proto:int __attribute__((__section__(".meminit.text"))) __attribute__((__cold__)) __attribute__((__no_instrument_function__))memblock_reserve(phys_addr_t base, phys_addr_t size)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| phys_addr_t | base | |
| phys_addr_t | size |
| 830 | Return memblock_add_range( & reserved, base, size, MAX_NUMNODES, 0) |
| Name | Describe |
|---|---|
| memblock_alloc_range_nid | memblock_alloc_range_nid - allocate boot memory block*@size: size of memory block to be allocated in bytes*@align: alignment of the region and block's size*@start: the lower bound of the memory region to allocate (phys address)*@end: the upper bound of |
| reserve_bad_mem | |
| cma_declare_contiguous | ma_declare_contiguous() - reserve custom contiguous area*@base: Base address of the reserved area optional, use 0 for any*@size: Size of the reserved area (in bytes),*@limit: End address of the reserved memory (optional, 0 for any) |
| memblock_double_array |
| 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 |