Searched refs:cxl_mock_pool (Results 1 – 1 of 1) sorted by relevance
388 static struct gen_pool *cxl_mock_pool; variable396 gen_pool_free(cxl_mock_pool, res->range.start, in depopulate_all_mock_resources()413 phys = gen_pool_alloc_algo(cxl_mock_pool, size, in alloc_mock_res()1342 cxl_mock_pool = gen_pool_create(ilog2(SZ_2M), NUMA_NO_NODE); in cxl_test_init()1343 if (!cxl_mock_pool) { in cxl_test_init()1349 rc = gen_pool_add(cxl_mock_pool, in cxl_test_init()1497 gen_pool_destroy(cxl_mock_pool); in cxl_test_init()1526 gen_pool_destroy(cxl_mock_pool); in cxl_test_exit()