/Linux-v5.10/arch/mips/mti-malta/ |
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-v5.10/arch/m68k/include/asm/ |
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))
|
D | motorola_pgtable.h | 160 #define pud_page(pud) (mem_map + ((unsigned long)(__va(pud_val(pud)) - PAGE_OFFSET) >> PAGE_SHIFT))
|
/Linux-v5.10/include/asm-generic/ |
D | memory_model.h | 33 #define __pfn_to_page(pfn) (mem_map + ((pfn) - ARCH_PFN_OFFSET)) 34 #define __page_to_pfn(page) ((unsigned long)((page) - mem_map) + \
|
/Linux-v5.10/arch/nios2/include/asm/ |
D | page.h | 77 extern struct page *mem_map; 85 ((void *)(((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET)
|
/Linux-v5.10/Documentation/vm/ |
D | memory-model.rst | 44 In the FLATMEM memory model, there is a global `mem_map` array that 46 have entries in the `mem_map` array. The `struct page` objects 49 To allocate the `mem_map` array, architecture specific setup code should 55 it may free parts of the `mem_map` array that do not cover the 58 `mem_map` into account. 62 `mem_map` array. 83 Every `node_mem_map` behaves exactly as FLATMEM's `mem_map` - 184 `struct page` `mem_map` services for device driver identified physical 198 for smaller granularity of populating the `mem_map`. Given that
|
/Linux-v5.10/arch/alpha/include/asm/ |
D | pgtable.h | 207 #define page_to_pa(page) (((page) - mem_map) << PAGE_SHIFT) 240 #define pmd_page(pmd) (mem_map + ((pmd_val(pmd) & _PFN_MASK) >> 32)) 241 #define pud_page(pud) (mem_map + ((pud_val(pud) & _PFN_MASK) >> 32))
|
/Linux-v5.10/drivers/block/ |
D | skd_main.c | 205 void __iomem *mem_map[SKD_MAX_BARS]; member 284 u32 val = readl(skdev->mem_map[1] + offset); in skd_reg_read32() 294 writel(val, skdev->mem_map[1] + offset); in skd_reg_write32() 302 writeq(val, skdev->mem_map[1] + offset); in skd_reg_write64() 3221 skdev->mem_map[i] = ioremap(skdev->mem_phys[i], in skd_pci_probe() 3223 if (!skdev->mem_map[i]) { in skd_pci_probe() 3230 skdev->mem_map[i], (uint64_t)skdev->mem_phys[i], in skd_pci_probe() 3274 if (skdev->mem_map[i]) in skd_pci_probe() 3275 iounmap(skdev->mem_map[i]); in skd_pci_probe() 3305 if (skdev->mem_map[i]) in skd_pci_remove() [all …]
|
/Linux-v5.10/arch/powerpc/platforms/embedded6xx/ |
D | mpc10x.h | 152 unsigned long mpc10x_get_mem_size(uint mem_map);
|
/Linux-v5.10/arch/openrisc/include/asm/ |
D | page.h | 79 (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT))
|
D | pgtable.h | 352 #define __page_address(page) (PAGE_OFFSET + (((page) - mem_map) << PAGE_SHIFT)) 353 #define pte_page(pte) (mem_map+pte_pagenr(pte))
|
/Linux-v5.10/mm/ |
D | sparse.c | 306 static unsigned long sparse_encode_mem_map(struct page *mem_map, unsigned long pnum) in sparse_encode_mem_map() argument 309 (unsigned long)(mem_map - (section_nr_to_pfn(pnum))); in sparse_encode_mem_map() 328 unsigned long pnum, struct page *mem_map, in sparse_init_one_section() argument 332 ms->section_mem_map |= sparse_encode_mem_map(mem_map, pnum) in sparse_init_one_section()
|
/Linux-v5.10/arch/csky/include/asm/ |
D | page.h | 86 #define virt_to_page(x) (mem_map + MAP_NR(x))
|
/Linux-v5.10/arch/microblaze/include/asm/ |
D | pgtable.h | 288 #define pte_page(x) (mem_map + (unsigned long) \ 348 pte_val(pte) = (((page - mem_map) << PAGE_SHIFT) + memory_start) | \
|
/Linux-v5.10/arch/ia64/mm/ |
D | contig.c | 208 printk("Virtual mem_map starts at 0x%p\n", mem_map); in paging_init()
|
D | init.c | 667 BUG_ON(!mem_map); in mem_init()
|
/Linux-v5.10/arch/openrisc/mm/ |
D | init.c | 204 BUG_ON(!mem_map); in mem_init()
|
/Linux-v5.10/arch/mips/include/asm/mach-loongson64/ |
D | boot_param.h | 24 struct mem_map { struct
|
/Linux-v5.10/arch/nds32/mm/ |
D | init.c | 187 BUG_ON(!mem_map); in mem_init()
|
/Linux-v5.10/Documentation/admin-guide/kdump/ |
D | vmcoreinfo.rst | 68 mem_map section in Common variables 72 an index into the mem_map array. Right-shifting a physical address 74 into that mem_map array. 93 similar to the mem_map variable, both of them are used to translate an
|
/Linux-v5.10/drivers/firmware/efi/libstub/ |
D | x86-stub.c | 628 efi_memory_desc_t *mem_map; in exit_boot() local 636 map.map = &mem_map; in exit_boot()
|
/Linux-v5.10/include/linux/ |
D | mmzone.h | 707 extern struct page *mem_map; 1002 #define NODE_MEM_MAP(nid) mem_map
|
/Linux-v5.10/drivers/net/wireless/ti/wl1251/ |
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-v5.10/arch/arm/mm/ |
D | init.c | 385 set_max_mapnr(pfn_to_page(max_pfn) - mem_map); in mem_init()
|
/Linux-v5.10/kernel/ |
D | crash_core.c | 458 VMCOREINFO_SYMBOL(mem_map); in crash_save_vmcoreinfo_init()
|