Home
last modified time | relevance | path

Searched refs:SZ_2M (Results 1 – 25 of 89) sorted by relevance

1234

/linux-6.6.21/arch/arm64/include/asm/
Dboot.h13 #define MAX_FDT_SIZE SZ_2M
18 #define MIN_KIMG_ALIGN SZ_2M
/linux-6.6.21/drivers/gpu/drm/i915/gem/selftests/
Dhuge_pages.c411 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/
Dfree-space-tests.c63 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/
Dpanfrost_mmu.c261 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()
Dpanfrost_gem.c40 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/
Diomap.h192 #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/
Defi-stub.c269 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/
Dmisc.c125 int immrsize = IS_ALIGNED(immrbase, SZ_2M) ? SZ_2M : SZ_1M; in mpc83xx_setup_arch()
/linux-6.6.21/arch/sh/boards/mach-microdev/
Dsetup.c158 .end = 0x07200000 + SZ_2M - 1,
163 .end = 0x07000000 + SZ_2M - 1,
/linux-6.6.21/tools/testing/memblock/tests/
Dbasic_api.c312 .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/
Dnand_ids.c46 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/
Defi.h30 return SZ_2M; in efi_get_kimg_min_align()
/linux-6.6.21/arch/riscv/include/asm/
Defi.h38 return IS_ENABLED(CONFIG_64BIT) ? SZ_2M : SZ_4M; in efi_get_kimg_min_align()
/linux-6.6.21/tools/include/linux/
Dsizes.h33 #define SZ_2M 0x00200000 macro
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_migrate.c52 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/
Dsizes.h33 #define SZ_2M 0x00200000 macro
/linux-6.6.21/arch/arm/include/asm/
Defi.h61 #define EFI_PHYS_ALIGN max(UL(SZ_2M), roundup_pow_of_two(TEXT_OFFSET))
/linux-6.6.21/arch/powerpc/include/asm/
Dfixmap.h75 #define FIX_IMMR_SIZE (SZ_2M / PAGE_SIZE)
/linux-6.6.21/arch/sh/boards/
Dboard-edosk7760.c41 .size = SZ_2M,
/linux-6.6.21/arch/arm/boot/compressed/
Dfdt_check_mem_start.c167 return round_up(fdt_mem_start, SZ_2M); in fdt_check_mem_start()
/linux-6.6.21/drivers/iommu/
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()
1260 SZ_4K | SZ_2M | SZ_1G, in arm_lpae_do_selftests()
/linux-6.6.21/drivers/infiniband/hw/mana/
Dmana_ib.h19 SZ_512K | SZ_1M | SZ_2M)
/linux-6.6.21/drivers/gpu/drm/i915/gt/uc/
Dintel_uc_fw.h138 #define INTEL_UC_RSVD_GGTT_PER_FW SZ_2M
/linux-6.6.21/arch/arm64/kernel/
Dmachine_kexec_file.c172 kbuf.buf_align = SZ_2M; in load_other_segments()
/linux-6.6.21/drivers/gpu/drm/etnaviv/
Detnaviv_iommu.c16 #define PT_SIZE SZ_2M

1234