Function report |
Source Code:mm\sparse.c |
Create Date:2022-07-28 15:34:21 |
Last Modify:2020-03-17 22:36:03 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Subtle, we encode the real pfn into the mem_map such that* the identity pfn - section_mem_map will return the actual* physical page frame number.
Proto:static unsigned long sparse_encode_mem_map(struct page *mem_map, unsigned long pnum)
Type:unsigned long
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | mem_map | |
unsigned long | pnum |
316 | coded_mem_map = mem_map - section_nr_to_pfn(pnum) |
318 | BUILD_BUG_ON - break compile if a condition is true(SECTION_MAP_LAST_BIT > (1UL << PFN_SECTION_SHIFT)) |
319 | BUG_ON(coded_mem_map & ~SECTION_MAP_MASK) |
320 | Return coded_mem_map |
Name | Describe |
---|---|
sparse_init_one_section |
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 |