函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:section_mark_present

函数原型:static void section_mark_present(struct mem_section *ms)

返回类型:void

参数:

类型参数名称
struct mem_section *ms
193  section_nr等于__section_nr(ms)
195  如果section_nr大于There are a number of times that we loop over NR_MEM_SECTIONS,* looking for section_present() on eachThere are a number of times that we loop over NR_MEM_SECTIONS,* looking for section_present() on each等于section_nr
198  section_mem_map或等于SECTION_MARKED_PRESENT
调用者
名称描述
memory_presentRecord a memory area against a node.
sparse_add_sectionsparse_add_section - add a memory section, or populate an existing one*@nid: The node to add section on*@start_pfn: start pfn of the memory range*@nr_pages: number of pfns to add in the section*@altmap: device page map* This is only intended for hotplug