Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/tools/testing/selftests/kvm/
A Dmax_guest_memory_test.c189 max_mem = 128ull * SZ_1G; in main()
199 max_mem = 1ull * atoi_positive("Memory size", optarg) * SZ_1G; in main()
202 slot_size = 1ull * atoi_positive("Slot size", optarg) * SZ_1G; in main()
245 for (i = 0; i < slot_size; i += SZ_1G) in main()
260 (gpa - start_gpa) / SZ_1G, nr_vcpus); in main()
/linux-6.3-rc2/arch/arm64/include/asm/
A Dkvm_pkvm.h88 res += __hyp_pgtable_max_pages(SZ_1G >> PAGE_SHIFT); in hyp_s1_pgtable_pages()
104 res += __hyp_pgtable_max_pages(SZ_1G >> PAGE_SHIFT); in host_s2_pgtable_pages()
A Defi.h97 return (image_addr & ~(SZ_1G - 1UL)) + (1UL << (VA_BITS_MIN - 1)); in efi_get_max_initrd_addr()
/linux-6.3-rc2/tools/testing/memblock/tests/
A Dbasic_api.c48 .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()
643 .base = SZ_1G, in memblock_reserve_overlap_top_check()
644 .size = SZ_1G in memblock_reserve_overlap_top_check()
648 .size = SZ_1G in memblock_reserve_overlap_top_check()
819 .base = SZ_1G, in memblock_reserve_between_check()
[all …]
/linux-6.3-rc2/drivers/iommu/
A Dio-pgtable-arm.c737 page_sizes = (SZ_4K | SZ_2M | SZ_1G); in arm_lpae_restrict_pgsizes()
1009 cfg->pgsize_bitmap &= (SZ_4K | SZ_2M | SZ_1G); in arm_32_lpae_alloc_pgtable_s1()
1019 cfg->pgsize_bitmap &= (SZ_4K | SZ_2M | SZ_1G); in arm_32_lpae_alloc_pgtable_s2()
1035 cfg->pgsize_bitmap &= (SZ_4K | SZ_2M | SZ_1G); in arm_mali_lpae_alloc_pgtable()
1184 if (ops->iova_to_phys(ops, SZ_1G + 42)) in arm_lpae_run_tests()
1212 iova += SZ_1G; in arm_lpae_run_tests()
1217 if (ops->unmap_pages(ops, SZ_1G + size, size, 1, NULL) != size) in arm_lpae_run_tests()
1221 if (ops->map_pages(ops, SZ_1G + size, size, size, 1, in arm_lpae_run_tests()
1225 if (ops->iova_to_phys(ops, SZ_1G + size + 42) != (size + 42)) in arm_lpae_run_tests()
1247 iova += SZ_1G; in arm_lpae_run_tests()
[all …]
A Dipmmu-vmsa.c426 domain->cfg.pgsize_bitmap = SZ_1G | SZ_2M | SZ_4K; in ipmmu_domain_init_context()
771 SZ_1G, SZ_2G); in ipmmu_init_arm_mapping()
848 .pgsize_bitmap = SZ_1G | SZ_2M | SZ_4K,
/linux-6.3-rc2/arch/arm/mach-bcm/
A Dbcm2711.c21 .dma_zone_size = SZ_1G,
/linux-6.3-rc2/arch/arm64/kernel/
A 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-6.3-rc2/arch/arm/include/asm/
A Dptdump.h24 #define EFI_RUNTIME_MAP_END SZ_1G
/linux-6.3-rc2/tools/include/linux/
A Dsizes.h43 #define SZ_1G 0x40000000 macro
/linux-6.3-rc2/include/linux/
A Dsizes.h43 #define SZ_1G 0x40000000 macro
/linux-6.3-rc2/drivers/pci/controller/
A Dpci-rcar-gen2.c188 window_size = SZ_1G; in rcar_pci_setup()
216 case SZ_1G: in rcar_pci_setup()
/linux-6.3-rc2/arch/arm/mach-highbank/
A Dhighbank.c166 .dma_zone_size = (4ULL * SZ_1G),
/linux-6.3-rc2/arch/ia64/mm/
A Dcontig.c183 if (max_gap >= SZ_1G) in verify_gap_absence()
/linux-6.3-rc2/drivers/infiniband/hw/irdma/
A Dicrdma_hw.c142 dev->hw_attrs.page_size_cap = SZ_4K | SZ_2M | SZ_1G; in icrdma_init_hw()
/linux-6.3-rc2/drivers/accel/ivpu/
A Divpu_fw.c19 #define FW_GLOBAL_MEM_START (2ull * SZ_1G)
20 #define FW_GLOBAL_MEM_END (3ull * SZ_1G)
/linux-6.3-rc2/arch/powerpc/platforms/powernv/
A Dmemtrace.c70 #define FLUSH_CHUNK_SIZE SZ_1G
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/
A Dintel_region_lmem.c214 lmem_size *= SZ_1G; in setup_lmem()
/linux-6.3-rc2/kernel/dma/
A Dpool.c196 unsigned long pages = totalram_pages() / (SZ_1G / SZ_128K); in dma_atomic_pool_init()
/linux-6.3-rc2/drivers/edac/
A Dbluefield_edac.c214 (SZ_1G / PAGE_SIZE); in bluefield_edac_init_dimms()
/linux-6.3-rc2/arch/riscv/mm/
A Dptdump.c117 { SZ_1G, "UEFI runtime end" },
/linux-6.3-rc2/arch/x86/mm/
A Dmem_encrypt_amd.c245 size = clamp_val(size, IO_TLB_DEFAULT_SIZE, SZ_1G); in sev_setup_arch()
/linux-6.3-rc2/drivers/gpu/drm/etnaviv/
A Detnaviv_iommu_v2.c305 drm_mm_init(&context->mm, SZ_4K, (u64)SZ_1G * 4 - SZ_4K); in etnaviv_iommuv2_context_alloc()
/linux-6.3-rc2/drivers/gpu/drm/panfrost/
A Dpanfrost_mmu.c267 blk_offset = -addr % SZ_1G ?: SZ_1G; in get_pgsize()
/linux-6.3-rc2/mm/
A Dhugetlb_cgroup.c676 if (hsize >= SZ_1G) in mem_fmt()
677 snprintf(buf, size, "%luGB", hsize / SZ_1G); in mem_fmt()

Completed in 43 milliseconds

123