Lines Matching refs:mem_map
20 * 1) mem_section - memory sections, mem_map's for valid memory
140 * mem_map, we use section_mem_map to store the section's NUMA
142 * node information is cleared just before we store the real mem_map.
224 * Subtle, we encode the real pfn into the mem_map such that
228 static unsigned long sparse_encode_mem_map(struct page *mem_map, unsigned long pnum)
230 return (unsigned long)(mem_map - (section_nr_to_pfn(pnum)));
234 * Decode mem_map from the coded memmap
244 unsigned long pnum, struct page *mem_map,
251 ms->section_mem_map |= sparse_encode_mem_map(mem_map, pnum) |
478 * Allocate the accumulated non-linear sections, allocate a mem_map