Home
last modified time | relevance | path

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

12

/linux-5.19.10/arch/arm64/include/asm/
Dkvm_pkvm.h50 res += __hyp_pgtable_max_pages(SZ_1G >> PAGE_SHIFT); in hyp_s1_pgtable_pages()
66 res += __hyp_pgtable_max_pages(SZ_1G >> PAGE_SHIFT); in host_s2_pgtable_pages()
Defi.h79 return (image_addr & ~(SZ_1G - 1UL)) + (1UL << (VA_BITS_MIN - 1)); in efi_get_max_initrd_addr()
/linux-5.19.10/tools/testing/memblock/tests/
Dbasic_api.c39 .base = SZ_1G, in memblock_add_simple_check()
108 .base = SZ_1G, in memblock_add_disjoint_check()
112 .base = SZ_1G + SZ_16K, in memblock_add_disjoint_check()
158 .size = SZ_1G in memblock_add_overlap_top_check()
210 .size = SZ_1G in memblock_add_overlap_bottom_check()
401 .base = SZ_1G, in memblock_reserve_overlap_top_check()
402 .size = SZ_1G in memblock_reserve_overlap_top_check()
406 .size = SZ_1G in memblock_reserve_overlap_top_check()
626 .size = SZ_1G in memblock_remove_absent_check()
/linux-5.19.10/drivers/iommu/
Dio-pgtable-arm.c763 page_sizes = (SZ_4K | SZ_2M | SZ_1G); in arm_lpae_restrict_pgsizes()
1037 cfg->pgsize_bitmap &= (SZ_4K | SZ_2M | SZ_1G); in arm_32_lpae_alloc_pgtable_s1()
1047 cfg->pgsize_bitmap &= (SZ_4K | SZ_2M | SZ_1G); in arm_32_lpae_alloc_pgtable_s2()
1063 cfg->pgsize_bitmap &= (SZ_4K | SZ_2M | SZ_1G); in arm_mali_lpae_alloc_pgtable()
1263 if (ops->iova_to_phys(ops, SZ_1G + 42)) in arm_lpae_run_tests()
1290 iova += SZ_1G; in arm_lpae_run_tests()
1295 if (ops->unmap(ops, SZ_1G + size, size, NULL) != size) in arm_lpae_run_tests()
1299 if (ops->map(ops, SZ_1G + size, size, size, IOMMU_READ, GFP_KERNEL)) in arm_lpae_run_tests()
1302 if (ops->iova_to_phys(ops, SZ_1G + size + 42) != (size + 42)) in arm_lpae_run_tests()
1323 iova += SZ_1G; in arm_lpae_run_tests()
[all …]
Dipmmu-vmsa.c438 domain->cfg.pgsize_bitmap = SZ_1G | SZ_2M | SZ_4K; in ipmmu_domain_init_context()
800 SZ_1G, SZ_2G); in ipmmu_init_arm_mapping()
877 .pgsize_bitmap = SZ_1G | SZ_2M | SZ_4K,
/linux-5.19.10/arch/arm/mach-bcm/
Dbcm2711.c21 .dma_zone_size = SZ_1G,
/linux-5.19.10/arch/arm64/kernel/
Dmachine_kexec_file.c142 kbuf.buf_max = round_down(kernel_load_addr, SZ_1G) in load_other_segments()
143 + (unsigned long)SZ_1G * 32; in load_other_segments()
/linux-5.19.10/tools/include/linux/
Dsizes.h43 #define SZ_1G 0x40000000 macro
/linux-5.19.10/include/linux/
Dsizes.h43 #define SZ_1G 0x40000000 macro
/linux-5.19.10/drivers/pci/controller/
Dpci-rcar-gen2.c188 window_size = SZ_1G; in rcar_pci_setup()
216 case SZ_1G: in rcar_pci_setup()
Dpci-ftpci100.c166 case SZ_1G: in faraday_res_to_memcfg()
Dpcie-iproc.c210 .size_unit = SZ_1G,
220 .size_unit = SZ_1G,
/linux-5.19.10/arch/arm/mach-highbank/
Dhighbank.c166 .dma_zone_size = (4ULL * SZ_1G),
/linux-5.19.10/arch/ia64/mm/
Dcontig.c183 if (max_gap >= SZ_1G) in verify_gap_absence()
/linux-5.19.10/drivers/infiniband/hw/irdma/
Dicrdma_hw.c142 dev->hw_attrs.page_size_cap = SZ_4K | SZ_2M | SZ_1G; in icrdma_init_hw()
/linux-5.19.10/kernel/dma/
Dpool.c196 unsigned long pages = totalram_pages() / (SZ_1G / SZ_128K); in dma_atomic_pool_init()
/linux-5.19.10/arch/powerpc/platforms/powernv/
Dmemtrace.c70 #define FLUSH_CHUNK_SIZE SZ_1G
/linux-5.19.10/drivers/edac/
Dbluefield_edac.c214 (SZ_1G / PAGE_SIZE); in bluefield_edac_init_dimms()
/linux-5.19.10/arch/riscv/mm/
Dptdump.c117 { SZ_1G, "UEFI runtime end" },
Dinit.c82 #define LOG2_SZ_1G ilog2(SZ_1G)
235 dma32_phys_limit = min(4UL * SZ_1G, (unsigned long)PFN_PHYS(max_low_pfn)); in setup_bootmem()
/linux-5.19.10/arch/x86/mm/
Dmem_encrypt_amd.c244 size = clamp_val(size, IO_TLB_DEFAULT_SIZE, SZ_1G); in sev_setup_arch()
/linux-5.19.10/drivers/gpu/drm/etnaviv/
Detnaviv_iommu_v2.c305 drm_mm_init(&context->mm, SZ_4K, (u64)SZ_1G * 4 - SZ_4K); in etnaviv_iommuv2_context_alloc()
/linux-5.19.10/drivers/dma/
Dtegra186-gpc-dma.c1293 .max_dma_count = SZ_1G,
1301 .max_dma_count = SZ_1G,
1309 .max_dma_count = SZ_1G,
/linux-5.19.10/fs/btrfs/
Dvolumes.h14 #define BTRFS_MAX_DATA_CHUNK_SIZE (10ULL * SZ_1G)
Dspace-info.c207 if (fs_info->fs_devices->total_rw_bytes > 50ULL * SZ_1G) in calc_chunk_size()
208 return SZ_1G; in calc_chunk_size()

12