Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\sparse.c Create Date:2022-07-28 15:34:27
Last Modify:2020-03-17 22:36:03 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sparse_buffer_init

Proto:static void __init sparse_buffer_init(unsigned long size, int nid)

Type:void

Parameter:

TypeParameterName
unsigned longsize
intnid
482  addr = __pa(The maximum address that we can perform a DMA transfer to on this platform )
483  WARN_ON(sparsemap_buf)
489  sparsemap_buf = memblock_alloc_exact_nid_raw - allocate boot memory block on the exact node* without zeroing memory*@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 from
491  sparsemap_buf_end = sparsemap_buf + size
Caller
NameDescribe
sparse_init_nidInitialize sparse on a specific node. The node spans [pnum_begin, pnum_end)* And number of present sections in this node is map_count.