Lines Matching defs:test

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()
194 static void drm_test_mm_init(struct kunit *test) in drm_test_mm_init()
248 static void drm_test_mm_debug(struct kunit *test) 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 noinline_for_stack check_reserve_boundaries(struct kunit *test, struct drm_mm *mm, in check_reserve_boundaries()
344 static int __drm_test_mm_reserve(struct kunit *test, unsigned int count, u64 size) in __drm_test_mm_reserve()
466 static void drm_test_mm_reserve(struct kunit *test) 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()
527 static int __drm_test_mm_insert(struct kunit *test, unsigned int count, u64 size, bool replace) in __drm_test_mm_insert()
663 static void drm_test_mm_insert(struct kunit *test) in drm_test_mm_insert()
679 static void drm_test_mm_replace(struct kunit *test) in drm_test_mm_replace()
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()
811 static int __drm_test_mm_insert_range(struct kunit *test, unsigned int count, u64 size, in __drm_test_mm_insert_range()
898 static int insert_outside_range(struct kunit *test) in insert_outside_range()
925 static void drm_test_mm_insert_range(struct kunit *test) in drm_test_mm_insert_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()
991 static void drm_test_mm_frag(struct kunit *test) in drm_test_mm_frag()
1053 static void drm_test_mm_align(struct kunit *test) in drm_test_mm_align()
1100 static void drm_test_mm_align_pot(struct kunit *test, int max) in drm_test_mm_align_pot()
1137 static void drm_test_mm_align32(struct kunit *test) in drm_test_mm_align32()
1142 static void drm_test_mm_align64(struct kunit *test) in drm_test_mm_align64()
1147 static void show_scan(struct kunit *test, const struct drm_mm_scan *scan) in show_scan()
1153 static void show_holes(struct kunit *test, const struct drm_mm *mm, int count) in show_holes()
1186 static bool evict_nodes(struct kunit *test, struct drm_mm_scan *scan, in evict_nodes()
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()
1390 static void drm_test_mm_evict(struct kunit *test) in drm_test_mm_evict()
1481 static void drm_test_mm_evict_range(struct kunit *test) in drm_test_mm_evict_range()
1568 static void drm_test_mm_topdown(struct kunit *test) in drm_test_mm_topdown()
1675 static void drm_test_mm_bottomup(struct kunit *test) in drm_test_mm_bottomup()
1767 static void drm_test_mm_once(struct kunit *test, unsigned int mode) in drm_test_mm_once()
1810 static void drm_test_mm_lowest(struct kunit *test) in drm_test_mm_lowest()
1815 static void drm_test_mm_highest(struct kunit *test) in drm_test_mm_highest()
1831 static bool colors_abutt(struct kunit *test, const struct drm_mm_node *node) in colors_abutt()
1846 static void drm_test_mm_color(struct kunit *test) in drm_test_mm_color()
1983 static int evict_color(struct kunit *test, struct drm_mm *mm, u64 range_start, in evict_color()
2045 static void drm_test_mm_color_evict(struct kunit *test) in drm_test_mm_color_evict()
2126 static void drm_test_mm_color_evict_range(struct kunit *test) in drm_test_mm_color_evict_range()