Lines Matching refs:WARN_ON
163 WARN_ON(msi_bitmap_alloc(&bmp, 0, NULL) == 0); in test_basics()
166 WARN_ON(msi_bitmap_alloc(&bmp, size, NULL)); in test_basics()
169 WARN_ON(bitmap_find_free_region(bmp.bitmap, size, get_count_order(size))); in test_basics()
173 WARN_ON(msi_bitmap_reserve_dt_hwirqs(&bmp) <= 0); in test_basics()
176 WARN_ON(bitmap_find_free_region(bmp.bitmap, size, get_count_order(size))); in test_basics()
181 WARN_ON(msi_bitmap_alloc_hwirqs(&bmp, 1) < 0); in test_basics()
183 WARN_ON(msi_bitmap_alloc_hwirqs(&bmp, 1) >= 0); in test_basics()
186 WARN_ON(bitmap_find_free_region(bmp.bitmap, size, 0) >= 0); in test_basics()
190 WARN_ON(msi_bitmap_alloc_hwirqs(&bmp, 1) != size / 2); in test_basics()
197 WARN_ON(rc < 0 && rc % 2 != 0); in test_basics()
199 WARN_ON(rc < 0 && rc % 4 != 0); in test_basics()
201 WARN_ON(rc < 0 && rc % 8 != 0); in test_basics()
203 WARN_ON(rc < 0 && rc % 16 != 0); in test_basics()
205 WARN_ON(rc < 0 && rc % 4 != 0); in test_basics()
207 WARN_ON(rc < 0 && rc % 8 != 0); in test_basics()
209 WARN_ON(rc < 0 && rc % 128 != 0); in test_basics()
214 WARN_ON(bmp.bitmap != NULL); in test_basics()
234 WARN_ON(msi_bitmap_alloc(&bmp, SIZE_EXPECTED, &of_node)); in test_of_node()
237 WARN_ON(msi_bitmap_reserve_dt_hwirqs(&bmp) <= 0); in test_of_node()
240 WARN_ON(bitmap_find_free_region(bmp.bitmap, SIZE_EXPECTED, in test_of_node()
255 WARN_ON(msi_bitmap_reserve_dt_hwirqs(&bmp)); in test_of_node()
258 WARN_ON(bitmap_parselist(expected_str, expected, SIZE_EXPECTED)); in test_of_node()
259 WARN_ON(!bitmap_equal(expected, bmp.bitmap, SIZE_EXPECTED)); in test_of_node()