Lines Matching full:constants
11 from linux import utils, constants
25 if not constants.LX_CONFIG_SPARSEMEM_VMEMMAP:
27 if constants.LX_CONFIG_ARM64 and utils.is_target_arch('aarch64'):
38 if constants.LX_CONFIG_ARM64_64K_PAGES:
42 self.MAX_PHYSMEM_BITS = constants.LX_CONFIG_ARM64_VA_BITS
44 self.PAGE_SHIFT = constants.LX_CONFIG_PAGE_SHIFT
48 self.VA_BITS = constants.LX_CONFIG_ARM64_VA_BITS
50 if constants.LX_CONFIG_ARM64_16K_PAGES:
64 if str(constants.LX_CONFIG_ARCH_FORCE_MAX_ORDER).isdigit():
65 self.MAX_ORDER = constants.LX_CONFIG_ARCH_FORCE_MAX_ORDER
75 if constants.LX_CONFIG_SPARSEMEM_EXTREME:
112 if constants.LX_CONFIG_KASAN_GENERIC or constants.LX_CONFIG_KASAN_SW_TAGS:
113 if constants.LX_CONFIG_KASAN_GENERIC:
117 self.KASAN_SHADOW_OFFSET = constants.LX_CONFIG_KASAN_SHADOW_OFFSET
123 if constants.LX_CONFIG_NUMA and constants.LX_CONFIG_NODES_SHIFT:
124 self.NODE_SHIFT = constants.LX_CONFIG_NODES_SHIFT
154 if constants.LX_CONFIG_SPARSEMEM_VMEMMAP:
189 if constants.LX_CONFIG_KASAN_SW_TAGS or constants.LX_CONFIG_KASAN_HW_TAGS:
213 if constants.LX_CONFIG_DEBUG_VIRTUAL:
240 if constants.LX_CONFIG_DEBUG_VIRTUAL:
270 if constants.LX_CONFIG_DEBUG_VIRTUAL:
277 if constants.LX_CONFIG_DEBUG_VIRTUAL: