/openbmc/linux/arch/mips/mti-malta/ |
H 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()
|
/openbmc/linux/Documentation/translations/zh_CN/mm/ |
H A D | memory-model.rst | 40 在FLATMEM内存模型中,有一个全局的 `mem_map` 数组来映射整个物理内存。对 41 于大多数架构,孔隙在 `mem_map` 数组中都有条目。与孔洞相对应的 `struct page` 44 为了分配 `mem_map` 数组,架构特定的设置代码应该调用free_area_init()函数。 48 一个架构可能会释放 `mem_map` 数组中不包括实际物理页的部分。在这种情况下,特 49 定架构的 :c:func:`pfn_valid` 实现应该考虑到 `mem_map` 中的孔隙。 52 是 `mem_map` 数组的一个索引。 112 围提供 `struct page` `mem_map` 服务。 `ZONE_DEVICE` 的 "设备" 方面与以下 121 `ZONE_DEVICE` 用户需要更小的颗粒度来填充 `mem_map` 。鉴于 `ZONE_DEVICE`
|
/openbmc/u-boot/arch/arm/cpu/armv8/ |
H A D | cache_v8.c | 45 for (i = 0; mem_map[i].size || mem_map[i].attrs; i++) in get_tcr() 46 max_addr = max(max_addr, mem_map[i].virt + mem_map[i].size); in get_tcr() 277 for (i = 0; mem_map[i].size || mem_map[i].attrs; i++) { in count_required_pts() 278 struct mm_region *map = &mem_map[i]; in count_required_pts() 378 for (i = 0; mem_map[i].size || mem_map[i].attrs; i++) in setup_pgtables() 379 add_map(&mem_map[i]); in setup_pgtables()
|
/openbmc/u-boot/arch/arm/include/asm/ |
H A D | memory.h | 71 #define page_to_pfn(page) (((page) - mem_map) + PHYS_PFN_OFFSET) 72 #define pfn_to_page(pfn) ((mem_map + (pfn)) - PHYS_PFN_OFFSET) 80 #define VALID_PAGE(page) ((page - mem_map) < max_mapnr)
|
/openbmc/linux/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))
|
/openbmc/linux/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) + \
|
/openbmc/u-boot/arch/arm/mach-mvebu/armada8k/ |
H A D | cpu.c | 89 struct mm_region *mem_map = mvebu_mem_map; variable 100 mem_map = &mvebu_mem_map[ARMADA_7K8K_COMMON_REGIONS_START]; in enable_caches()
|
/openbmc/linux/arch/nios2/include/asm/ |
H A D | page.h | 77 extern struct page *mem_map; 85 ((void *)(((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET)
|
/openbmc/linux/Documentation/mm/ |
H A D | memory-model.rst | 38 In the FLATMEM memory model, there is a global `mem_map` array that 40 have entries in the `mem_map` array. The `struct page` objects 43 To allocate the `mem_map` array, architecture specific setup code should 48 An architecture may free parts of the `mem_map` array that do not cover the 51 `mem_map` into account. 55 `mem_map` array. 140 `struct page` `mem_map` services for device driver identified physical 154 for smaller granularity of populating the `mem_map`. Given that
|
/openbmc/u-boot/arch/arm/mach-uniphier/arm64/ |
H A D | Makefile | 3 obj-y += mem_map.o
|
H A D | mem_map.c | 29 struct mm_region *mem_map = uniphier_mem_map; variable
|
/openbmc/u-boot/arch/arm/mach-owl/ |
H A D | sysmap-s900.c | 32 struct mm_region *mem_map = s900_mem_map; variable
|
/openbmc/u-boot/arch/arm/mach-snapdragon/ |
H A D | sysmap-apq8096.c | 31 struct mm_region *mem_map = apq8096_mem_map; variable
|
H A D | sysmap-apq8016.c | 31 struct mm_region *mem_map = apq8016_mem_map; variable
|
/openbmc/u-boot/arch/arm/mach-exynos/ |
H A D | mmu-arm64.c | 30 struct mm_region *mem_map = exynos7420_mem_map; variable
|
/openbmc/u-boot/arch/arm/mach-tegra/ |
H A D | arm64-mmu.c | 35 struct mm_region *mem_map = tegra_mem_map; variable
|
/openbmc/u-boot/board/broadcom/bcm968580xref/ |
H A D | bcm968580xref.c | 35 struct mm_region *mem_map = broadcom_bcm968580xref_mem_map; variable
|
/openbmc/u-boot/board/broadcom/bcm963158/ |
H A D | bcm963158.c | 35 struct mm_region *mem_map = broadcom_bcm963158_mem_map; variable
|
/openbmc/u-boot/arch/arm/mach-k3/ |
H A D | arm64-mmu.c | 45 struct mm_region *mem_map = am654_mem_map; variable
|
/openbmc/u-boot/arch/arm/mach-rockchip/rk3328/ |
H A D | rk3328.c | 33 struct mm_region *mem_map = rk3328_mem_map; variable
|
/openbmc/u-boot/arch/arm/mach-rockchip/rk3399/ |
H A D | rk3399.c | 35 struct mm_region *mem_map = rk3399_mem_map; variable
|
/openbmc/u-boot/arch/arm/mach-mvebu/armada3700/ |
H A D | cpu.c | 59 struct mm_region *mem_map = mvebu_mem_map; variable
|
/openbmc/u-boot/board/broadcom/bcmns2/ |
H A D | northstar2.c | 29 struct mm_region *mem_map = ns2_mem_map; variable
|
/openbmc/u-boot/board/emulation/qemu-arm/ |
H A D | qemu-arm.c | 60 struct mm_region *mem_map = qemu_arm64_mem_map; variable
|
/openbmc/u-boot/arch/arm/mach-socfpga/ |
H A D | mmu-arm64_s10.c | 71 struct mm_region *mem_map = socfpga_stratix10_mem_map; variable
|