Home
last modified time | relevance | path

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

/linux-6.6.21/tools/include/linux/ !
Dsizes.h46 #define SZ_4G _AC(0x100000000, ULL) macro
/linux-6.6.21/drivers/soc/sunxi/ !
Dsunxi_mbus.c88 ret = dma_direct_set_offset(dev, PHYS_OFFSET, 0, SZ_4G); in sunxi_mbus_notifier()
/linux-6.6.21/include/linux/ !
Dsizes.h46 #define SZ_4G _AC(0x100000000, ULL) macro
/linux-6.6.21/arch/x86/kernel/ !
Dshstk.c132 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()
Dsys_x86_64.c197 info.low_limit = SZ_4G; in arch_get_unmapped_area_topdown()
Dsetup.c493 # define CRASH_ADDR_LOW_MAX SZ_4G
/linux-6.6.21/mm/ !
Dcma.c337 if (!memblock_bottom_up() && memblock_end >= SZ_4G + size) { in cma_declare_contiguous_nid()
339 addr = memblock_alloc_range_nid(size, alignment, SZ_4G, in cma_declare_contiguous_nid()
Dmm_init.c398 if (usable_startpfn < PHYS_PFN(SZ_4G)) { in find_zone_movable_pfns_for_nodes()
/linux-6.6.21/arch/powerpc/kernel/ !
Dsetup_64.c805 if (firmware_has_feature(FW_FEATURE_LPAR) && mce_limit > SZ_4G) in emergency_stack_init()
806 mce_limit = SZ_4G; in emergency_stack_init()
/linux-6.6.21/fs/btrfs/tests/ !
Dextent-map-tests.c883 em->start = SZ_4G; in test_rmap_block()
973 .mapped_logical= {SZ_4G + SZ_4M} in btrfs_test_extent_map()
983 .physical_start = SZ_4G, in btrfs_test_extent_map()
/linux-6.6.21/tools/testing/selftests/kvm/ !
Dmax_guest_memory_test.c166 const uint64_t start_gpa = SZ_4G; in main()
/linux-6.6.21/arch/arm64/mm/ !
Dinit.c72 #define CRASH_HIGH_SEARCH_BASE SZ_4G
/linux-6.6.21/drivers/gpu/drm/panfrost/ !
Dpanfrost_mmu.c582 #define PFN_4G (SZ_4G >> PAGE_SHIFT)
620 drm_mm_init(&mmu->mm, SZ_32M >> PAGE_SHIFT, (SZ_4G - SZ_32M) >> PAGE_SHIFT); in panfrost_mmu_ctx_create()
/linux-6.6.21/drivers/iommu/ !
Dmtk_iommu.c341 #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.6.21/drivers/pci/controller/ !
Dpcie-brcmstb.c855 (*rc_bar2_offset < SZ_4G && *rc_bar2_offset > SZ_2G)) { in brcm_pcie_get_rc_bar2_size_and_offset()
953 if (rc_bar2_offset >= SZ_4G || (rc_bar2_size + rc_bar2_offset) < SZ_4G) in brcm_pcie_setup()
/linux-6.6.21/tools/testing/nvdimm/test/ !
Dndtest.c936 if (gen_pool_add(ndtest_pool, SZ_4G, SZ_4G, NUMA_NO_NODE)) { in ndtest_init()
Dnfit.c3291 if (gen_pool_add(nfit_pool, SZ_4G, SZ_4G, NUMA_NO_NODE)) { in nfit_test_init()
/linux-6.6.21/arch/loongarch/kernel/ !
Dsetup.c260 #define CRASH_ADDR_MAX SZ_4G
/linux-6.6.21/drivers/pci/controller/cadence/ !
Dpcie-cadence-host.c247 if (size + cpu_addr >= SZ_4G) { in cdns_pcie_host_bar_ib_config()
/linux-6.6.21/drivers/gpu/drm/msm/adreno/ !
Dadreno_gpu.c246 return SZ_4G; in adreno_private_address_space_size()
/linux-6.6.21/drivers/pci/controller/dwc/ !
Dpcie-designware.c837 pci->region_limit = (max << 32) | (SZ_4G - 1); in dw_pcie_iatu_detect()
/linux-6.6.21/drivers/gpu/drm/i915/gt/ !
Dintel_ggtt.c542 #define GUC_TOP_RESERVE_SIZE (SZ_4G - GUC_GGTT_TOP)
/linux-6.6.21/drivers/gpu/drm/i915/selftests/ !
Dintel_memory_region.c386 size = (SZ_4G - 1) & PAGE_MASK; in igt_mock_splintered_region()
/linux-6.6.21/arch/riscv/mm/ !
Dinit.c1106 memory_limit = KERN_VIRT_SIZE - (IS_ENABLED(CONFIG_64BIT) ? SZ_4G : 0); in setup_vm()
/linux-6.6.21/arch/powerpc/platforms/powernv/ !
Dpci-ioda.c1429 res_end = min(window_size, SZ_4G) >> tbl->it_page_shift; in pnv_pci_ioda2_setup_default_config()