Lines Matching refs:failures
20 if (failures) \
22 __func__, failures, num_tests); \
93 int failures = 0, num_tests = 0; in test_pages() local
97 num_tests += do_alloc_pages_order(i, &failures); in test_pages()
100 *total_failures += failures; in test_pages()
155 int failures = 0, num_tests = 0; in test_kvmalloc() local
160 num_tests += do_kmalloc_size(size, &failures); in test_kvmalloc()
161 num_tests += do_vmalloc_size(size, &failures); in test_kvmalloc()
165 *total_failures += failures; in test_kvmalloc()
380 int failures = 0, num_tests = 0; in test_kmemcache() local
393 &failures); in test_kmemcache()
395 num_tests += do_kmem_cache_size_bulk(size, &failures); in test_kmemcache()
398 *total_failures += failures; in test_kmemcache()
405 int failures = 0, num_tests = 0; in test_rcu_persistent() local
410 num_tests += do_kmem_cache_rcu_persistent(size, &failures); in test_rcu_persistent()
413 *total_failures += failures; in test_rcu_persistent()
423 int failures = 0, num_tests = 0; in test_meminit_init() local
425 num_tests += test_pages(&failures); in test_meminit_init()
426 num_tests += test_kvmalloc(&failures); in test_meminit_init()
427 num_tests += test_kmemcache(&failures); in test_meminit_init()
428 num_tests += test_rcu_persistent(&failures); in test_meminit_init()
430 if (failures == 0) in test_meminit_init()
433 pr_info("failures: %d out of %d\n", failures, num_tests); in test_meminit_init()
435 return failures ? -EINVAL : 0; in test_meminit_init()