Searched refs:memblock_overlaps_region (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/tools/testing/memblock/tests/ |
D | basic_api.c | 2403 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/ |
D | init.c | 139 if (memblock_overlaps_region(&memblock.memory, in pfn_valid()
|
/linux-6.12.1/include/linux/ |
D | memblock.h | 126 bool memblock_overlaps_region(struct memblock_type *type,
|
/linux-6.12.1/mm/ |
D | numa_memblks.c | 224 if (!memblock_overlaps_region(&memblock.memory, in numa_cleanup_meminfo()
|
D | memblock.c | 187 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/ |
D | of_reserved_mem.c | 90 if (memblock_overlaps_region(&memblock.memory, base, size) && in early_init_dt_reserve_memory()
|