Searched refs:cxl_mock_pool (Results 1 – 1 of 1) sorted by relevance
381 static struct gen_pool *cxl_mock_pool; variable389 gen_pool_free(cxl_mock_pool, res->range.start, in depopulate_all_mock_resources()406 phys = gen_pool_alloc_algo(cxl_mock_pool, size, in alloc_mock_res()1248 cxl_mock_pool = gen_pool_create(ilog2(SZ_2M), NUMA_NO_NODE); in cxl_test_init()1249 if (!cxl_mock_pool) { in cxl_test_init()1254 rc = gen_pool_add(cxl_mock_pool, iomem_resource.end + 1 - SZ_64G, in cxl_test_init()1417 gen_pool_destroy(cxl_mock_pool); in cxl_test_init()1447 gen_pool_destroy(cxl_mock_pool); in cxl_test_exit()