Home
last modified time | relevance | path

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

12

/linux-6.12.1/arch/arm64/mm/
Dinit.c494 BUILD_BUG_ON(MODULES_VSIZE < SZ_2G); in module_init_limits()
499 if (kernel_size < SZ_2G) in module_init_limits()
500 module_plt_base = kernel_end - SZ_2G; in module_init_limits()
515 module_plt_base = random_bounding_box(SZ_2G, min, max); in module_init_limits()
521 module_plt_base ? (SZ_2G - kernel_size) / PAGE_SIZE : 0); in module_init_limits()
545 fallback_end = module_plt_base + SZ_2G; in execmem_arch_setup()
549 end = module_plt_base + SZ_2G; in execmem_arch_setup()
/linux-6.12.1/arch/arm/mach-omap2/
Dboard-generic.c293 .dma_zone_size = SZ_2G,
342 .dma_zone_size = SZ_2G,
366 .dma_zone_size = SZ_2G,
/linux-6.12.1/tools/include/linux/
Dsizes.h44 #define SZ_2G 0x80000000 macro
/linux-6.12.1/include/linux/
Dsizes.h44 #define SZ_2G 0x80000000 macro
/linux-6.12.1/arch/arm/mach-keystone/
Dkeystone.c143 .dma_zone_size = SZ_2G,
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_ttm_vram_mgr.c101 if (WARN_ON(min_page_size > SZ_2G)) { /* FIXME: sg limit */ in xe_ttm_vram_mgr_new()
106 if (WARN_ON((size > SZ_2G && in xe_ttm_vram_mgr_new()
138 u64 alloc_size = min_t(u64, remaining_size, SZ_2G); in xe_ttm_vram_mgr_new()
/linux-6.12.1/drivers/accel/ivpu/
Divpu_hw.c115 ivpu_hw_range_init(&vdev->hw->ranges.shave, 0x180000000, SZ_2G); in memory_ranges_init()
120 ivpu_hw_range_init(&vdev->hw->ranges.shave, 0x80000000 + SZ_256M, SZ_2G - SZ_256M); in memory_ranges_init()
/linux-6.12.1/arch/s390/boot/
Dstartup.c231 vsize = round_up(SZ_2G + max_mappable, rte_size) + in get_vmem_size()
491 amode31_lma = randomize_within_range(vmlinux.amode31_size, PAGE_SIZE, amode31_min, SZ_2G); in startup_kernel()
/linux-6.12.1/arch/powerpc/kernel/trace/
Dftrace.c396 if (reladdr >= (long)SZ_2G || reladdr < -(long long)SZ_2G) { in ftrace_dyn_arch_init()
Dftrace_64_pg.c750 if (reladdr >= SZ_2G || reladdr < -(long)SZ_2G) { in ftrace_dyn_arch_init()
/linux-6.12.1/drivers/gpu/drm/imagination/
Dpvr_rogue_fwif_client.h43 #define ROGUE_PM_MAX_FREELIST_SIZE SZ_2G
/linux-6.12.1/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.12.1/drivers/pci/controller/cadence/
Dpcie-cadence-host.c18 [RP_BAR0] = _ULL(128 * SZ_2G),
19 [RP_BAR1] = SZ_2G,
/linux-6.12.1/drivers/infiniband/hw/mlx5/
Ddata_direct.c77 dma_set_max_seg_size(&pdev->dev, SZ_2G); in mlx5_data_direct_set_dma_caps()
/linux-6.12.1/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.12.1/arch/powerpc/sysdev/
Ddart_iommu.c240 MEMBLOCK_LOW_LIMIT, SZ_2G, in allocate_dart()
/linux-6.12.1/arch/arm64/include/asm/
Dmemory.h49 #define MODULES_VSIZE (SZ_2G)
/linux-6.12.1/tools/testing/selftests/kvm/
Dmax_guest_memory_test.c178 slot_size = SZ_2G; in main()
/linux-6.12.1/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()
/linux-6.12.1/arch/powerpc/include/asm/
Diommu.h34 #define MIN_DDW_VPMEM_DMA_WINDOW SZ_2G
/linux-6.12.1/arch/riscv/mm/
Dptdump.c125 .end = SZ_2G,
/linux-6.12.1/drivers/gpu/drm/etnaviv/
Detnaviv_gpu.c875 if (cmdbuf_paddr >= SZ_2G) in etnaviv_gpu_init()
876 priv->mmu_global->memory_base = SZ_2G; in etnaviv_gpu_init()
879 } else if (cmdbuf_paddr + SZ_128M >= SZ_2G) { in etnaviv_gpu_init()
883 priv->mmu_global->memory_base = SZ_2G; in etnaviv_gpu_init()
/linux-6.12.1/drivers/staging/media/atomisp/pci/mmu/
Disp_mmu.c55 #define NR_PAGES_2GB (SZ_2G / PAGE_SIZE)
/linux-6.12.1/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()

12