Home
last modified time | relevance | path

Searched refs:failures (Results 1 – 25 of 138) sorted by relevance

123456

/linux-6.12.1/drivers/scsi/
Dscsi_lib_test.c61 struct scsi_failures failures = { in scsi_lib_test_multiple_sense() local
72 KUNIT_EXPECT_EQ(test, -EAGAIN, scsi_check_passthrough(&sc, &failures)); in scsi_lib_test_multiple_sense()
75 KUNIT_EXPECT_EQ(test, -EAGAIN, scsi_check_passthrough(&sc, &failures)); in scsi_lib_test_multiple_sense()
78 KUNIT_EXPECT_EQ(test, 0, scsi_check_passthrough(&sc, &failures)); in scsi_lib_test_multiple_sense()
81 KUNIT_EXPECT_EQ(test, -EAGAIN, scsi_check_passthrough(&sc, &failures)); in scsi_lib_test_multiple_sense()
84 KUNIT_EXPECT_EQ(test, 0, scsi_check_passthrough(&sc, &failures)); in scsi_lib_test_multiple_sense()
87 KUNIT_EXPECT_EQ(test, -EAGAIN, scsi_check_passthrough(&sc, &failures)); in scsi_lib_test_multiple_sense()
90 KUNIT_EXPECT_EQ(test, 0, scsi_check_passthrough(&sc, &failures)); in scsi_lib_test_multiple_sense()
96 &failures)); in scsi_lib_test_multiple_sense()
97 KUNIT_EXPECT_EQ(test, 0, scsi_check_passthrough(&sc, &failures)); in scsi_lib_test_multiple_sense()
[all …]
Dses.c107 struct scsi_failures failures = { in ses_recv_diag() local
111 .failures = &failures, in ses_recv_diag()
164 struct scsi_failures failures = { in ses_send_diag() local
168 .failures = &failures, in ses_send_diag()
Dscsi_scan.c674 struct scsi_failures failures = { in scsi_probe_lun() local
680 .failures = &failures, in scsi_probe_lun()
698 scsi_failures_reset_retries(&failures); in scsi_probe_lun()
1448 struct scsi_failures failures = { in scsi_report_lun_scan() local
1453 .failures = &failures, in scsi_report_lun_scan()
1524 scsi_failures_reset_retries(&failures); in scsi_report_lun_scan()
Dscsi_lib.c187 void scsi_failures_reset_retries(struct scsi_failures *failures) in scsi_failures_reset_retries() argument
191 failures->total_retries = 0; in scsi_failures_reset_retries()
193 for (failure = failures->failure_definitions; failure->result; in scsi_failures_reset_retries()
207 struct scsi_failures *failures) in scsi_check_passthrough() argument
213 if (!failures) in scsi_check_passthrough()
216 for (failure = failures->failure_definitions; failure->result; in scsi_check_passthrough()
265 if (failures->total_allowed == SCMD_FAILURE_NO_LIMIT || in scsi_check_passthrough()
266 ++failures->total_retries <= failures->total_allowed) in scsi_check_passthrough()
327 if (scsi_check_passthrough(scmd, args->failures) == -EAGAIN) { in scsi_execute_cmd()
2271 struct scsi_failures failures = { in scsi_mode_sense() local
[all …]
Dsd.c1795 struct scsi_failures failures = { in sd_sync_cache() local
1801 .failures = &failures, in sd_sync_cache()
1947 struct scsi_failures failures = { in sd_pr_in_command() local
1952 .failures = &failures, in sd_pr_in_command()
2049 struct scsi_failures failures = { in sd_pr_out_command() local
2054 .failures = &failures, in sd_pr_out_command()
2424 struct scsi_failures failures = { in sd_spinup_disk() local
2429 .failures = &failures, in sd_spinup_disk()
2439 scsi_failures_reset_retries(&failures); in sd_spinup_disk()
2752 struct scsi_failures failures = { in read_capacity_10() local
[all …]
/linux-6.12.1/lib/
Dtest_meminit.c20 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
[all …]
/linux-6.12.1/tools/testing/selftests/kvm/x86_64/
Dtsc_scaling_sync.c46 unsigned long failures = 0; in run_vcpu() local
75 failures++; in run_vcpu()
83 return (void *)failures; in run_vcpu()
99 unsigned long failures = 0; in main() local
103 failures += (unsigned long)this_cpu_failures; in main()
106 TEST_ASSERT(!failures, "TSC sync failed"); in main()
/linux-6.12.1/drivers/scsi/device_handler/
Dscsi_dh_hp_sw.c95 struct scsi_failures failures = { in hp_sw_tur() local
100 .failures = &failures, in hp_sw_tur()
149 struct scsi_failures failures = { in hp_sw_start_stop() local
154 .failures = &failures, in hp_sw_start_stop()
/linux-6.12.1/tools/testing/selftests/bpf/
Dtest_xsk.sh232 failures=0
238 failures=1
242 if [ $failures -eq 0 ]; then
DREADME.rst15 are propagated to patchwork, where failures are highlighted similar to
120 Additional information about selftest failures are
123 profiler[23] test failures with clang/llvm <12.0.0
162 bpf_iter test failures with clang/llvm 10.0.0
248 old to support them, they shouldn't cause build failures or runtime test
249 failures:
/linux-6.12.1/Documentation/fault-injection/
Dfault-injection.rst13 injects slab allocation failures. (kmalloc(), kmem_cache_alloc(), ...)
17 injects page allocation failures. (alloc_pages(), get_free_pages(), ...)
21 injects failures in user memory access functions. (copy_from_user(), get_user(), ...)
29 injects kernel RPC client and server failures.
85 specifies the interval between failures, for calls to
93 specifies how many times failures may happen at most. A value of -1
116 Any positive value limits failures to only processes indicated by
141 default is 'Y', setting it to 'N' will also inject failures into
147 default is 'N', setting it to 'Y' will only inject failures when
157 default is 'Y', setting it to 'N' will also inject failures
[all …]
/linux-6.12.1/drivers/md/
Ddm-raid1.c67 struct bio_list failures; member
646 if (!ms->failures.head) in write_callback()
648 bio_list_add(&ms->failures, bio); in write_callback()
772 bio_list_merge(&ms->failures, &sync); in do_writes()
785 bio_list_add(&ms->failures, bio); in do_writes()
795 static void do_failures(struct mirror_set *ms, struct bio_list *failures) in do_failures() argument
799 if (likely(!failures->head)) in do_failures()
819 while ((bio = bio_list_pop(failures))) { in do_failures()
864 struct bio_list reads, writes, failures; in do_mirror() local
870 failures = ms->failures; in do_mirror()
[all …]
/linux-6.12.1/tools/testing/selftests/net/
Drxtimestamp.c379 int failures = 0; in main() local
438 failures++; in main()
442 failures++; in main()
445 if (!failures) in main()
447 return failures; in main()
/linux-6.12.1/tools/testing/fault-injection/
Dfailcmd.sh31 specifies how many times failures may happen at most.
59 inject slab allocation failures
61 inject page allocation failures
/linux-6.12.1/tools/testing/selftests/mm/
Dmigration.c68 int failures = 0; in migrate() local
85 if (++failures < MAX_RETRIES) in migrate()
93 failures = 0; in migrate()
Dmremap_test.c637 static void run_mremap_test_case(struct test test_case, int *failures, in run_mremap_test_case() argument
650 *failures += 1; in run_mremap_test_case()
710 int failures = 0; in main() local
833 run_mremap_test_case(test_cases[i], &failures, threshold_mb, in main()
855 run_mremap_test_case(perf_test_cases[i], &failures, in main()
862 if (failures > 0) in main()
/linux-6.12.1/tools/testing/selftests/rcutorture/bin/
Dkvm-check-branches.sh97 echo '!!! ' $nfail failures in $ntry 'runs!!!'
100 echo No failures in $ntry runs.
Dtorture.sh281 touch $T/failures
317 echo "$curflavor($retcode)" $resdir >> $T/failures
388 echo "allmodconfig($retcode)" $amcdir >> $T/failures
422 echo "rcutasksflavors($retcode)" $rtfdir >> $T/failures
471 …lockdep($retcode)" "tools/testing/selftests/rcutorture/res/$ds/results-srcu-lockdep" >> $T/failures
612 nfailures="`wc -l "$T/failures" | awk '{ print $1 }'`"
/linux-6.12.1/tools/perf/tests/
Dpmu-events.c871 int *failures = data; in test__parsing_callback() local
885 (*failures)++; in test__parsing_callback()
907 (*failures)--; in test__parsing_callback()
940 (*failures)--; in test__parsing_callback()
962 int failures = 0; in test__parsing() local
964 pmu_for_each_core_metric(test__parsing_callback, &failures); in test__parsing()
965 pmu_for_each_sys_metric(test__parsing_callback, &failures); in test__parsing()
967 return failures == 0 ? TEST_OK : TEST_FAIL; in test__parsing()
/linux-6.12.1/Documentation/mm/
Dhwpoison.rst29 users, because memory failures could happen anytime and anywhere,
51 memory failures too. The expectation is that most applications
60 All memory failures cause a panic. Do not attempt recovery.
121 injected failures, not for real memory failures. Once any hardware
128 Only handle memory failures to pages associated with the file
/linux-6.12.1/tools/perf/tests/shell/lib/
Dperf_metric_validation.py305 failures = dict()
313 failures[m['Name']] = result
320 if name not in failures:
324 del failures[name]
326 failures[name] = [val]
331 if len(failures.keys()) != 0:
333 … rule['RangeLower'], rule['RangeUpper']) for name, val in failures.items()])
/linux-6.12.1/arch/x86/kernel/cpu/sgx/
Dvirt.c157 long failures = 0; in sgx_vepc_remove_all() local
164 failures++; in sgx_vepc_remove_all()
185 return failures; in sgx_vepc_remove_all()
/linux-6.12.1/drivers/net/ethernet/i825xx/
Dether1.c447 int failures = 0; in ether1_init_for_open() local
537 failures += 1; in ether1_init_for_open()
554 failures += 1; in ether1_init_for_open()
571 failures += 1; in ether1_init_for_open()
604 if (failures) in ether1_init_for_open()
606 return failures ? 1 : 0; in ether1_init_for_open()
/linux-6.12.1/tools/testing/selftests/x86/
Dldt_gdt.c534 int failures = 0, iters = 5, i; in do_multicpu_tests() local
608 failures++; in do_multicpu_tests()
618 if (failures) { in do_multicpu_tests()
619 printf("[FAIL]\t%d of %d iterations failed\n", failures, iters); in do_multicpu_tests()
/linux-6.12.1/tools/testing/ktest/examples/include/
Ddefaults.conf151 STORE_FAILURES = ${THIS_DIR}/failures

123456