Lines Matching refs: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()
332 int failures = 0, num_tests = 0; in test_kmemcache() local
345 &failures); in test_kmemcache()
347 num_tests += do_kmem_cache_size_bulk(size, &failures); in test_kmemcache()
350 *total_failures += failures; in test_kmemcache()
357 int failures = 0, num_tests = 0; in test_rcu_persistent() local
362 num_tests += do_kmem_cache_rcu_persistent(size, &failures); in test_rcu_persistent()
365 *total_failures += failures; in test_rcu_persistent()
375 int failures = 0, num_tests = 0; in test_meminit_init() local
377 num_tests += test_pages(&failures); in test_meminit_init()
378 num_tests += test_kvmalloc(&failures); in test_meminit_init()
379 num_tests += test_kmemcache(&failures); in test_meminit_init()
380 num_tests += test_rcu_persistent(&failures); in test_meminit_init()
382 if (failures == 0) in test_meminit_init()
385 pr_info("failures: %d out of %d\n", failures, num_tests); in test_meminit_init()
387 return failures ? -EINVAL : 0; in test_meminit_init()