/linux-6.12.1/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() 643 .base = SZ_1G, in memblock_reserve_overlap_top_check() 644 .size = SZ_1G in memblock_reserve_overlap_top_check() [all …]
|
/linux-6.12.1/tools/testing/selftests/kvm/ |
D | max_guest_memory_test.c | 184 max_mem = 128ull * SZ_1G; in main() 194 max_mem = 1ull * atoi_positive("Memory size", optarg) * SZ_1G; in main() 197 slot_size = 1ull * atoi_positive("Slot size", optarg) * SZ_1G; in main() 240 for (i = 0; i < slot_size; i += SZ_1G) in main() 255 (gpa - start_gpa) / SZ_1G, nr_vcpus); in main()
|
D | coalesced_io_test.c | 221 .mmio_gpa = 4ull * SZ_1G, in main() 222 .mmio = (uint64_t *)(4ull * SZ_1G), in main()
|
/linux-6.12.1/arch/arm64/include/asm/ |
D | kvm_pkvm.h | 91 res += __hyp_pgtable_max_pages(SZ_1G >> PAGE_SHIFT); in hyp_s1_pgtable_pages() 107 res += __hyp_pgtable_max_pages(SZ_1G >> PAGE_SHIFT); in host_s2_pgtable_pages()
|
D | efi.h | 85 return (image_addr & ~(SZ_1G - 1UL)) + (1UL << (VA_BITS_MIN - 1)); in efi_get_max_initrd_addr()
|
D | memory.h | 51 #define VMEMMAP_END (-UL(SZ_1G))
|
/linux-6.12.1/drivers/iommu/ |
D | io-pgtable-arm.c | 865 page_sizes = (SZ_4K | SZ_2M | SZ_1G); in arm_lpae_restrict_pgsizes() 1139 cfg->pgsize_bitmap &= (SZ_4K | SZ_2M | SZ_1G); in arm_32_lpae_alloc_pgtable_s1() 1149 cfg->pgsize_bitmap &= (SZ_4K | SZ_2M | SZ_1G); in arm_32_lpae_alloc_pgtable_s2() 1165 cfg->pgsize_bitmap &= (SZ_4K | SZ_2M | SZ_1G); in arm_mali_lpae_alloc_pgtable() 1319 if (ops->iova_to_phys(ops, SZ_1G + 42)) in arm_lpae_run_tests() 1347 iova += SZ_1G; in arm_lpae_run_tests() 1352 if (ops->unmap_pages(ops, SZ_1G + size, size, 1, NULL) != size) in arm_lpae_run_tests() 1356 if (ops->map_pages(ops, SZ_1G + size, size, size, 1, in arm_lpae_run_tests() 1360 if (ops->iova_to_phys(ops, SZ_1G + size + 42) != (size + 42)) in arm_lpae_run_tests() 1382 iova += SZ_1G; in arm_lpae_run_tests() [all …]
|
D | ipmmu-vmsa.c | 433 domain->cfg.pgsize_bitmap = SZ_1G | SZ_2M | SZ_4K; in ipmmu_domain_init_context() 807 mapping = arm_iommu_create_mapping(dev, SZ_1G, SZ_2G); in ipmmu_init_arm_mapping() 885 .pgsize_bitmap = SZ_1G | SZ_2M | SZ_4K,
|
/linux-6.12.1/arch/arm/mach-bcm/ |
D | bcm2711.c | 21 .dma_zone_size = SZ_1G,
|
/linux-6.12.1/arch/arm64/kernel/ |
D | machine_kexec_file.c | 148 kbuf.buf_max = round_down(kernel_load_addr, SZ_1G) in load_other_segments() 149 + (unsigned long)SZ_1G * 32; in load_other_segments()
|
/linux-6.12.1/arch/s390/include/asm/ |
D | extmem.h | 16 #define MAX_DCSS_ADDR (512UL * SZ_1G)
|
/linux-6.12.1/arch/arm/include/asm/ |
D | ptdump.h | 24 #define EFI_RUNTIME_MAP_END SZ_1G
|
/linux-6.12.1/tools/include/linux/ |
D | sizes.h | 43 #define SZ_1G 0x40000000 macro
|
/linux-6.12.1/arch/x86/mm/ |
D | mem_encrypt.c | 133 size = clamp_val(size, IO_TLB_DEFAULT_SIZE, SZ_1G); in mem_encrypt_setup_arch()
|
/linux-6.12.1/include/linux/ |
D | sizes.h | 43 #define SZ_1G 0x40000000 macro
|
/linux-6.12.1/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()
|
/linux-6.12.1/arch/arm/mach-highbank/ |
D | highbank.c | 166 .dma_zone_size = (4ULL * SZ_1G),
|
/linux-6.12.1/drivers/gpu/drm/xe/ |
D | xe_vram.c | 252 *tile_size = (u64)REG_FIELD_GET(GENMASK(14, 8), reg) * SZ_1G; in tile_vram_size() 253 *tile_offset = (u64)REG_FIELD_GET(GENMASK(7, 1), reg) * SZ_1G; in tile_vram_size()
|
D | xe_migrate.c | 133 identity_offset += DIV_ROUND_UP_ULL(xe->mem.vram.actual_physical_size, SZ_1G); in xe_migrate_vram_ofs() 161 pos += SZ_1G, ofs += 8) { in xe_migrate_program_identity() 162 if (pos + SZ_1G >= vram_limit) { in xe_migrate_program_identity() 314 (MAX_NUM_PTE - IDENTITY_OFFSET) * SZ_1G); in xe_migrate_prepare_vm() 323 DIV_ROUND_UP_ULL(xe->mem.vram.actual_physical_size, SZ_1G); in xe_migrate_prepare_vm() 327 IDENTITY_OFFSET - IDENTITY_OFFSET / 2) * SZ_1G); in xe_migrate_prepare_vm()
|
/linux-6.12.1/fs/btrfs/ |
D | volumes.h | 31 #define BTRFS_MAX_DATA_CHUNK_SIZE (10ULL * SZ_1G) 37 #define BTRFS_MAX_DISCARD_CHUNK_SIZE (SZ_1G)
|
/linux-6.12.1/arch/arm64/kvm/ |
D | nested.c | 362 max_size = SZ_1G; in ttl_to_size() 440 else if (sz < SZ_1G) sz = SZ_1G; in get_guest_mapping_ttl() 501 max_size = SZ_1G; in compute_tlb_inval_range()
|
/linux-6.12.1/drivers/infiniband/hw/irdma/ |
D | icrdma_hw.c | 191 dev->hw_attrs.page_size_cap = SZ_4K | SZ_2M | SZ_1G; in icrdma_init_hw()
|
/linux-6.12.1/kernel/dma/ |
D | pool.c | 196 unsigned long pages = totalram_pages() / (SZ_1G / SZ_128K); in dma_atomic_pool_init()
|
/linux-6.12.1/drivers/gpu/drm/i915/gt/ |
D | intel_region_lmem.c | 225 lmem_size *= SZ_1G; in setup_lmem()
|
/linux-6.12.1/arch/powerpc/platforms/powernv/ |
D | memtrace.c | 70 #define FLUSH_CHUNK_SIZE SZ_1G
|