Home
last modified time | relevance | path

Searched refs:MAX_PHYSMEM_BITS (Results 1 – 25 of 34) sorted by relevance

12

/linux/arch/x86/include/asm/
H A Dsparsemem.h15 * 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 Dpgtable_64_types.h93 #define MAXMEM (1UL << MAX_PHYSMEM_BITS)
/linux/arch/arm/include/asm/
H A Dsparsemem.h10 * 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 Dsparsemem.h8 #define MAX_PHYSMEM_BITS 56 macro
10 #define MAX_PHYSMEM_BITS 32 macro
/linux/arch/x86/mm/
H A Dkaslr.c67 * 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 Dmemory-model.rst66 和最大区段数是使用 `SECTION_SIZE_BITS` 和 `MAX_PHYSMEM_BITS` 常量
67 来指定的,这两个常量是由每个支持SPARSEMEM的架构定义的。 `MAX_PHYSMEM_BITS`
/linux/arch/sh/include/asm/
H A Dsparsemem.h7 * 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 Dsparsemem.h11 #define MAX_PHYSMEM_BITS 39 /* 512 GB */ macro
/linux/arch/alpha/include/asm/
H A Dsparsemem.h14 #define MAX_PHYSMEM_BITS 48 macro
/linux/arch/sparc/include/asm/
H A Dsparsemem.h10 #define MAX_PHYSMEM_BITS MAX_PHYS_ADDRESS_BITS macro
/linux/arch/arm/mach-rpc/include/mach/
H A Dmemory.h29 #define MAX_PHYSMEM_BITS 29 macro
/linux/arch/arm/mach-sa1100/include/mach/
H A Dmemory.h27 #define MAX_PHYSMEM_BITS 32 macro
/linux/arch/mips/include/asm/
H A Dsparsemem.h8 * 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 Dsparsemem.h9 * 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 Dsparsemem.h6 #define MAX_PHYSMEM_BITS CONFIG_MAX_PHYSMEM_BITS macro
/linux/include/linux/
H A Dpage-flags-layout.h31 #define SECTIONS_SHIFT (MAX_PHYSMEM_BITS - SECTION_SIZE_BITS)
H A Dswapops.h35 #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 Dmap_kernel.c105 if (physaddr >> MAX_PHYSMEM_BITS) in __startup_64()
/linux/arch/powerpc/include/asm/nohash/
H A Dmmu-e500.h314 #define MAX_PHYSMEM_BITS 44 macro
/linux/kernel/
H A Dvmcore_info.c164 VMCOREINFO_NUMBER(MAX_PHYSMEM_BITS); in crash_save_vmcoreinfo_init()
/linux/arch/s390/boot/
H A Dstartup.c289 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 Dsetup.c59 .phys_bits = MAX_PHYSMEM_BITS,
/linux/scripts/gdb/linux/
H A Dmm.py42 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 Dmemory-model.rst75 `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 Diommu.c1584 * 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()

12