Searched refs:mem_map (Results 1 - 25 of 30) sorted by relevance

12

/linux-master/include/asm-generic/
H A Dmemory_model.h18 #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 Dpage_no.h32 #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 Dmotorola_pgtable.h138 #define pud_page(pud) (mem_map + ((unsigned long)(__va(pud_val(pud)) - PAGE_OFFSET) >> PAGE_SHIFT))
/linux-master/arch/mips/mti-malta/
H A Dmalta-dtshim.c30 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 Dpage.h77 extern struct page *mem_map;
85 ((void *)(((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET)
/linux-master/arch/openrisc/include/asm/
H A Dpage.h81 (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT))
H A Dpgtable.h336 #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 Dpage.h87 #define virt_to_page(x) (mem_map + MAP_NR(x))
/linux-master/arch/powerpc/platforms/embedded6xx/
H A Dmpc10x.h152 unsigned long mpc10x_get_mem_size(uint mem_map);
/linux-master/arch/openrisc/mm/
H A Dinit.c194 BUG_ON(!mem_map);
/linux-master/arch/mips/include/asm/mach-loongson64/
H A Dboot_param.h28 struct mem_map { struct in struct:efi_memory_map_loongson
/linux-master/mm/
H A Dsparse.c24 * 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 Dmm_init.c880 * There can be holes in boot-time mem_map[]s handed to this
1663 /* the global mem_map is just set as node 0's */
1665 mem_map = NODE_DATA(0)->node_mem_map;
1666 if (page_to_pfn(mem_map) != pgdat->node_start_pfn)
1667 mem_map -= offset;
H A Dnommu.c47 struct page *mem_map; variable in typeref:struct:page
56 EXPORT_SYMBOL(mem_map); variable
/linux-master/arch/microblaze/include/asm/
H A Dpgtable.h231 #define pte_page(x) (mem_map + (unsigned long) \
291 pte_val(pte) = (((page - mem_map) << PAGE_SHIFT) + memory_start) | \
/linux-master/kernel/
H A Dvmcore_info.c152 VMCOREINFO_SYMBOL(mem_map);
/linux-master/arch/arm/mm/
H A Dinit.c222 * the sparse mem_map arrays initialized by sparse_init()
267 * mem_init() marks the free areas in the mem_map and tells us how much
277 set_max_mapnr(pfn_to_page(max_pfn) - mem_map);
/linux-master/drivers/staging/media/atomisp/pci/
H A Dsh_css_internal.h234 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 Dacx.c221 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 Dacx.h1445 struct acx_header *mem_map, size_t len);
/linux-master/drivers/staging/media/ipu3/
H A Dipu3-css.c2237 param_set->mem_map.acc_cluster_params_for_sp = map->daddr;
2240 param_set->mem_map.dvs_6axis_params_y = map->daddr;
2244 param_set->mem_map.obgrid_tbl[i] =
2250 param_set->mem_map.isp_mem_param[stage][m] = map->daddr;
/linux-master/arch/x86/mm/
H A Dinit_32.c722 BUG_ON(!mem_map);
/linux-master/drivers/net/wireless/ti/wlcore/
H A Dacx.c143 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 Dacx.h1037 struct acx_header *mem_map, size_t len);
/linux-master/arch/x86/xen/
H A Dmmu_pv.c1484 BUG_ON(mem_map); /* should only be used early */
1494 BUG_ON(mem_map); /* should only be used early */

Completed in 551 milliseconds

12