Function report |
Source Code:mm\sparse.c |
Create Date:2022-07-28 15:34:16 |
Last Modify:2020-03-17 22:36:03 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:subsection_map_init
Proto:void __init subsection_map_init(unsigned long pfn, unsigned long nr_pages)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | pfn | |
unsigned long | nr_pages |
233 | end_sec = pfn_to_section_nr(pfn + nr_pages - 1) |
234 | start_sec = pfn_to_section_nr(pfn) |
236 | If Not nr_pages Then Return |
243 | pfns = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(nr_pages, PAGES_PER_SECTION - (pfn & ~PAGE_SECTION_MASK)) |
245 | ms = __nr_to_section(nr) |
246 | subsection_mask_set(subsection_map, pfn, pfns) |
248 | pr_debug("%s: sec: %lu pfns: %lu set(%d, %d)\n", __func__, nr, pfns, subsection_map_index(pfn), subsection_map_index(pfn + pfns - 1)) |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |