Lines Matching full:nodes
193 struct drm_mm_node nodes[2]; in drm_test_mm_debug() local
195 /* Create a small drm_mm with a couple of nodes and a few holes, and in drm_test_mm_debug()
200 memset(nodes, 0, sizeof(nodes)); in drm_test_mm_debug()
201 nodes[0].start = 512; in drm_test_mm_debug()
202 nodes[0].size = 1024; in drm_test_mm_debug()
203 KUNIT_ASSERT_FALSE_MSG(test, drm_mm_reserve_node(&mm, &nodes[0]), in drm_test_mm_debug()
205 nodes[0].start, nodes[0].size); in drm_test_mm_debug()
207 nodes[1].size = 1024; in drm_test_mm_debug()
208 nodes[1].start = 4096 - 512 - nodes[1].size; in drm_test_mm_debug()
209 KUNIT_ASSERT_FALSE_MSG(test, drm_mm_reserve_node(&mm, &nodes[1]), in drm_test_mm_debug()
211 nodes[0].start, nodes[0].size); in drm_test_mm_debug()
312 KUNIT_FAIL(test, "Expected a hole after lo and high nodes!\n"); in drm_test_mm_once()