函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\sparse.c Create Date:2022-07-27 17:07:44
Last Modify:2020-03-17 22:36:03 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sparse_buffer_init

函数原型:static void __init sparse_buffer_init(unsigned long size, int nid)

返回类型:void

参数:

类型参数名称
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_bufsize
调用者
名称描述
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.