/linux-6.6.21/arch/arm64/include/asm/ |
D | boot.h | 13 #define MAX_FDT_SIZE SZ_2M 18 #define MIN_KIMG_ALIGN SZ_2M
|
/linux-6.6.21/drivers/gpu/drm/i915/gem/selftests/ |
D | huge_pages.c | 411 IS_ALIGNED(i915_vma_offset(vma), SZ_2M) && in igt_check_page_sizes() 412 vma->page_sizes.sg & SZ_2M && in igt_check_page_sizes() 413 vma->resource->page_sizes_gtt < SZ_2M) { in igt_check_page_sizes() 887 .size = SZ_2M, in igt_ppgtt_64K() 892 .size = SZ_2M - SZ_4K, in igt_ppgtt_64K() 897 .size = SZ_2M + SZ_4K, in igt_ppgtt_64K() 902 .size = SZ_2M + SZ_64K, in igt_ppgtt_64K() 907 .size = SZ_2M - SZ_64K, in igt_ppgtt_64K() 914 .offset = SZ_2M, in igt_ppgtt_64K() 919 .offset = SZ_2M - SZ_64K, in igt_ppgtt_64K() [all …]
|
/linux-6.6.21/fs/btrfs/tests/ |
D | free-space-tests.c | 63 ret = btrfs_remove_free_space(cache, SZ_2M, 4096); in test_extents() 74 if (test_check_exists(cache, SZ_2M, 4096)) { in test_extents() 120 ret = btrfs_remove_free_space(cache, SZ_1M, SZ_2M); in test_bitmaps() 133 ret = test_add_free_space_entry(cache, next_bitmap_offset - SZ_2M, in test_bitmaps() 141 ret = btrfs_remove_free_space(cache, next_bitmap_offset - SZ_1M, SZ_2M); in test_bitmaps() 147 if (test_check_exists(cache, next_bitmap_offset - SZ_1M, SZ_2M)) { in test_bitmaps() 242 ret = test_add_free_space_entry(cache, SZ_2M, SZ_2M, 0); in test_bitmaps_and_extents() 302 ret = test_add_free_space_entry(cache, SZ_1M, SZ_2M, 1); in test_bitmaps_and_extents()
|
/linux-6.6.21/drivers/gpu/drm/panfrost/ |
D | panfrost_mmu.c | 261 size_t blk_offset = -addr % SZ_2M; in get_pgsize() 263 if (blk_offset || size < SZ_2M) { in get_pgsize() 268 *count = min(blk_offset, size) / SZ_2M; in get_pgsize() 269 return SZ_2M; in get_pgsize() 437 #define NUM_FAULT_PAGES (SZ_2M / PAGE_SIZE) 465 addr &= ~((u64)SZ_2M - 1); in panfrost_mmu_map_fault_addr() 474 bo->sgts = kvmalloc_array(bo->base.base.size / SZ_2M, in panfrost_mmu_map_fault_addr() 511 sgt = &bo->sgts[page_offset / (SZ_2M / PAGE_SIZE)]; in panfrost_mmu_map_fault_addr() 513 NUM_FAULT_PAGES, 0, SZ_2M, GFP_KERNEL); in panfrost_mmu_map_fault_addr() 627 .pgsize_bitmap = SZ_4K | SZ_2M, in panfrost_mmu_ctx_create()
|
D | panfrost_gem.c | 40 int n_sgt = bo->base.base.size / SZ_2M; in panfrost_gem_free_object() 142 align = size >= SZ_2M ? SZ_2M >> PAGE_SHIFT : 0; in panfrost_gem_open() 245 size = roundup(size, SZ_2M); in panfrost_gem_create()
|
/linux-6.6.21/arch/arm/mach-omap2/ |
D | iomap.h | 192 #define L4_WK_54XX_SIZE SZ_2M 243 #define L4_PER3_DRA7XX_SIZE SZ_2M 251 #define L4_CFG_DRA7XX_SIZE (SZ_1M + SZ_2M)
|
/linux-6.6.21/drivers/firmware/efi/libstub/ |
D | efi-stub.c | 269 if (IS_ALIGNED(in->phys_addr, SZ_2M) && size >= SZ_2M) in efi_get_virtmap() 270 efi_virt_base = round_up(efi_virt_base, SZ_2M); in efi_get_virtmap()
|
/linux-6.6.21/arch/powerpc/platforms/83xx/ |
D | misc.c | 125 int immrsize = IS_ALIGNED(immrbase, SZ_2M) ? SZ_2M : SZ_1M; in mpc83xx_setup_arch()
|
/linux-6.6.21/arch/sh/boards/mach-microdev/ |
D | setup.c | 158 .end = 0x07200000 + SZ_2M - 1, 163 .end = 0x07000000 + SZ_2M - 1,
|
/linux-6.6.21/tools/testing/memblock/tests/ |
D | basic_api.c | 312 .size = SZ_2M in memblock_add_twice_check() 405 .size = SZ_2M in memblock_add_near_max_check() 751 .base = SZ_2M, in memblock_reserve_within_check() 781 .size = SZ_2M in memblock_reserve_twice_check() 874 .size = SZ_2M in memblock_reserve_near_max_check() 1184 .base = SZ_2M, in memblock_remove_overlap_bottom_check() 1329 .base = PHYS_ADDR_MAX - SZ_2M, in memblock_remove_near_max_check() 1330 .size = SZ_2M in memblock_remove_near_max_check() 1335 .size = SZ_2M in memblock_remove_near_max_check() 1511 .base = SZ_2M, in memblock_free_absent_check() [all …]
|
/linux-6.6.21/drivers/mtd/nand/raw/ |
D | nand_ids.c | 46 SZ_8K, SZ_8K, SZ_2M, 0, 8, 640, NAND_ECC_INFO(40, SZ_1K) }, 55 SZ_8K, SZ_8K, SZ_2M, NAND_NEED_SCRAMBLING, 6, 640,
|
/linux-6.6.21/arch/loongarch/include/asm/ |
D | efi.h | 30 return SZ_2M; in efi_get_kimg_min_align()
|
/linux-6.6.21/arch/riscv/include/asm/ |
D | efi.h | 38 return IS_ENABLED(CONFIG_64BIT) ? SZ_2M : SZ_4M; in efi_get_kimg_min_align()
|
/linux-6.6.21/tools/include/linux/ |
D | sizes.h | 33 #define SZ_2M 0x00200000 macro
|
/linux-6.6.21/drivers/gpu/drm/i915/gt/ |
D | intel_migrate.c | 52 d->offset += SZ_2M; in xehpsdv_toggle_pdes() 187 sz += (sz / SZ_2M) * SZ_64K; in migrate_vm() 385 GEM_BUG_ON(!IS_ALIGNED(offset, SZ_2M)); in emit_pte() 387 offset /= SZ_2M; in emit_pte() 432 if (IS_ALIGNED(total, SZ_2M)) { in emit_pte() 435 dword_rem = SZ_2M - (total & (SZ_2M - 1)); in emit_pte()
|
/linux-6.6.21/include/linux/ |
D | sizes.h | 33 #define SZ_2M 0x00200000 macro
|
/linux-6.6.21/arch/arm/include/asm/ |
D | efi.h | 61 #define EFI_PHYS_ALIGN max(UL(SZ_2M), roundup_pow_of_two(TEXT_OFFSET))
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | fixmap.h | 75 #define FIX_IMMR_SIZE (SZ_2M / PAGE_SIZE)
|
/linux-6.6.21/arch/sh/boards/ |
D | board-edosk7760.c | 41 .size = SZ_2M,
|
/linux-6.6.21/arch/arm/boot/compressed/ |
D | fdt_check_mem_start.c | 167 return round_up(fdt_mem_start, SZ_2M); in fdt_check_mem_start()
|
/linux-6.6.21/drivers/iommu/ |
D | io-pgtable-arm.c | 737 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() 1260 SZ_4K | SZ_2M | SZ_1G, in arm_lpae_do_selftests()
|
/linux-6.6.21/drivers/infiniband/hw/mana/ |
D | mana_ib.h | 19 SZ_512K | SZ_1M | SZ_2M)
|
/linux-6.6.21/drivers/gpu/drm/i915/gt/uc/ |
D | intel_uc_fw.h | 138 #define INTEL_UC_RSVD_GGTT_PER_FW SZ_2M
|
/linux-6.6.21/arch/arm64/kernel/ |
D | machine_kexec_file.c | 172 kbuf.buf_align = SZ_2M; in load_other_segments()
|
/linux-6.6.21/drivers/gpu/drm/etnaviv/ |
D | etnaviv_iommu.c | 16 #define PT_SIZE SZ_2M
|