Lines Matching refs:WARN_ON
164 WARN_ON(msi_bitmap_alloc(&bmp, 0, NULL) == 0); in test_basics()
167 WARN_ON(msi_bitmap_alloc(&bmp, size, NULL)); in test_basics()
170 WARN_ON(bitmap_find_free_region(bmp.bitmap, size, get_count_order(size))); in test_basics()
174 WARN_ON(msi_bitmap_reserve_dt_hwirqs(&bmp) <= 0); in test_basics()
177 WARN_ON(bitmap_find_free_region(bmp.bitmap, size, get_count_order(size))); in test_basics()
182 WARN_ON(msi_bitmap_alloc_hwirqs(&bmp, 1) < 0); in test_basics()
184 WARN_ON(msi_bitmap_alloc_hwirqs(&bmp, 1) >= 0); in test_basics()
187 WARN_ON(bitmap_find_free_region(bmp.bitmap, size, 0) >= 0); in test_basics()
191 WARN_ON(msi_bitmap_alloc_hwirqs(&bmp, 1) != size / 2); in test_basics()
198 WARN_ON(rc < 0 && rc % 2 != 0); in test_basics()
200 WARN_ON(rc < 0 && rc % 4 != 0); in test_basics()
202 WARN_ON(rc < 0 && rc % 8 != 0); in test_basics()
204 WARN_ON(rc < 0 && rc % 16 != 0); in test_basics()
206 WARN_ON(rc < 0 && rc % 4 != 0); in test_basics()
208 WARN_ON(rc < 0 && rc % 8 != 0); in test_basics()
210 WARN_ON(rc < 0 && rc % 128 != 0); in test_basics()
215 WARN_ON(bmp.bitmap != NULL); in test_basics()
235 WARN_ON(msi_bitmap_alloc(&bmp, SIZE_EXPECTED, &of_node)); in test_of_node()
238 WARN_ON(msi_bitmap_reserve_dt_hwirqs(&bmp) <= 0); in test_of_node()
241 WARN_ON(bitmap_find_free_region(bmp.bitmap, SIZE_EXPECTED, in test_of_node()
256 WARN_ON(msi_bitmap_reserve_dt_hwirqs(&bmp)); in test_of_node()
259 WARN_ON(bitmap_parselist(expected_str, expected, SIZE_EXPECTED)); in test_of_node()
260 WARN_ON(!bitmap_equal(expected, bmp.bitmap, SIZE_EXPECTED)); in test_of_node()