/linux-master/include/asm-generic/ |
H A D | memory_model.h | 18 #define __pfn_to_page(pfn) (mem_map + ((pfn) - ARCH_PFN_OFFSET)) 19 #define __page_to_pfn(page) ((unsigned long)((page) - mem_map) + \ 42 * Note: section's mem_map is encoded to reflect its start_pfn. 43 * section[i].section_mem_map == mem_map's address - start_pfn;
|
/linux-master/arch/m68k/include/asm/ |
H A D | page_no.h | 32 #define virt_to_page(addr) (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT)) 33 #define page_to_virt(page) __va(((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET))
|
H A D | motorola_pgtable.h | 138 #define pud_page(pud) (mem_map + ((unsigned long)(__va(pud_val(pud)) - PAGE_OFFSET) >> PAGE_SHIFT))
|
/linux-master/arch/mips/mti-malta/ |
H A D | malta-dtshim.c | 30 enum mem_map { enum 71 enum mem_map map) 137 enum mem_map mem_map; local 195 mem_map = config & ROCIT_CONFIG_GEN1_MEMMAP_MASK; 196 mem_map >>= ROCIT_CONFIG_GEN1_MEMMAP_SHIFT; 199 mem_map = MEM_MAP_V1; 201 if (mem_map > MEM_MAP_V2) 203 (unsigned int)mem_map); 214 mem_entries = gen_fdt_mem_array(mem_array, physical_memsize, mem_map); [all...] |
/linux-master/arch/nios2/include/asm/ |
H A D | page.h | 77 extern struct page *mem_map; 85 ((void *)(((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET)
|
/linux-master/arch/openrisc/include/asm/ |
H A D | page.h | 81 (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT))
|
H A D | pgtable.h | 336 #define __page_address(page) (PAGE_OFFSET + (((page) - mem_map) << PAGE_SHIFT)) 337 #define pte_page(pte) (mem_map+pte_pagenr(pte))
|
/linux-master/arch/csky/include/asm/ |
H A D | page.h | 87 #define virt_to_page(x) (mem_map + MAP_NR(x))
|
/linux-master/arch/powerpc/platforms/embedded6xx/ |
H A D | mpc10x.h | 152 unsigned long mpc10x_get_mem_size(uint mem_map);
|
/linux-master/arch/openrisc/mm/ |
H A D | init.c | 194 BUG_ON(!mem_map);
|
/linux-master/arch/mips/include/asm/mach-loongson64/ |
H A D | boot_param.h | 28 struct mem_map { struct in struct:efi_memory_map_loongson
|
/linux-master/mm/ |
H A D | sparse.c | 24 * 1) mem_section - memory sections, mem_map's for valid memory 114 * mem_map, we use section_mem_map to store the section's NUMA 116 * node information is cleared just before we store the real mem_map. 275 * Subtle, we encode the real pfn into the mem_map such that 279 static unsigned long sparse_encode_mem_map(struct page *mem_map, unsigned long pnum) argument 282 (unsigned long)(mem_map - (section_nr_to_pfn(pnum))); 290 * Decode mem_map from the coded memmap 301 unsigned long pnum, struct page *mem_map, 305 ms->section_mem_map |= sparse_encode_mem_map(mem_map, pnum) 555 * Allocate the accumulated non-linear sections, allocate a mem_map 300 sparse_init_one_section(struct mem_section *ms, unsigned long pnum, struct page *mem_map, struct mem_section_usage *usage, unsigned long flags) argument [all...] |
H A D | mm_init.c | 881 * There can be holes in boot-time mem_map[]s handed to this 1625 /* the global mem_map is just set as node 0's */ 1627 mem_map = NODE_DATA(0)->node_mem_map; 1628 if (page_to_pfn(mem_map) != pgdat->node_start_pfn) 1629 mem_map -= offset;
|
H A D | nommu.c | 47 struct page *mem_map; variable in typeref:struct:page 56 EXPORT_SYMBOL(mem_map); variable
|
/linux-master/arch/microblaze/include/asm/ |
H A D | pgtable.h | 231 #define pte_page(x) (mem_map + (unsigned long) \ 291 pte_val(pte) = (((page - mem_map) << PAGE_SHIFT) + memory_start) | \
|
/linux-master/kernel/ |
H A D | vmcore_info.c | 152 VMCOREINFO_SYMBOL(mem_map);
|
/linux-master/arch/arm/mm/ |
H A D | init.c | 223 * the sparse mem_map arrays initialized by sparse_init() 268 * mem_init() marks the free areas in the mem_map and tells us how much 278 set_max_mapnr(pfn_to_page(max_pfn) - mem_map);
|
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | sh_css_internal.h | 234 mem_map;/** pointers to Parameters in ISP format IMPT: member in struct:ia_css_isp_parameter_set_info
|
/linux-master/drivers/net/wireless/ti/wl1251/ |
H A D | acx.c | 221 int wl1251_acx_mem_map(struct wl1251 *wl, struct acx_header *mem_map, argument 228 ret = wl1251_cmd_interrogate(wl, ACX_MEM_MAP, mem_map, len);
|
H A D | acx.h | 1445 struct acx_header *mem_map, size_t len);
|
/linux-master/arch/x86/mm/ |
H A D | init_32.c | 722 BUG_ON(!mem_map);
|
/linux-master/drivers/staging/media/ipu3/ |
H A D | ipu3-css.c | 2236 param_set->mem_map.acc_cluster_params_for_sp = map->daddr; 2239 param_set->mem_map.dvs_6axis_params_y = map->daddr; 2243 param_set->mem_map.obgrid_tbl[i] = 2249 param_set->mem_map.isp_mem_param[stage][m] = map->daddr;
|
/linux-master/drivers/net/wireless/ti/wlcore/ |
H A D | acx.c | 143 int wl1271_acx_mem_map(struct wl1271 *wl, struct acx_header *mem_map, argument 150 ret = wl1271_cmd_interrogate(wl, ACX_MEM_MAP, mem_map,
|
H A D | acx.h | 1037 struct acx_header *mem_map, size_t len);
|
/linux-master/arch/x86/xen/ |
H A D | mmu_pv.c | 1484 BUG_ON(mem_map); /* should only be used early */ 1494 BUG_ON(mem_map); /* should only be used early */
|