Home
last modified time | relevance | path

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

12345

/Linux-v6.1/arch/arm64/include/asm/
Dboot.h13 #define MAX_FDT_SIZE SZ_2M
18 #define MIN_KIMG_ALIGN SZ_2M
Dfixmap.h47 #define FIX_FDT_SIZE (MAX_FDT_SIZE + SZ_2M)
/Linux-v6.1/drivers/gpu/drm/i915/gem/selftests/
Dhuge_pages.c407 IS_ALIGNED(vma->node.start, SZ_2M) && in igt_check_page_sizes()
408 vma->page_sizes.sg & SZ_2M && in igt_check_page_sizes()
409 vma->resource->page_sizes_gtt < SZ_2M) { in igt_check_page_sizes()
857 .size = SZ_2M, in igt_mock_ppgtt_64K()
862 .size = SZ_2M - SZ_4K, in igt_mock_ppgtt_64K()
867 .size = SZ_2M + SZ_4K, in igt_mock_ppgtt_64K()
872 .size = SZ_2M + SZ_64K, in igt_mock_ppgtt_64K()
877 .size = SZ_2M - SZ_64K, in igt_mock_ppgtt_64K()
884 .offset = SZ_2M, in igt_mock_ppgtt_64K()
889 .offset = SZ_2M - SZ_64K, in igt_mock_ppgtt_64K()
[all …]
/Linux-v6.1/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-v6.1/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)
464 addr &= ~((u64)SZ_2M - 1); in panfrost_mmu_map_fault_addr()
471 bo->sgts = kvmalloc_array(bo->base.base.size / SZ_2M, in panfrost_mmu_map_fault_addr()
513 sgt = &bo->sgts[page_offset / (SZ_2M / PAGE_SIZE)]; in panfrost_mmu_map_fault_addr()
515 NUM_FAULT_PAGES, 0, SZ_2M, GFP_KERNEL); in panfrost_mmu_map_fault_addr()
625 .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()
249 size = roundup(size, SZ_2M); in panfrost_gem_create_with_handle()
/Linux-v6.1/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-v6.1/arch/arm/mach-orion5x/
Ddb88f5281-setup.c124 .size = SZ_2M,
127 .offset = SZ_2M,
128 .size = (SZ_16M - SZ_2M),
/Linux-v6.1/arch/powerpc/platforms/83xx/
Dmisc.c125 int immrsize = IS_ALIGNED(immrbase, SZ_2M) ? SZ_2M : SZ_1M; in mpc83xx_setup_arch()
/Linux-v6.1/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()
658 .base = SZ_2M, in memblock_reserve_within_check()
688 .size = SZ_2M in memblock_reserve_twice_check()
781 .size = SZ_2M in memblock_reserve_near_max_check()
1000 .base = SZ_2M, in memblock_remove_overlap_bottom_check()
1145 .base = PHYS_ADDR_MAX - SZ_2M, in memblock_remove_near_max_check()
1146 .size = SZ_2M in memblock_remove_near_max_check()
1151 .size = SZ_2M in memblock_remove_near_max_check()
1327 .base = SZ_2M, in memblock_free_absent_check()
[all …]
/Linux-v6.1/arch/arm/mach-s3c/
Dcommon-smdk-s3c24xx.c140 .size = SZ_2M,
150 .size = SZ_2M,
Dmach-at2440evb.c84 .size = SZ_2M,
89 .offset = SZ_256K + SZ_2M,
Dmach-hmt.c175 .size = SZ_2M,
181 .offset = SZ_1M + SZ_2M,
Dmach-real6410.c165 .size = SZ_2M,
171 .offset = SZ_1M + SZ_2M,
Dmach-mini6410.c113 .size = SZ_2M,
119 .offset = SZ_1M + SZ_2M,
Dmach-anubis.c284 [1] = DEFINE_RES_MEM(S3C2410_CS2 + SZ_64M - SZ_2M, SZ_2M),
/Linux-v6.1/arch/sh/boards/mach-microdev/
Dsetup.c158 .end = 0x07200000 + SZ_2M - 1,
163 .end = 0x07000000 + SZ_2M - 1,
/Linux-v6.1/drivers/firmware/efi/libstub/
Defi-stub.c344 if (IS_ALIGNED(in->phys_addr, SZ_2M) && size >= SZ_2M) in efi_get_virtmap()
345 efi_virt_base = round_up(efi_virt_base, SZ_2M); in efi_get_virtmap()
/Linux-v6.1/drivers/mtd/nand/raw/
Dnand_ids.c46 SZ_8K, SZ_8K, SZ_2M, 0, 8, 640, NAND_ECC_INFO(40, SZ_1K) },
52 SZ_8K, SZ_8K, SZ_2M, NAND_NEED_SCRAMBLING, 6, 640,
/Linux-v6.1/tools/include/linux/
Dsizes.h33 #define SZ_2M 0x00200000 macro
/Linux-v6.1/drivers/gpu/drm/i915/gt/
Dintel_migrate.c49 d->offset += SZ_2M; in xehpsdv_toggle_pdes()
181 sz += (sz / SZ_2M) * SZ_64K; in migrate_vm()
367 GEM_BUG_ON(!IS_ALIGNED(offset, SZ_2M)); in emit_pte()
369 offset /= SZ_2M; in emit_pte()
415 if (IS_ALIGNED(total, SZ_2M)) { in emit_pte()
418 dword_rem = SZ_2M - (total & (SZ_2M - 1)); in emit_pte()
/Linux-v6.1/include/linux/
Dsizes.h33 #define SZ_2M 0x00200000 macro
/Linux-v6.1/arch/arm/include/asm/
Defi.h64 #define EFI_PHYS_ALIGN max(UL(SZ_2M), roundup_pow_of_two(TEXT_OFFSET))
/Linux-v6.1/arch/arm/mach-omap1/
Dboard-innovator.c75 .size = SZ_2M,
82 .size = SZ_16M - SZ_2M - 2 * SZ_128K,
/Linux-v6.1/arch/powerpc/include/asm/
Dfixmap.h75 #define FIX_IMMR_SIZE (SZ_2M / PAGE_SIZE)

12345