Function report |
Source Code:mm\memblock.c |
Create Date:2022-07-28 15:10:46 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:memblock_alloc_try_nid_raw - allocate boot memory block without zeroing* memory and without panicking*@size: size of memory block to be allocated in bytes*@align: alignment of the region and block's size*@min_addr: the lower bound of the memory region
Proto:void *__init memblock_alloc_try_nid_raw(phys_addr_t size, phys_addr_t align, phys_addr_t min_addr, phys_addr_t max_addr, int nid)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| phys_addr_t | size | |
| phys_addr_t | align | |
| phys_addr_t | min_addr | |
| phys_addr_t | max_addr | |
| int | nid |
| 1555 | If ptr && size > 0 Then page_init_poison(ptr, size) |
| 1558 | Return ptr |
| Name | Describe |
|---|---|
| __alloc_bootmem_huge_page | |
| __earlyonly_bootmem_alloc | Allocate a block of memory to be used to back the virtual memory map* or to back the page tables that are used to create the mapping.* Uses the main allocators if they are available, else bootmem. |
| memblock_alloc_raw |
| 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 |