Home
last modified time | relevance | path

Searched full:failures (Results 1 – 25 of 590) sorted by relevance

12345678910>>...24

/linux/drivers/scsi/
H A Dscsi_lib_test.c61 struct scsi_failures failures = { in scsi_lib_test_multiple_sense() local
72 KUNIT_EXPECT_EQ(test, 0, scsi_check_passthrough(&sc, &failures)); in scsi_lib_test_multiple_sense()
74 /* Command failed but caller did not pass in a failures array */ in scsi_lib_test_multiple_sense()
79 KUNIT_EXPECT_EQ(test, -EAGAIN, scsi_check_passthrough(&sc, &failures)); in scsi_lib_test_multiple_sense()
82 KUNIT_EXPECT_EQ(test, -EAGAIN, scsi_check_passthrough(&sc, &failures)); in scsi_lib_test_multiple_sense()
85 KUNIT_EXPECT_EQ(test, 0, scsi_check_passthrough(&sc, &failures)); in scsi_lib_test_multiple_sense()
88 KUNIT_EXPECT_EQ(test, -EAGAIN, scsi_check_passthrough(&sc, &failures)); in scsi_lib_test_multiple_sense()
91 KUNIT_EXPECT_EQ(test, 0, scsi_check_passthrough(&sc, &failures)); in scsi_lib_test_multiple_sense()
94 KUNIT_EXPECT_EQ(test, -EAGAIN, scsi_check_passthrough(&sc, &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 …]
/linux/drivers/android/tests/
H A Dbinder_alloc_kunit.c169 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
[all …]
/linux/lib/
H A 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/drivers/scsi/snic/
H A Dsnic_stats.h17 atomic64_t fail; /* IO Failures */
19 atomic64_t alloc_fail; /* Alloc Failures */
36 atomic64_t dev_reset_fail; /* Device Reset Failures */
42 atomic64_t hba_reset_fail; /* hba/firmware failures */
45 atomic64_t snic_reset_fail; /* snic reset failures */
/linux/kernel/module/
H A Dstats.c29 * loading failures to enable improvements either for kernel module auto-loading
31 * provided to track all possible failures in the finit_module() path and memory
57 * failures.
114 * failures:
120 * * invalid_kread_bytes: bytes allocated and then freed on failures which
131 * failures can happen if we had a check in between a successful kernel_read_file_from_fd()
144 * to begin to process prior requests. Although duplicate failures can be
151 * failures. These failures can occur because:
164 * freed due to failures after we did all the sanity checks of the module
185 * private space for our module using layout_and_allocate(). These failures
[all …]
/linux/Documentation/mm/
H A 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/drivers/scsi/device_handler/
H A 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/tools/testing/fault-injection/
H A Dfailcmd.sh5 # failcmd.sh - run a command with injecting slab/page allocation failures
12 # Run command with injecting slab/page allocation failures by fault
31 specifies how many times failures may happen at most.
59 inject slab allocation failures
61 inject page allocation failures
/linux/tools/testing/selftests/drivers/net/hw/
H A Dpp_alloc_fail.py5 Test driver resilience vs page pool allocation failures.
95 raise KsftSkipEx("Allocation failures not increasing")
104 # Basic failures are fine, try to wobble some settings to catch extra failures
/linux/tools/perf/
H A Dcheck-headers.sh106 declare -a FAILURES
119 FAILURES+=(
148 FAILURES+=(
158 FAILURES+=(
229 if [ ${#FAILURES[@]} -gt 0 ]
232 for i in "${FAILURES[@]}"
/linux/include/linux/
H A Dhte.h122 * non-zero for failures.
124 * non-zero for failures.
126 * non-zero for failures.
128 * non-zero for failures.
155 * physical ids, return 0 for the success and negative for the failures.
/linux/kernel/rcu/
H A DKconfig.debug73 bool "Log CPU for rcutorture failures"
81 overhead, overhead that can make both failures and close calls
88 bool "Log grace-period numbers for rcutorture failures"
96 that can make both failures and close calls less probable.
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_kunit_helpers.c29 * This function uses KUNIT_ASSERT to detect any allocation failures.
67 * This function uses KUNIT_ASSERT to detect any failures.
111 * This function uses KUNIT_ASSERT to detect any failures.
/linux/tools/testing/selftests/rcutorture/bin/
H A Dtorture.sh324 touch $T/failures
360 echo "$curflavor($retcode)" $resdir >> $T/failures
453 echo "allmodconfig($retcode)" $amcdir >> $T/failures
487 echo "rcutasksflavors($retcode)" $rtfdir >> $T/failures
564 echo "rcu-rust($retcode)" $rrdir >> $T/failures
581 echo "srcu_lockdep($retcode)" "tools/testing/selftests/rcutorture/res/$ds/results-srcu-lockdep" >> $T/failures
718 echo FAILURES: | tee -a $T/log
719 if test -s "$T/failures"
721 awk < "$T/failures" -v sq="'" '
729 nfailures="`wc -l "$T/failures" | aw
[all...]
/linux/drivers/md/
H A Ddm-raid1.c67 struct bio_list failures; member
645 if (!ms->failures.head) in write_callback()
647 bio_list_add(&ms->failures, bio); in write_callback()
771 bio_list_merge(&ms->failures, &sync); in do_writes()
784 bio_list_add(&ms->failures, bio); in do_writes()
794 static void do_failures(struct mirror_set *ms, struct bio_list *failures) in do_failures() argument
798 if (likely(!failures->head)) in do_failures()
812 * Some writes on the failures list may have been in do_failures()
818 while ((bio = bio_list_pop(failures))) { in do_failures()
863 struct bio_list reads, writes, failures; in do_mirror() local
[all …]
/linux/fs/xfs/
H A Dxfs_globals.c35 .bug_on_assert = true, /* assert failures BUG() */
37 .bug_on_assert = false, /* assert failures WARN() */
/linux/tools/testing/selftests/net/
H A 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/tools/testing/selftests/bpf/
H A 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:
H A Dtest_xsk.sh232 failures=0
238 failures=1
242 if [ $failures -eq 0 ]; then
/linux/tools/perf/tests/shell/lib/
H A Dperf_metric_validation.py307 failures = dict()
315 failures[m['Name']] = result
322 if name not in failures:
326 del failures[name]
328 failures[name] = [val]
333 if len(failures.keys()) != 0:
335 … rule['RangeLower'], rule['RangeUpper']) for name, val in failures.items()])
/linux/drivers/watchdog/
H A Dwdrtas.c65 * returns 0 on success, <0 on failures
177 * returns temperature or <0 on failures
351 * other failures
400 * returns always 1 or -EFAULT in case of user space copy failures, <0 on
401 * other failures
/linux/tools/testing/selftests/kselftest_harness/
H A Dharness-selftest.c124 * The harness uses abort() to signal assertion failures, which triggers coredumps. in main()
125 * This may be useful to debug real failures but not for this selftest, disable them. in main()
/linux/drivers/firmware/arm_scmi/
H A DKconfig66 or received, were there any failures, what kind of failures, ..etc.
/linux/drivers/scsi/fnic/
H A Dfnic_trace.c252 "Number of IO Failures: %lld\nNumber of IO NOT Found: %lld\n" in fnic_get_stats_data()
253 "Number of Memory alloc Failures: %lld\n" in fnic_get_stats_data()
303 "Number of Abort Failures: %lld\n" in fnic_get_stats_data()
341 "Number of Terminate Failures: %lld\n", in fnic_get_stats_data()
356 "Number of Device Reset Failures: %lld\n" in fnic_get_stats_data()
362 "Number of FW Reset Failures: %lld\n" in fnic_get_stats_data()
365 "Number of Fnic Reset Failures: %lld\n", in fnic_get_stats_data()
431 "Number of Copy WQ Alloc Failures for ABTs: %lld\n" in fnic_get_stats_data()
432 "Number of Copy WQ Alloc Failures for Device Reset: %lld\n" in fnic_get_stats_data()
433 "Number of Copy WQ Alloc Failures for IOs: %lld\n" in fnic_get_stats_data()
/linux/arch/x86/kernel/cpu/sgx/
H A Dvirt.c157 long failures = 0; in sgx_vepc_remove_all() local
164 failures++; in sgx_vepc_remove_all()
168 * WARN, as userspace can induce said failures by in sgx_vepc_remove_all()
185 return failures; in sgx_vepc_remove_all()

12345678910>>...24