/linux/arch/x86/include/asm/ |
H A D | sparsemem.h | 15 * MAX_PHYSMEM_BITS 2^n: max size of physical address space 22 # define MAX_PHYSMEM_BITS 36 macro 25 # define MAX_PHYSMEM_BITS 32 macro 29 # define MAX_PHYSMEM_BITS (pgtable_l5_enabled() ? 52 : 46) macro
|
H A D | pgtable_64_types.h | 93 #define MAXMEM (1UL << MAX_PHYSMEM_BITS)
|
/linux/arch/arm/include/asm/ |
H A D | sparsemem.h | 10 * MAX_PHYSMEM_BITS: The number of physical address bits required 17 * then MAX_PHYSMEM_BITS is 32, SECTION_SIZE_BITS is 26. 21 #if !defined(MAX_PHYSMEM_BITS) || !defined(SECTION_SIZE_BITS) 22 #define MAX_PHYSMEM_BITS 36 macro
|
/linux/arch/riscv/include/asm/ |
H A D | sparsemem.h | 8 #define MAX_PHYSMEM_BITS 56 macro 10 #define MAX_PHYSMEM_BITS 32 macro
|
/linux/arch/x86/mm/ |
H A D | kaslr.c | 67 * kernel. This starts out at (1<<MAX_PHYSMEM_BITS) - 1), but KASLR may reduce 101 direct_map_physmem_end = ((1ULL << MAX_PHYSMEM_BITS) - 1); in kernel_randomize_memory() 105 kaslr_regions[0].size_tb = 1 << (MAX_PHYSMEM_BITS - TB_SHIFT); in kernel_randomize_memory()
|
/linux/Documentation/translations/zh_CN/mm/ |
H A D | memory-model.rst | 66 和最大区段数是使用 `SECTION_SIZE_BITS` 和 `MAX_PHYSMEM_BITS` 常量 67 来指定的,这两个常量是由每个支持SPARSEMEM的架构定义的。 `MAX_PHYSMEM_BITS`
|
/linux/arch/sh/include/asm/ |
H A D | sparsemem.h | 7 * MAX_PHYSMEM_BITS 2^N: how much physical address space we have 10 #define MAX_PHYSMEM_BITS 32 macro
|
/linux/arch/parisc/include/asm/ |
H A D | sparsemem.h | 11 #define MAX_PHYSMEM_BITS 39 /* 512 GB */ macro
|
/linux/arch/alpha/include/asm/ |
H A D | sparsemem.h | 14 #define MAX_PHYSMEM_BITS 48 macro
|
/linux/arch/sparc/include/asm/ |
H A D | sparsemem.h | 10 #define MAX_PHYSMEM_BITS MAX_PHYS_ADDRESS_BITS macro
|
/linux/arch/arm/mach-rpc/include/mach/ |
H A D | memory.h | 29 #define MAX_PHYSMEM_BITS 29 macro
|
/linux/arch/arm/mach-sa1100/include/mach/ |
H A D | memory.h | 27 #define MAX_PHYSMEM_BITS 32 macro
|
/linux/arch/mips/include/asm/ |
H A D | sparsemem.h | 8 * MAX_PHYSMEM_BITS 2^N: how much memory we can have in that space 15 #define MAX_PHYSMEM_BITS 48 macro
|
/linux/arch/loongarch/include/asm/ |
H A D | sparsemem.h | 9 * MAX_PHYSMEM_BITS 2^N: how much memory we can have in that space 12 #define MAX_PHYSMEM_BITS 48 macro
|
/linux/arch/s390/include/asm/ |
H A D | sparsemem.h | 6 #define MAX_PHYSMEM_BITS CONFIG_MAX_PHYSMEM_BITS macro
|
/linux/include/linux/ |
H A D | page-flags-layout.h | 31 #define SECTIONS_SHIFT (MAX_PHYSMEM_BITS - SECTION_SIZE_BITS)
|
H A D | swapops.h | 35 #ifdef MAX_PHYSMEM_BITS 36 #define SWP_PFN_BITS (MAX_PHYSMEM_BITS - PAGE_SHIFT) 37 #else /* MAX_PHYSMEM_BITS */ 41 #endif /* MAX_PHYSMEM_BITS */
|
/linux/arch/x86/boot/startup/ |
H A D | map_kernel.c | 105 if (physaddr >> MAX_PHYSMEM_BITS) in __startup_64()
|
/linux/arch/powerpc/include/asm/nohash/ |
H A D | mmu-e500.h | 314 #define MAX_PHYSMEM_BITS 44 macro
|
/linux/kernel/ |
H A D | vmcore_info.c | 164 VMCOREINFO_NUMBER(MAX_PHYSMEM_BITS); in crash_save_vmcoreinfo_init()
|
/linux/arch/s390/boot/ |
H A D | startup.c | 289 ident_map_size = min(ident_map_size, 1UL << MAX_PHYSMEM_BITS); in setup_ident_map_size() 442 BUILD_BUG_ON(MAX_DCSS_ADDR > (1UL << MAX_PHYSMEM_BITS)); in setup_kernel_memory_layout()
|
/linux/arch/sh/kernel/ |
H A D | setup.c | 59 .phys_bits = MAX_PHYSMEM_BITS,
|
/linux/scripts/gdb/linux/ |
H A D | mm.py | 42 self.MAX_PHYSMEM_BITS = constants.LX_CONFIG_ARM64_VA_BITS 62 self.SECTIONS_SHIFT = self.MAX_PHYSMEM_BITS - self.SECTION_SIZE_BITS
|
/linux/Documentation/mm/ |
H A D | memory-model.rst | 75 `MAX_PHYSMEM_BITS` constants defined by each architecture that 76 supports SPARSEMEM. While `MAX_PHYSMEM_BITS` is an actual width of a
|
/linux/arch/powerpc/platforms/pseries/ |
H A D | iommu.c | 1584 * Assuming it is still backed by page structs, try MAX_PHYSMEM_BITS in enable_ddw() 1590 if (ddw_sz >= MAX_PHYSMEM_BITS) in enable_ddw() 1591 len = MAX_PHYSMEM_BITS; in enable_ddw() 1608 (len == MAX_PHYSMEM_BITS) || in enable_ddw() 1775 if (pmem_present && direct_mapping && len != MAX_PHYSMEM_BITS) in enable_ddw()
|