Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\percpu.c Create Date:2022-07-28 14:26:33
Last Modify:2022-05-23 13:52:24 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pcpu_init_md_blocks

Proto:static void pcpu_init_md_blocks(struct pcpu_chunk *chunk)

Type:void

Parameter:

TypeParameterName
struct pcpu_chunk *chunk
1287  pcpu_init_md_block( & chunk_md, pcpu_chunk_map_bits - helper to convert nr_pages to size of bitmap*@chunk: chunk of interest* This conversion is from the number of physical pages that the chunk* serves to the number of bits in the bitmap.)
1289  When md_block != metadata blocks + pcpu_chunk_nr_blocks - converts nr_pages to # of md_blocks*@chunk: chunk of interest* This conversion is from the number of physical pages that the chunk* serves to the number of bitmap blocks used. cycle pcpu_init_md_block(md_block, PCPU_BITMAP_BLOCK_BITS)
Caller
NameDescribe
pcpu_alloc_first_chunkpcpu_alloc_first_chunk - creates chunks that serve the first chunk*@tmp_addr: the start of the region served*@map_size: size of the region served* This is responsible for creating the chunks that serve the first chunk
pcpu_alloc_chunk