函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sparse_remove_section

函数原型:void sparse_remove_section(struct mem_section *ms, unsigned long pfn, unsigned long nr_pages, unsigned long map_offset, struct vmem_altmap *altmap)

返回类型:void

参数:

类型参数名称
struct mem_section *ms
unsigned longpfn
unsigned longnr_pages
unsigned longmap_offset
struct vmem_altmap *altmap
934  clear_hwpoisoned_pages(pfn_to_page(pfn) + map_offset, nr_pages - map_offset)
936  section_deactivate(pfn, nr_pages, altmap)