Lines Matching full:failures

169 	unsigned long failures = 0;  in binder_alloc_test_alloc_buf()  local
176 failures++; in binder_alloc_test_alloc_buf()
179 return failures; in binder_alloc_test_alloc_buf()
187 unsigned long failures = 0; in binder_alloc_test_free_buf() local
197 failures++; in binder_alloc_test_free_buf()
201 return failures; in binder_alloc_test_free_buf()
207 unsigned long failures = 0; in binder_alloc_test_free_page() local
221 failures++; in binder_alloc_test_free_page()
225 return failures; in binder_alloc_test_free_page()
236 unsigned long failures; in binder_alloc_test_alloc_free() local
239 failures = binder_alloc_test_alloc_buf(test, alloc, buffers, in binder_alloc_test_alloc_free()
242 failed = failed || failures; in binder_alloc_test_alloc_free()
243 KUNIT_EXPECT_EQ_MSG(test, failures, 0, in binder_alloc_test_alloc_free()
245 failures, BUFFER_NUM); in binder_alloc_test_alloc_free()
247 failures = binder_alloc_test_free_buf(test, alloc, buffers, in binder_alloc_test_alloc_free()
250 failed = failed || failures; in binder_alloc_test_alloc_free()
251 KUNIT_EXPECT_EQ_MSG(test, failures, 0, in binder_alloc_test_alloc_free()
253 failures, pages); in binder_alloc_test_alloc_free()
256 failures = binder_alloc_test_alloc_buf(test, alloc, buffers, in binder_alloc_test_alloc_free()
259 failed = failed || failures; in binder_alloc_test_alloc_free()
260 KUNIT_EXPECT_EQ_MSG(test, failures, 0, in binder_alloc_test_alloc_free()
262 failures, BUFFER_NUM); in binder_alloc_test_alloc_free()
264 failures = list_lru_count(alloc->freelist); in binder_alloc_test_alloc_free()
265 failed = failed || failures; in binder_alloc_test_alloc_free()
266 KUNIT_EXPECT_EQ_MSG(test, failures, 0, in binder_alloc_test_alloc_free()
268 failures); in binder_alloc_test_alloc_free()
270 failures = binder_alloc_test_free_buf(test, alloc, buffers, in binder_alloc_test_alloc_free()
273 failed = failed || failures; in binder_alloc_test_alloc_free()
274 KUNIT_EXPECT_EQ_MSG(test, failures, 0, in binder_alloc_test_alloc_free()
276 failures, pages); in binder_alloc_test_alloc_free()
278 failures = binder_alloc_test_free_page(test, alloc); in binder_alloc_test_alloc_free()
279 failed = failed || failures; in binder_alloc_test_alloc_free()
280 KUNIT_EXPECT_EQ_MSG(test, failures, 0, in binder_alloc_test_alloc_free()
282 failures, (alloc->buffer_size / PAGE_SIZE)); in binder_alloc_test_alloc_free()
301 unsigned long *runs, unsigned long *failures, in permute_frees() argument
312 *failures += case_failed; in permute_frees()
330 permute_frees(test, alloc, tc, runs, failures, index + 1, end); in permute_frees()
338 unsigned long *failures) in gen_buf_sizes() argument
362 permute_frees(test, alloc, tc, runs, failures, 0, in gen_buf_sizes()
367 permute_frees(test, alloc, tc, runs, failures, 0, alloc->buffer_size); in gen_buf_sizes()
372 unsigned long *runs, unsigned long *failures, in gen_buf_offsets() argument
385 gen_buf_sizes(test, alloc, &tc, end_offset, runs, failures); in gen_buf_offsets()
401 failures, index + 1); in gen_buf_offsets()
454 unsigned long failures = 0; in binder_alloc_exhaustive_test() local
458 &failures, 0); in binder_alloc_exhaustive_test()
461 KUNIT_EXPECT_EQ(test, failures, 0); in binder_alloc_exhaustive_test()