函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\gfp.h Create Date:2022-07-27 06:40:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:static inline struct page *alloc_pages_node(int nid, gfp_t gfp_mask, unsigned int order)

返回类型:struct page

参数:

类型参数名称
intnid
gfp_tgfp_mask
unsigned intorder
520  如果nid恒等于NUMA_NO_NODEnid等于Returns the number of the nearest Node with memory
523  返回:Allocate pages, preferring the node given as nid. The node must be valid and* online. For more general interface, see alloc_pages_node().
调用者
名称描述
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
__dev_alloc_pages分配网络的RX页
pcpu_alloc_pagespcpu_alloc_pages - allocates pages for @chunk*@chunk: target chunk*@pages: array to put the allocated pages into, indexed by pcpu_page_idx()*@page_start: page index of the first page to be allocated*@page_end: page index of the last page to be allocated +