/linux-6.1.9/arch/arm64/include/asm/ |
D | kvm_pkvm.h | 50 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()
|
D | efi.h | 96 return (image_addr & ~(SZ_1G - 1UL)) + (1UL << (VA_BITS_MIN - 1)); in efi_get_max_initrd_addr()
|
/linux-6.1.9/tools/testing/memblock/tests/ |
D | basic_api.c | 48 .base = SZ_1G, in memblock_add_simple_check() 125 .base = SZ_1G, in memblock_add_disjoint_check() 129 .base = SZ_1G + SZ_16K, in memblock_add_disjoint_check() 179 .size = SZ_1G in memblock_add_overlap_top_check() 235 .size = SZ_1G in memblock_add_overlap_bottom_check() 350 .base = SZ_1G, in memblock_add_between_check() 354 .base = SZ_1G + SZ_16K, in memblock_add_between_check() 358 .base = SZ_1G + SZ_8K, in memblock_add_between_check() 550 .base = SZ_1G, in memblock_reserve_overlap_top_check() 551 .size = SZ_1G in memblock_reserve_overlap_top_check() [all …]
|
/linux-6.1.9/drivers/iommu/ |
D | io-pgtable-arm.c | 750 page_sizes = (SZ_4K | SZ_2M | SZ_1G); in arm_lpae_restrict_pgsizes() 1024 cfg->pgsize_bitmap &= (SZ_4K | SZ_2M | SZ_1G); in arm_32_lpae_alloc_pgtable_s1() 1034 cfg->pgsize_bitmap &= (SZ_4K | SZ_2M | SZ_1G); in arm_32_lpae_alloc_pgtable_s2() 1050 cfg->pgsize_bitmap &= (SZ_4K | SZ_2M | SZ_1G); in arm_mali_lpae_alloc_pgtable() 1199 if (ops->iova_to_phys(ops, SZ_1G + 42)) in arm_lpae_run_tests() 1226 iova += SZ_1G; in arm_lpae_run_tests() 1231 if (ops->unmap(ops, SZ_1G + size, size, NULL) != size) in arm_lpae_run_tests() 1235 if (ops->map(ops, SZ_1G + size, size, size, IOMMU_READ, GFP_KERNEL)) in arm_lpae_run_tests() 1238 if (ops->iova_to_phys(ops, SZ_1G + size + 42) != (size + 42)) in arm_lpae_run_tests() 1259 iova += SZ_1G; in arm_lpae_run_tests() [all …]
|
D | ipmmu-vmsa.c | 438 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-6.1.9/arch/arm/mach-bcm/ |
D | bcm2711.c | 21 .dma_zone_size = SZ_1G,
|
/linux-6.1.9/arch/arm64/kernel/ |
D | machine_kexec_file.c | 142 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-6.1.9/tools/include/linux/ |
D | sizes.h | 43 #define SZ_1G 0x40000000 macro
|
/linux-6.1.9/include/linux/ |
D | sizes.h | 43 #define SZ_1G 0x40000000 macro
|
/linux-6.1.9/drivers/pci/controller/ |
D | pci-rcar-gen2.c | 188 window_size = SZ_1G; in rcar_pci_setup() 216 case SZ_1G: in rcar_pci_setup()
|
D | pci-ftpci100.c | 159 case SZ_1G: in faraday_res_to_memcfg()
|
D | pcie-iproc.c | 210 .size_unit = SZ_1G, 220 .size_unit = SZ_1G,
|
/linux-6.1.9/arch/arm/mach-highbank/ |
D | highbank.c | 166 .dma_zone_size = (4ULL * SZ_1G),
|
/linux-6.1.9/arch/ia64/mm/ |
D | contig.c | 183 if (max_gap >= SZ_1G) in verify_gap_absence()
|
/linux-6.1.9/drivers/infiniband/hw/irdma/ |
D | icrdma_hw.c | 142 dev->hw_attrs.page_size_cap = SZ_4K | SZ_2M | SZ_1G; in icrdma_init_hw()
|
/linux-6.1.9/kernel/dma/ |
D | pool.c | 196 unsigned long pages = totalram_pages() / (SZ_1G / SZ_128K); in dma_atomic_pool_init()
|
/linux-6.1.9/drivers/gpu/drm/i915/gt/ |
D | intel_region_lmem.c | 214 lmem_size *= SZ_1G; in setup_lmem()
|
/linux-6.1.9/arch/powerpc/platforms/powernv/ |
D | memtrace.c | 70 #define FLUSH_CHUNK_SIZE SZ_1G
|
/linux-6.1.9/drivers/edac/ |
D | bluefield_edac.c | 214 (SZ_1G / PAGE_SIZE); in bluefield_edac_init_dimms()
|
/linux-6.1.9/arch/riscv/mm/ |
D | ptdump.c | 117 { SZ_1G, "UEFI runtime end" },
|
/linux-6.1.9/arch/x86/mm/ |
D | mem_encrypt_amd.c | 245 size = clamp_val(size, IO_TLB_DEFAULT_SIZE, SZ_1G); in sev_setup_arch()
|
/linux-6.1.9/drivers/gpu/drm/etnaviv/ |
D | etnaviv_iommu_v2.c | 305 drm_mm_init(&context->mm, SZ_4K, (u64)SZ_1G * 4 - SZ_4K); in etnaviv_iommuv2_context_alloc()
|
/linux-6.1.9/drivers/gpu/drm/panfrost/ |
D | panfrost_mmu.c | 267 blk_offset = -addr % SZ_1G ?: SZ_1G; in get_pgsize()
|
/linux-6.1.9/mm/ |
D | hugetlb_cgroup.c | 675 if (hsize >= SZ_1G) in mem_fmt() 676 snprintf(buf, size, "%luGB", hsize / SZ_1G); in mem_fmt()
|
/linux-6.1.9/drivers/dma/ |
D | tegra186-gpc-dma.c | 1294 .max_dma_count = SZ_1G, 1302 .max_dma_count = SZ_1G, 1310 .max_dma_count = SZ_1G,
|