/linux-6.12.1/drivers/gpu/drm/imagination/ |
D | pvr_rogue_heap_config.h | 62 #define ROGUE_PDSCODEDATA_HEAP_SIZE SZ_4G 80 #define ROGUE_USCCODE_HEAP_SIZE SZ_4G
|
/linux-6.12.1/kernel/bpf/ |
D | arena.c | 41 #define KERN_VM_SZ (SZ_4G + GUARD_SZ) 113 if (vm_range > SZ_4G) in arena_map_alloc() 316 if (len > SZ_4G) in arena_get_unmapped_area() 337 return round_up(ret, SZ_4G); in arena_get_unmapped_area() 361 if (WARN_ON_ONCE(vma->vm_end - vma->vm_start > SZ_4G || vma->vm_pgoff)) in arena_map_mmap()
|
/linux-6.12.1/arch/loongarch/include/asm/ |
D | crash_reserve.h | 7 #define CRASH_ADDR_LOW_MAX SZ_4G
|
/linux-6.12.1/arch/x86/include/asm/ |
D | crash_reserve.h | 27 # define CRASH_ADDR_LOW_MAX SZ_4G
|
/linux-6.12.1/tools/include/linux/ |
D | sizes.h | 46 #define SZ_4G _AC(0x100000000, ULL) macro
|
/linux-6.12.1/include/linux/ |
D | crash_reserve.h | 29 #define CRASH_ADDR_LOW_MAX SZ_4G
|
D | sizes.h | 46 #define SZ_4G _AC(0x100000000, ULL) macro
|
/linux-6.12.1/drivers/soc/sunxi/ |
D | sunxi_mbus.c | 88 ret = dma_direct_set_offset(dev, PHYS_OFFSET, 0, SZ_4G); in sunxi_mbus_notifier()
|
/linux-6.12.1/arch/x86/kernel/ |
D | shstk.c | 132 return PAGE_ALIGN(min_t(unsigned long long, rlimit(RLIMIT_STACK), SZ_4G)); in adjust_shstk_size() 520 if (addr && addr < SZ_4G) in SYSCALL_DEFINE3()
|
D | sys_x86_64.c | 197 info.low_limit = SZ_4G; in arch_get_unmapped_area_topdown()
|
/linux-6.12.1/arch/powerpc/kernel/ |
D | setup_64.c | 801 if (firmware_has_feature(FW_FEATURE_LPAR) && mce_limit > SZ_4G) in emergency_stack_init() 802 mce_limit = SZ_4G; in emergency_stack_init()
|
/linux-6.12.1/mm/ |
D | cma.c | 328 if (!memblock_bottom_up() && memblock_end >= SZ_4G + size) { in cma_declare_contiguous_nid() 330 addr = memblock_alloc_range_nid(size, alignment, SZ_4G, in cma_declare_contiguous_nid()
|
/linux-6.12.1/drivers/base/ |
D | arch_numa.c | 349 return memblock_start_of_DRAM() + SZ_4G; in numa_emu_dma_end()
|
/linux-6.12.1/tools/testing/selftests/kvm/ |
D | max_guest_memory_test.c | 161 const uint64_t start_gpa = SZ_4G; in main()
|
/linux-6.12.1/fs/btrfs/tests/ |
D | extent-map-tests.c | 1027 map->start = SZ_4G; in test_rmap_block() 1107 .mapped_logical= {SZ_4G + SZ_4M} in btrfs_test_extent_map() 1117 .physical_start = SZ_4G, in btrfs_test_extent_map()
|
/linux-6.12.1/drivers/iommu/ |
D | mtk_iommu.c | 341 #define MTK_IOMMU_IOVA_SZ_4G (SZ_4G - SZ_8M) /* 8M as gap */ 355 { .iova_base = SZ_4G, .size = MTK_IOMMU_IOVA_SZ_4G}, /* 4G ~ 8G */ 356 { .iova_base = SZ_4G * 2, .size = MTK_IOMMU_IOVA_SZ_4G}, /* 8G ~ 12G */ 357 { .iova_base = SZ_4G * 3, .size = MTK_IOMMU_IOVA_SZ_4G}, /* 12G ~ 16G */
|
/linux-6.12.1/drivers/gpu/drm/panfrost/ |
D | panfrost_mmu.c | 590 #define PFN_4G (SZ_4G >> PAGE_SHIFT) 628 drm_mm_init(&mmu->mm, SZ_32M >> PAGE_SHIFT, (SZ_4G - SZ_32M) >> PAGE_SHIFT); in panfrost_mmu_ctx_create()
|
/linux-6.12.1/tools/testing/nvdimm/test/ |
D | ndtest.c | 938 if (gen_pool_add(ndtest_pool, SZ_4G, SZ_4G, NUMA_NO_NODE)) { in ndtest_init()
|
/linux-6.12.1/drivers/edac/ |
D | pnd2_edac.c | 591 return (sys < SZ_4G) ? sys : sys - (SZ_4G - top_lm); in remove_mmio_gap() 647 (addr >= top_lm && addr < SZ_4G) || addr >= top_hm) { in sys2pmi()
|
/linux-6.12.1/drivers/pci/controller/ |
D | pcie-brcmstb.c | 953 (pci_offset < SZ_4G && pci_offset > SZ_2G)) { in brcm_pcie_get_inbound_wins() 1125 if (inbound_wins[2].pci_offset >= SZ_4G || in brcm_pcie_setup() 1126 (inbound_wins[2].size + inbound_wins[2].pci_offset) < SZ_4G) in brcm_pcie_setup()
|
/linux-6.12.1/arch/mips/kernel/ |
D | smp-cps.c | 109 0x0, SZ_4G - 1); in allocate_cps_vecs()
|
/linux-6.12.1/drivers/pci/controller/cadence/ |
D | pcie-cadence-host.c | 247 if (size + cpu_addr >= SZ_4G) { in cdns_pcie_host_bar_ib_config()
|
/linux-6.12.1/drivers/gpu/drm/panthor/ |
D | panthor_mmu.c | 1452 user_va_range = full_va_range > SZ_4G ? in panthor_vm_create_get_user_va_range() 2295 va_range = SZ_4G; in panthor_vm_create()
|
/linux-6.12.1/drivers/gpu/drm/msm/adreno/ |
D | adreno_gpu.c | 246 return SZ_4G; in adreno_private_address_space_size()
|
/linux-6.12.1/drivers/pci/controller/dwc/ |
D | pcie-designware.c | 841 pci->region_limit = (max << 32) | (SZ_4G - 1); in dw_pcie_iatu_detect()
|