Home
last modified time | relevance | path

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

12345678910>>...31

/linux-6.14.4/drivers/scsi/
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-6.14.4/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.14.4/tools/testing/selftests/kvm/x86/
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.14.4/drivers/scsi/snic/
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-6.14.4/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.
111 specifies the interval between failures, for calls to
119 specifies how many times failures may happen at most. A value of -1
142 Any positive value limits failures to only processes indicated by
167 default is 'Y', setting it to 'N' will also inject failures into
173 default is 'N', setting it to 'Y' will only inject failures when
183 default is 'Y', setting it to 'N' will also inject failures
[all …]
/linux-6.14.4/kernel/module/
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-6.14.4/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.14.4/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.14.4/tools/testing/fault-injection/
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-6.14.4/include/linux/
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-6.14.4/tools/perf/
Dcheck-headers.sh106 declare -a FAILURES
119 FAILURES+=(
148 FAILURES+=(
158 FAILURES+=(
229 if [ ${#FAILURES[@]} -gt 0 ]
232 for i in "${FAILURES[@]}"
/linux-6.14.4/tools/testing/selftests/rcutorture/bin/
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
608 echo FAILURES: | tee -a $T/log
609 if test -s "$T/failures"
611 …awk < "$T/failures" -v sq="'" '{ print "echo " sq $0 sq; print "sed -e " sq "1,/^ --- .* Test summ…
612 nfailures="`wc -l "$T/failures" | awk '{ print $1 }'`"
626 echo Summary: Successes: $nsuccesses Failures: $nfailures. | tee -a $T/log
[all …]
/linux-6.14.4/drivers/gpu/drm/xe/tests/
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-6.14.4/tools/testing/selftests/drivers/net/hw/
Dpp_alloc_fail.py86 raise KsftSkipEx("Allocation failures not increasing")
91 # Basic failures are fine, try to wobble some settings to catch extra failures
/linux-6.14.4/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()
813 * Some writes on the failures list may have been in do_failures()
819 while ((bio = bio_list_pop(failures))) { in do_failures()
864 struct bio_list reads, writes, failures; in do_mirror() local
[all …]
/linux-6.14.4/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.14.4/Documentation/core-api/
Ddma-attributes.rst113 On some architectures allocation failures are reported with error messages
115 drivers which handle failures (eg, retry later) have no problems with them,
120 where allocation failures are not a problem, and shouldn't bother the logs.
/linux-6.14.4/fs/xfs/
Dxfs_globals.c39 .bug_on_assert = true, /* assert failures BUG() */
41 .bug_on_assert = false, /* assert failures WARN() */
/linux-6.14.4/tools/testing/selftests/bpf/
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.14.4/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.14.4/drivers/firmware/arm_scmi/
DKconfig66 or received, were there any failures, what kind of failures, ..etc.
/linux-6.14.4/drivers/net/phy/
Dmeson-gxl.c135 /* This function is provided to cope with the possible failures of this phy
138 * - Early failures: MII_LPA is just 0x0001. if MII_EXPANSION reports that
141 * - Late failures: MII_LPA is filled with a value which seems to make sense
/linux-6.14.4/drivers/watchdog/
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-6.14.4/drivers/scsi/fnic/
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-6.14.4/arch/x86/kernel/cpu/sgx/
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>>...31