Home
last modified time | relevance | path

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

1234

/Linux-v5.10/arch/arm64/include/asm/
Dboot.h13 #define MAX_FDT_SIZE SZ_2M
18 #define MIN_KIMG_ALIGN SZ_2M
Dmemory.h53 #define VMEMMAP_START (-VMEMMAP_SIZE - SZ_2M)
55 #define PCI_IO_END (VMEMMAP_START - SZ_2M)
57 #define FIXADDR_TOP (PCI_IO_START - SZ_2M)
Dfixmap.h47 #define FIX_FDT_SIZE (MAX_FDT_SIZE + SZ_2M)
/Linux-v5.10/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-v5.10/drivers/gpu/drm/i915/gem/selftests/
Dhuge_pages.c811 .size = SZ_2M, in igt_mock_ppgtt_64K()
816 .size = SZ_2M - SZ_4K, in igt_mock_ppgtt_64K()
821 .size = SZ_2M + SZ_4K, in igt_mock_ppgtt_64K()
826 .size = SZ_2M + SZ_64K, in igt_mock_ppgtt_64K()
831 .size = SZ_2M - SZ_64K, in igt_mock_ppgtt_64K()
838 .offset = SZ_2M, in igt_mock_ppgtt_64K()
843 .offset = SZ_2M - SZ_64K, in igt_mock_ppgtt_64K()
1253 { igt_create_internal, SZ_64K, SZ_2M, }, in igt_ppgtt_smoke_huge()
1343 { SZ_2M, SZ_2M }, in igt_ppgtt_sanity_check()
1344 { SZ_2M, SZ_64K }, in igt_ppgtt_sanity_check()
[all …]
/Linux-v5.10/drivers/gpu/drm/panfrost/
Dpanfrost_mmu.c226 if (addr & (SZ_2M - 1) || size < SZ_2M) in get_pgsize()
229 return SZ_2M; in get_pgsize()
371 .pgsize_bitmap = SZ_4K | SZ_2M, in panfrost_mmu_pgtable_alloc()
444 #define NUM_FAULT_PAGES (SZ_2M / PAGE_SIZE)
471 addr &= ~((u64)SZ_2M - 1); in panfrost_mmu_map_fault_addr()
478 bo->sgts = kvmalloc_array(bo->base.base.size / SZ_2M, in panfrost_mmu_map_fault_addr()
514 sgt = &bo->sgts[page_offset / (SZ_2M / PAGE_SIZE)]; in panfrost_mmu_map_fault_addr()
516 NUM_FAULT_PAGES, 0, SZ_2M, GFP_KERNEL); in panfrost_mmu_map_fault_addr()
Dpanfrost_gem.c40 int n_sgt = bo->base.base.size / SZ_2M; in panfrost_gem_free_object()
144 align = size >= SZ_2M ? SZ_2M >> PAGE_SHIFT : 0; in panfrost_gem_open()
246 size = roundup(size, SZ_2M); in panfrost_gem_create_with_handle()
/Linux-v5.10/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-v5.10/arch/powerpc/platforms/83xx/
Dmisc.c129 int immrsize = IS_ALIGNED(immrbase, SZ_2M) ? SZ_2M : SZ_1M; in mpc83xx_setup_arch()
/Linux-v5.10/arch/arm/mach-orion5x/
Ddb88f5281-setup.c127 .size = SZ_2M,
130 .offset = SZ_2M,
131 .size = (SZ_16M - SZ_2M),
/Linux-v5.10/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.c289 [1] = DEFINE_RES_MEM(S3C2410_CS2 + SZ_64M - SZ_2M, SZ_2M),
/Linux-v5.10/arch/sh/boards/mach-microdev/
Dsetup.c158 .end = 0x07200000 + SZ_2M - 1,
163 .end = 0x07000000 + SZ_2M - 1,
/Linux-v5.10/drivers/firmware/efi/libstub/
Defi-stub.c351 if (IS_ALIGNED(in->phys_addr, SZ_2M) && size >= SZ_2M) in efi_get_virtmap()
352 efi_virt_base = round_up(efi_virt_base, SZ_2M); in efi_get_virtmap()
Driscv-stub.c19 #define MIN_KIMG_ALIGN SZ_2M
/Linux-v5.10/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-v5.10/tools/include/linux/
Dsizes.h33 #define SZ_2M 0x00200000 macro
/Linux-v5.10/include/linux/
Dsizes.h33 #define SZ_2M 0x00200000 macro
/Linux-v5.10/arch/arm/mach-shmobile/
Dsetup-r8a7779.c23 .length = SZ_2M,
/Linux-v5.10/arch/powerpc/include/asm/
Dfixmap.h69 #define FIX_IMMR_SIZE (SZ_2M / PAGE_SIZE)
/Linux-v5.10/arch/arm/mach-omap1/
Dboard-innovator.c77 .size = SZ_2M,
84 .size = SZ_16M - SZ_2M - 2 * SZ_128K,

1234