Lines Matching refs:drm_mm
46 static bool assert_no_holes(struct kunit *test, const struct drm_mm *mm) in assert_no_holes()
71 static bool assert_one_hole(struct kunit *test, const struct drm_mm *mm, u64 start, u64 end) in assert_one_hole()
100 static bool assert_continuous(struct kunit *test, const struct drm_mm *mm, u64 size) in assert_continuous()
162 static bool assert_node(struct kunit *test, struct drm_mm_node *node, struct drm_mm *mm, in assert_node()
197 struct drm_mm mm; in drm_test_mm_init()
250 struct drm_mm mm; in drm_test_mm_debug()
281 static bool expect_reserve_fail(struct kunit *test, struct drm_mm *mm, struct drm_mm_node *node) in expect_reserve_fail()
301 static bool check_reserve_boundaries(struct kunit *test, struct drm_mm *mm, in check_reserve_boundaries()
347 struct drm_mm mm; in __drm_test_mm_reserve()
482 static bool expect_insert(struct kunit *test, struct drm_mm *mm, in expect_insert()
506 static bool expect_insert_fail(struct kunit *test, struct drm_mm *mm, u64 size) in expect_insert_fail()
531 struct drm_mm mm; in __drm_test_mm_insert()
701 static bool expect_insert_in_range(struct kunit *test, struct drm_mm *mm, struct drm_mm_node *node, in expect_insert_in_range()
727 static bool expect_insert_in_range_fail(struct kunit *test, struct drm_mm *mm, in expect_insert_in_range_fail()
752 static bool assert_contiguous_in_range(struct kunit *test, struct drm_mm *mm, in assert_contiguous_in_range()
815 struct drm_mm mm; in __drm_test_mm_insert_range()
900 struct drm_mm mm; in insert_outside_range()
950 static int prepare_frag(struct kunit *test, struct drm_mm *mm, struct drm_mm_node *nodes, in prepare_frag()
972 static u64 get_insert_time(struct kunit *test, struct drm_mm *mm, in get_insert_time()
993 struct drm_mm mm; in drm_test_mm_frag()
1057 struct drm_mm mm; in drm_test_mm_align()
1102 struct drm_mm mm; in drm_test_mm_align_pot()
1153 static void show_holes(struct kunit *test, const struct drm_mm *mm, int count) in show_holes()
1232 static bool evict_nothing(struct kunit *test, struct drm_mm *mm, in evict_nothing()
1278 static bool evict_everything(struct kunit *test, struct drm_mm *mm, in evict_everything()
1326 static int evict_something(struct kunit *test, struct drm_mm *mm, in evict_something()
1395 struct drm_mm mm; in drm_test_mm_evict()
1489 struct drm_mm mm; in drm_test_mm_evict_range()
1576 struct drm_mm mm; in drm_test_mm_topdown()
1683 struct drm_mm mm; in drm_test_mm_bottomup()
1769 struct drm_mm mm; in drm_test_mm_once()
1850 struct drm_mm mm; in drm_test_mm_color()
1983 static int evict_color(struct kunit *test, struct drm_mm *mm, u64 range_start, in evict_color()
2051 struct drm_mm mm; in drm_test_mm_color_evict()
2135 struct drm_mm mm; in drm_test_mm_color_evict_range()