Searched refs:TB_SHIFT (Results 1 – 1 of 1) sorted by relevance
35 #define TB_SHIFT 40 macro61 return (region->size_tb << TB_SHIFT); in get_padding()98 kaslr_regions[0].size_tb = 1 << (MAX_PHYSMEM_BITS - TB_SHIFT); in kernel_randomize_memory()106 memory_tb = DIV_ROUND_UP(max_pfn << PAGE_SHIFT, 1UL << TB_SHIFT) + in kernel_randomize_memory()117 vmemmap_size = (kaslr_regions[0].size_tb << (TB_SHIFT - PAGE_SHIFT)) * in kernel_randomize_memory()119 kaslr_regions[2].size_tb = DIV_ROUND_UP(vmemmap_size, 1UL << TB_SHIFT); in kernel_randomize_memory()