Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:Allocate pages, preferring the node given as nid. When nid == NUMA_NO_NODE,* prefer the current CPU's closest node. Otherwise node must be valid and* online.

Proto:static inline struct page *alloc_pages_node(int nid, gfp_t gfp_mask, unsigned int order)

Type:struct page

Parameter:

TypeParameterName
intnid
gfp_tgfp_mask
unsigned intorder
520  If nid == NUMA_NO_NODE Then nid = Returns the number of the nearest Node with memory
523  Return Allocate pages, preferring the node given as nid. The node must be valid and* online. For more general interface, see alloc_pages_node().
Caller
NameDescribe
irq_init_percpu_irqstackAllocate per-cpu stacks for hardirq and softirq processing
init_espfix_ap
alloc_thread_stack_node
__dma_direct_alloc_pages
__rb_allocate_pages
rb_allocate_cpu_buffer
ring_buffer_alloc_read_pageg_buffer_alloc_read_page - allocate a page to read from buffer*@buffer: the buffer to allocate for
trace_buffered_event_enablerace_buffered_event_enable - enable buffering events* When events are being filtered, it is quicker to use a temporary* buffer to write the event data into if there's a likely chance* that it will not be committed
uprobe_buffer_init
rb_alloc_aux_page
perf_mmap_alloc_page
__vmalloc_area_node
__page_frag_cache_refillPage Fragment:* An arbitrary-length arbitrary-offset area of memory which resides* within a 0 or higher order page
alloc_pages_exact_nidalloc_pages_exact_nid - allocate an exact number of physically-contiguous* pages on a node
alloc_new_node_pagepage allocation callback for NUMA node migration
vmemmap_alloc_block
kmalloc_large_node
blk_mq_alloc_rqs