Searched refs:cxl_mock_pool (Results 1 – 1 of 1) sorted by relevance
392 static struct gen_pool *cxl_mock_pool; variable400 gen_pool_free(cxl_mock_pool, res->range.start, in depopulate_all_mock_resources()417 phys = gen_pool_alloc_algo(cxl_mock_pool, size, in alloc_mock_res()1431 cxl_mock_pool = gen_pool_create(ilog2(SZ_2M), NUMA_NO_NODE); in cxl_test_init()1432 if (!cxl_mock_pool) { in cxl_test_init()1438 rc = gen_pool_add(cxl_mock_pool, in cxl_test_init()1586 gen_pool_destroy(cxl_mock_pool); in cxl_test_init()1615 gen_pool_destroy(cxl_mock_pool); in cxl_test_exit()