Home
last modified time | relevance | path

Searched refs:memblock_overlaps_region (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/tools/testing/memblock/tests/
Dbasic_api.c2403 ASSERT_FALSE(memblock_overlaps_region(&memblock.memory, SZ_1M, SZ_1M)); in memblock_overlaps_region_check()
2404 ASSERT_FALSE(memblock_overlaps_region(&memblock.memory, SZ_2G, SZ_1M)); in memblock_overlaps_region_check()
2407 ASSERT_FALSE(memblock_overlaps_region(&memblock.memory, SZ_1G - SZ_1M, SZ_1M)); in memblock_overlaps_region_check()
2408 ASSERT_FALSE(memblock_overlaps_region(&memblock.memory, SZ_1G + SZ_4M, SZ_1M)); in memblock_overlaps_region_check()
2411 ASSERT_TRUE(memblock_overlaps_region(&memblock.memory, SZ_1G - SZ_1M, SZ_2M)); in memblock_overlaps_region_check()
2412 ASSERT_TRUE(memblock_overlaps_region(&memblock.memory, SZ_1G + SZ_2M, SZ_2M)); in memblock_overlaps_region_check()
2415 ASSERT_TRUE(memblock_overlaps_region(&memblock.memory, SZ_1G, SZ_4M)); in memblock_overlaps_region_check()
2416 ASSERT_TRUE(memblock_overlaps_region(&memblock.memory, SZ_1G - SZ_2M, SZ_8M)); in memblock_overlaps_region_check()
2417 ASSERT_TRUE(memblock_overlaps_region(&memblock.memory, SZ_1G + SZ_1M, SZ_1M)); in memblock_overlaps_region_check()
/linux-6.12.1/arch/arm/mm/
Dinit.c139 if (memblock_overlaps_region(&memblock.memory, in pfn_valid()
/linux-6.12.1/include/linux/
Dmemblock.h126 bool memblock_overlaps_region(struct memblock_type *type,
/linux-6.12.1/mm/
Dnuma_memblks.c224 if (!memblock_overlaps_region(&memblock.memory, in numa_cleanup_meminfo()
Dmemblock.c187 bool __init_memblock memblock_overlaps_region(struct memblock_type *type, in memblock_overlaps_region() function
1940 return memblock_overlaps_region(&memblock.reserved, base, size); in memblock_is_region_reserved()
/linux-6.12.1/drivers/of/
Dof_reserved_mem.c90 if (memblock_overlaps_region(&memblock.memory, base, size) && in early_init_dt_reserve_memory()