Searched refs:cxl_mock_pool (Results 1 – 1 of 1) sorted by relevance
387 static struct gen_pool *cxl_mock_pool; variable395 gen_pool_free(cxl_mock_pool, res->range.start, in depopulate_all_mock_resources()412 phys = gen_pool_alloc_algo(cxl_mock_pool, size, in alloc_mock_res()1344 cxl_mock_pool = gen_pool_create(ilog2(SZ_2M), NUMA_NO_NODE); in cxl_test_init()1345 if (!cxl_mock_pool) { in cxl_test_init()1350 rc = gen_pool_add(cxl_mock_pool, iomem_resource.end + 1 - SZ_64G, in cxl_test_init()1496 gen_pool_destroy(cxl_mock_pool); in cxl_test_init()1525 gen_pool_destroy(cxl_mock_pool); in cxl_test_exit()