函数逻辑报告 |
Source Code:mm\sparse.c |
Create Date:2022-07-27 17:08:03 |
Last Modify:2020-03-17 22:36:03 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:section_deactivate
函数原型:static void section_deactivate(unsigned long pfn, unsigned long nr_pages, struct vmem_altmap *altmap)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
unsigned long | pfn | |
unsigned long | nr_pages | |
struct vmem_altmap * | altmap |
742 | DECLARE_BITMAP(map, SUBSECTIONS_PER_SECTION) = {0} |
743 | DECLARE_BITMAP(tmp, SUBSECTIONS_PER_SECTION) = {0} |
744 | ms等于__pfn_to_section(pfn) |
745 | section_is_early等于early_section(ms) |
747 | unsigned long * subsection_map = usage ? & subsection_map[0] : NULL |
750 | subsection_mask_set(map, pfn, nr_pages) |
754 | 如果WARN(!subsection_map || !bitmap_equal(tmp, map, SUBSECTIONS_PER_SECTION), "section already deactivated (%#lx + %ld)\n", pfn, nr_pages)则返回 |
797 | 否则depopulate_section_memmap(pfn, nr_pages, altmap) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |