Home
last modified time | relevance | path

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

12345678910>>...29

/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, -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 …]
/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/tools/testing/selftests/kvm/x86_64/
H A 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/Documentation/fault-injection/
H A 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/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/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/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/perf/
H A Dcheck-headers.sh105 declare -a FAILURES
118 FAILURES+=(
147 FAILURES+=(
157 FAILURES+=(
220 if [ ${#FAILURES[@]} -gt 0 ]
223 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/tools/testing/selftests/rcutorture/bin/
H A 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/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/drivers/net/hw/
H A 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/drivers/md/
H A 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/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:
/linux/tools/perf/tests/shell/lib/
H A 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/Documentation/core-api/
H A 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/drivers/gpu/drm/ci/xfails/
H A Dupdate-xfails.py25 if "Artifact results/failures.csv not found" in unit_test or '' == unit_test:
114 .get_artifact("results/failures.csv")
198 …gument("pipeline_urls", nargs="+", type=str, help="URLs to the pipelines to analyze the failures.")
/linux/drivers/scsi/fnic/
H A Dfnic_trace.c240 "Number of IO Failures: %lld\nNumber of IO NOT Found: %lld\n" in fnic_get_stats_data()
241 "Number of Memory alloc Failures: %lld\n" in fnic_get_stats_data()
291 "Number of Abort Failures: %lld\n" in fnic_get_stats_data()
329 "Number of Terminate Failures: %lld\n", in fnic_get_stats_data()
344 "Number of Device Reset Failures: %lld\n" in fnic_get_stats_data()
350 "Number of FW Reset Failures: %lld\n" in fnic_get_stats_data()
353 "Number of Fnic Reset Failures: %lld\n", in fnic_get_stats_data()
419 "Number of Copy WQ Alloc Failures for ABTs: %lld\n" in fnic_get_stats_data()
420 "Number of Copy WQ Alloc Failures for Device Reset: %lld\n" in fnic_get_stats_data()
421 "Number of Copy WQ Alloc Failures for IOs: %lld\n" in fnic_get_stats_data()
/linux/fs/xfs/
H A Dxfs_globals.c39 .bug_on_assert = true, /* assert failures BUG() */
41 .bug_on_assert = false, /* assert failures WARN() */
/linux/drivers/net/phy/
H A 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/tools/testing/selftests/mm/
H A Dmigration.c68 int failures = 0; in migrate() local
85 if (++failures < MAX_RETRIES) in migrate()
93 failures = 0; in migrate()
/linux/drivers/firmware/arm_scmi/
H A DKconfig66 or received, were there any failures, what kind of failures, ..etc.

12345678910>>...29