Lines Matching full:failures
20 if (failures) \
22 __func__, failures, num_tests); \
86 int failures = 0, num_tests = 0; in test_pages() local
90 num_tests += do_alloc_pages_order(i, &failures); in test_pages()
93 *total_failures += failures; in test_pages()
134 int failures = 0, num_tests = 0; in test_kvmalloc() local
139 num_tests += do_kmalloc_size(size, &failures); in test_kvmalloc()
140 num_tests += do_vmalloc_size(size, &failures); in test_kvmalloc()
144 *total_failures += failures; in test_kvmalloc()
351 int failures = 0, num_tests = 0; in test_kmemcache() local
364 &failures); in test_kmemcache()
366 num_tests += do_kmem_cache_size_bulk(size, &failures); in test_kmemcache()
369 *total_failures += failures; in test_kmemcache()
376 int failures = 0, num_tests = 0; in test_rcu_persistent() local
381 num_tests += do_kmem_cache_rcu_persistent(size, &failures); in test_rcu_persistent()
384 *total_failures += failures; in test_rcu_persistent()
390 * updates |failures| with the number of failed tests.
394 int failures = 0, num_tests = 0; in test_meminit_init() local
396 num_tests += test_pages(&failures); in test_meminit_init()
397 num_tests += test_kvmalloc(&failures); in test_meminit_init()
398 num_tests += test_kmemcache(&failures); in test_meminit_init()
399 num_tests += test_rcu_persistent(&failures); in test_meminit_init()
401 if (failures == 0) in test_meminit_init()
404 pr_info("failures: %d out of %d\n", failures, num_tests); in test_meminit_init()
406 return failures ? -EINVAL : 0; in test_meminit_init()