Function report | 
Source Code:include\linux\gfp.h | 
Create Date:2022-07-28 05:37:55 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Allocate pages, preferring the node given as nid. The node must be valid and* online. For more general interface, see alloc_pages_node().
Proto:static inline struct page *__alloc_pages_node(int nid, gfp_t gfp_mask, unsigned int order)
Type:struct page
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| int | nid | |
| gfp_t | gfp_mask | |
| unsigned int | order | 
| 506 | VM_BUG_ON(nid < 0 || nid >= MAX_NUMNODES) | 
| 507 | VM_WARN_ON((gfp_mask & __GFP_THISNODE) && !node_online(nid)) | 
| 509 | Return __alloc_pages(gfp_mask, order, nid) | 
| Name | Describe | 
|---|---|
| __page_cache_alloc | |
| new_non_cma_page | |
| alloc_new_node_page | page allocation callback for NUMA node migration | 
| alloc_pages_vma | alloc_pages_vma - Allocate a page for a VMA.*@gfp:* %GFP_USER user allocation.* %GFP_KERNEL kernel allocations,* %GFP_HIGHMEM highmem/user allocations,* %GFP_FS allocation should not call back into a file system.* %GFP_ATOMIC don't sleep. | 
| slob_new_pages | |
| kmem_getpages | Interface to system's page allocator. No need to hold the* kmem_cache_node ->list_lock.* If we requested dmaable memory, we will get it. Even if we* did not request dmaable memory, we might get it, but that* would be relatively rare and ignorable. | 
| alloc_slab_page | Slab allocation and freeing | 
| khugepaged_alloc_page | 
| 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  |