/linux/arch/mips/mti-malta/ |
A D | malta-dtshim.c | 30 enum mem_map { enum 71 enum mem_map map) in gen_fdt_mem_array() 137 enum mem_map mem_map; in append_memory() local 195 mem_map = config & ROCIT_CONFIG_GEN1_MEMMAP_MASK; in append_memory() 196 mem_map >>= ROCIT_CONFIG_GEN1_MEMMAP_SHIFT; in append_memory() 199 mem_map = MEM_MAP_V1; in append_memory() 201 if (mem_map > MEM_MAP_V2) in append_memory() 203 (unsigned int)mem_map); in append_memory() 214 mem_entries = gen_fdt_mem_array(mem_array, physical_memsize, mem_map); in append_memory() 220 mem_entries = gen_fdt_mem_array(mem_array, memsize, mem_map); in append_memory()
|
/linux/include/asm-generic/ |
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) + \
|
/linux/Documentation/vm/ |
A D | memory-model.rst | 40 In the FLATMEM memory model, there is a global `mem_map` array that 42 have entries in the `mem_map` array. The `struct page` objects 45 To allocate the `mem_map` array, architecture specific setup code should 50 An architecture may free parts of the `mem_map` array that do not cover the 53 `mem_map` into account. 57 `mem_map` array. 142 `struct page` `mem_map` services for device driver identified physical 156 for smaller granularity of populating the `mem_map`. Given that
|
/linux/arch/m68k/include/asm/ |
A D | page_no.h | 26 #define virt_to_page(addr) (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT)) 27 #define page_to_virt(page) __va(((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET))
|
A D | motorola_pgtable.h | 162 #define pud_page(pud) (mem_map + ((unsigned long)(__va(pud_val(pud)) - PAGE_OFFSET) >> PAGE_SHIFT))
|
/linux/arch/nios2/include/asm/ |
A D | page.h | 77 extern struct page *mem_map; 85 ((void *)(((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET)
|
/linux/mm/ |
A D | sparse.c | 280 static unsigned long sparse_encode_mem_map(struct page *mem_map, unsigned long pnum) in sparse_encode_mem_map() argument 283 (unsigned long)(mem_map - (section_nr_to_pfn(pnum))); in sparse_encode_mem_map() 302 unsigned long pnum, struct page *mem_map, in sparse_init_one_section() argument 306 ms->section_mem_map |= sparse_encode_mem_map(mem_map, pnum) in sparse_init_one_section()
|
A D | nommu.c | 47 struct page *mem_map; variable 56 EXPORT_SYMBOL(mem_map);
|
/linux/arch/powerpc/platforms/embedded6xx/ |
A D | mpc10x.h | 152 unsigned long mpc10x_get_mem_size(uint mem_map);
|
/linux/arch/openrisc/include/asm/ |
A D | pgtable.h | 351 #define __page_address(page) (PAGE_OFFSET + (((page) - mem_map) << PAGE_SHIFT)) 352 #define pte_page(pte) (mem_map+pte_pagenr(pte))
|
A D | page.h | 79 (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT))
|
/linux/arch/microblaze/include/asm/ |
A D | pgtable.h | 245 #define pte_page(x) (mem_map + (unsigned long) \ 305 pte_val(pte) = (((page - mem_map) << PAGE_SHIFT) + memory_start) | \
|
/linux/arch/csky/include/asm/ |
A D | page.h | 86 #define virt_to_page(x) (mem_map + MAP_NR(x))
|
/linux/arch/openrisc/mm/ |
A D | init.c | 198 BUG_ON(!mem_map); in mem_init()
|
/linux/arch/mips/include/asm/mach-loongson64/ |
A D | boot_param.h | 24 struct mem_map { struct
|
/linux/Documentation/admin-guide/kdump/ |
A D | vmcoreinfo.rst | 74 mem_map section in Common variables 78 an index into the mem_map array. Right-shifting a physical address 80 into that mem_map array. 99 similar to the mem_map variable, both of them are used to translate an
|
/linux/arch/nds32/mm/ |
A D | init.c | 187 BUG_ON(!mem_map); in mem_init()
|
/linux/drivers/firmware/efi/libstub/ |
A D | x86-stub.c | 628 efi_memory_desc_t *mem_map; in exit_boot() local 636 map.map = &mem_map; in exit_boot()
|
/linux/include/linux/ |
A D | mmzone.h | 791 extern struct page *mem_map; 1095 #define NODE_MEM_MAP(nid) mem_map
|
/linux/arch/ia64/mm/ |
A D | init.c | 446 BUG_ON(!mem_map); in mem_init()
|
/linux/drivers/net/wireless/ti/wl1251/ |
A D | acx.c | 221 int wl1251_acx_mem_map(struct wl1251 *wl, struct acx_header *mem_map, in wl1251_acx_mem_map() argument 228 ret = wl1251_cmd_interrogate(wl, ACX_MEM_MAP, mem_map, len); in wl1251_acx_mem_map()
|
/linux/arch/arm/mm/ |
A D | init.c | 322 set_max_mapnr(pfn_to_page(max_pfn) - mem_map); in mem_init()
|
/linux/kernel/ |
A D | crash_core.c | 424 VMCOREINFO_SYMBOL(mem_map); in crash_save_vmcoreinfo_init()
|
/linux/arch/x86/mm/ |
A D | init_32.c | 735 BUG_ON(!mem_map); in mem_init()
|
/linux/drivers/staging/media/atomisp/pci/ |
A D | sh_css_internal.h | 265 mem_map;/** pointers to Parameters in ISP format IMPT: member
|