Home
last modified time | relevance | path

Searched refs:SZ_2G (Results 1 – 25 of 45) sorted by relevance

12

/linux-6.6.21/arch/arm64/kernel/
Dmodule.c80 BUILD_BUG_ON(MODULES_VSIZE < SZ_2G); in module_init_limits()
85 if (kernel_size < SZ_2G) in module_init_limits()
86 module_plt_base = kernel_end - SZ_2G; in module_init_limits()
101 module_plt_base = random_bounding_box(SZ_2G, min, max); in module_init_limits()
107 module_plt_base ? (SZ_2G - kernel_size) / PAGE_SIZE : 0); in module_init_limits()
133 module_plt_base + SZ_2G, in module_alloc()
/linux-6.6.21/arch/arm/mach-omap2/
Dboard-generic.c287 .dma_zone_size = SZ_2G,
336 .dma_zone_size = SZ_2G,
360 .dma_zone_size = SZ_2G,
/linux-6.6.21/tools/include/linux/
Dsizes.h44 #define SZ_2G 0x80000000 macro
/linux-6.6.21/include/linux/
Dsizes.h44 #define SZ_2G 0x80000000 macro
/linux-6.6.21/arch/arm/mach-keystone/
Dkeystone.c143 .dma_zone_size = SZ_2G,
/linux-6.6.21/arch/powerpc/kernel/trace/
Dftrace.c384 if (reladdr >= (long)SZ_2G || reladdr < -(long long)SZ_2G) { in ftrace_dyn_arch_init()
Dftrace_64_pg.c745 if (reladdr >= SZ_2G || reladdr < -(long)SZ_2G) { in ftrace_dyn_arch_init()
/linux-6.6.21/arch/riscv/include/asm/
Dpgtable.h23 #define KERNEL_LINK_ADDR (ADDRESS_SPACE_END - SZ_2G + 1)
55 #define MODULES_LOWEST_VADDR (KERNEL_LINK_ADDR - SZ_2G)
56 #define MODULES_VADDR (PFN_ALIGN((unsigned long)&_end) - SZ_2G)
/linux-6.6.21/drivers/pci/controller/cadence/
Dpcie-cadence-host.c18 [RP_BAR0] = _ULL(128 * SZ_2G),
19 [RP_BAR1] = SZ_2G,
/linux-6.6.21/arch/mips/mti-malta/
Dmalta-dtshim.c122 mem_array[2] = cpu_to_be32(PHYS_OFFSET + SZ_2G + SZ_256M); in gen_fdt_mem_array()
/linux-6.6.21/arch/powerpc/sysdev/
Ddart_iommu.c241 MEMBLOCK_LOW_LIMIT, SZ_2G, in allocate_dart()
/linux-6.6.21/drivers/pci/controller/
Dpci-rcar-gen2.c213 case SZ_2G: in rcar_pci_setup()
Dpci-ftpci100.c161 case SZ_2G: in faraday_res_to_memcfg()
Dpcie-rockchip-ep.c156 bool is_64bits = sz > SZ_2G; in rockchip_pcie_ep_set_bar()
/linux-6.6.21/tools/testing/selftests/kvm/
Dmax_guest_memory_test.c183 slot_size = SZ_2G; in main()
/linux-6.6.21/arch/arm64/include/asm/
Dmemory.h49 #define MODULES_VSIZE (SZ_2G)
/linux-6.6.21/arch/riscv/mm/
Dptdump.c125 .end = SZ_2G,
Dkasan_init.c512 kasan_mem_to_shadow((const void *)MODULES_VADDR + SZ_2G)); in kasan_init()
/linux-6.6.21/arch/s390/boot/
Dstartup.c345 amode31_lma = randomize_within_range(vmlinux.amode31_size, PAGE_SIZE, 0, SZ_2G); in startup_kernel()
/linux-6.6.21/drivers/gpu/drm/etnaviv/
Detnaviv_gpu.c853 if (cmdbuf_paddr >= SZ_2G) in etnaviv_gpu_init()
854 priv->mmu_global->memory_base = SZ_2G; in etnaviv_gpu_init()
857 } else if (cmdbuf_paddr + SZ_128M >= SZ_2G) { in etnaviv_gpu_init()
861 priv->mmu_global->memory_base = SZ_2G; in etnaviv_gpu_init()
Detnaviv_drv.c521 dma_set_max_seg_size(dev, SZ_2G); in etnaviv_bind()
/linux-6.6.21/drivers/staging/media/atomisp/pci/mmu/
Disp_mmu.c55 #define NR_PAGES_2GB (SZ_2G / PAGE_SIZE)
/linux-6.6.21/arch/s390/kernel/
Duv.c66 uv_info.uv_base_stor_len, SZ_1M, SZ_2G, in setup_uv()
/linux-6.6.21/drivers/gpu/drm/i915/selftests/
Dintel_memory_region.c174 mem = mock_region_create(i915, 0, SZ_2G, I915_GTT_PAGE_SIZE_4K, 0, 0); in igt_mock_reserve()
1367 mem = mock_region_create(i915, 0, SZ_2G, I915_GTT_PAGE_SIZE_4K, 0, 0); in intel_memory_region_mock_selftests()
/linux-6.6.21/drivers/infiniband/hw/usnic/
Dusnic_ib_main.c409 dma_set_max_seg_size(&dev->dev, SZ_2G); in usnic_ib_device_add()

12