Home
last modified time | relevance | path

Searched refs:fail (Results 1 – 25 of 1437) sorted by relevance

12345678910>>...58

/Linux-v5.15/tools/testing/selftests/exec/
Dexecveat.c155 int fail = 0; in check_execveat_pathmax() local
198 fail += check_execveat(fd, "", AT_EMPTY_PATH); in check_execveat_pathmax()
202 fail++; in check_execveat_pathmax()
216 fail += check_execveat_invoked_rc(root_dfd, longpath + 1, 0, in check_execveat_pathmax()
219 fail += check_execveat(root_dfd, longpath + 1, 0); in check_execveat_pathmax()
221 return fail; in check_execveat_pathmax()
226 int fail = 0; in run_tests() local
264 fail += check_execveat(subdir_dfd, "../execveat", 0); in run_tests()
265 fail += check_execveat(dot_dfd, "execveat", 0); in run_tests()
266 fail += check_execveat(dot_dfd_path, "execveat", 0); in run_tests()
[all …]
/Linux-v5.15/tools/testing/selftests/bpf/
Dtest_offload.py82 def fail(cond, msg): function
96 def cmd(cmd, shell=True, include_stderr=False, background=False, fail=True): argument
109 return cmd_result(proc, include_stderr=include_stderr, fail=fail)
111 def cmd_result(proc, include_stderr=False, fail=False): argument
128 if proc.returncode != 0 and fail:
143 def tool(name, args, flags, JSON=True, ns="", fail=True, include_stderr=False): argument
153 fail=fail, include_stderr=True)
156 fail=fail, include_stderr=False)
168 def bpftool(args, JSON=True, ns="", fail=True, include_stderr=False): argument
170 fail=fail, include_stderr=include_stderr)
[all …]
/Linux-v5.15/tools/testing/selftests/ftrace/test.d/preemptirq/
Dirqsoff_tracer.tc8 fail() {
36 modprobe $MOD test_mode=preempt delay=500000 || fail
37 rmmod $MOD || fail
38 modprobe $MOD test_mode=preempt delay=500000 || fail
39 rmmod $MOD || fail
40 modprobe $MOD test_mode=preempt delay=500000 || fail
41 rmmod $MOD || fail
46 grep -q "tracer: preemptoff" trace || fail
49 egrep -q "5.....us : <stack trace>" trace || fail
52 egrep -q "latency: 5..... us" trace || fail
[all …]
/Linux-v5.15/drivers/media/dvb-frontends/
Dlg2160.c133 goto fail; in lg216x_set_reg_bit()
140 fail: in lg216x_set_reg_bit()
171 goto fail; in lg216x_soft_reset()
176 goto fail; in lg216x_soft_reset()
179 fail: in lg216x_soft_reset()
226 goto fail; in lg216x_initialize()
230 fail: in lg216x_initialize()
245 goto fail; in lg216x_set_if()
254 fail: in lg216x_set_if()
268 goto fail; in lg2160_agc_fix()
[all …]
Dlgdt3306a.c192 goto fail; in lgdt3306a_set_reg_bit()
199 fail: in lgdt3306a_set_reg_bit()
213 goto fail; in lgdt3306a_soft_reset()
219 fail: in lgdt3306a_soft_reset()
234 goto fail; in lgdt3306a_mpeg_mode()
242 goto fail; in lgdt3306a_mpeg_mode()
246 goto fail; in lgdt3306a_mpeg_mode()
256 fail: in lgdt3306a_mpeg_mode()
271 goto fail; in lgdt3306a_mpeg_mode_polarity()
283 fail: in lgdt3306a_mpeg_mode_polarity()
[all …]
Dlgdt3305.c170 goto fail; in lgdt3305_set_reg_bit()
176 fail: in lgdt3305_set_reg_bit()
210 goto fail; in lgdt3305_soft_reset()
214 fail: in lgdt3305_soft_reset()
237 goto fail; in lgdt3305_mpeg_mode_polarity()
250 goto fail; in lgdt3305_mpeg_mode_polarity()
253 fail: in lgdt3305_mpeg_mode_polarity()
267 goto fail; in lgdt3305_set_modulation()
285 fail: in lgdt3305_set_modulation()
662 goto fail; in lgdt3305_init()
[all …]
/Linux-v5.15/tools/testing/selftests/ftrace/test.d/ftrace/
Dfunc_traceonoff_triggers.tc16 fail() { # mesg
35 fail "Found junk in trace"
48 fail "Nothing found in trace"
77 fail "Did not find traceoff trigger"
85 fail "Tracing is not stopped"
90 fail "Tracing is not off"
98 fail "Tracing file is still changing"
105 fail "Tracing is still happeing"
112 fail "traceoff trigger still exists"
117 fail "Tracing is started again"
[all …]
Dfunc_set_ftrace_file.tc15 fail() { # mesg
68 fail "Expected only $ALL_FUNCS"
73 fail "Expected $ALL_FUNCS and $FUNC1:traceoff:unlimited"
78 fail "Expected $FUNC1 and $FUNC1:traceoff:unlimited"
83 fail "Expected $FUNC1 $FUNC2 and $FUNC1:traceoff:unlimited"
88 fail "Expected $FUNC1 $FUNC2 $FUNC1:traceoff:unlimited and $FUNC2:traceoff:unlimited"
93 fail "Expected $FUNC1 $FUNC1:traceoff:unlimited and $FUNC2:traceoff:unlimited"
98 fail "Expected $ALL_FUNCS $FUNC1:traceoff:unlimited and $FUNC2:traceoff:unlimited"
104 fail "Expected $ALL_FUNCS"
109 fail "Expected $FUNC1"
[all …]
/Linux-v5.15/security/apparmor/
Dpolicy_unpack.c228 goto fail; in unpack_u16_chunk()
232 goto fail; in unpack_u16_chunk()
237 fail: in unpack_u16_chunk()
284 goto fail; in unpack_nameX()
287 goto fail; in unpack_nameX()
294 fail: in unpack_nameX()
305 goto fail; in unpack_u8()
312 fail: in unpack_u8()
323 goto fail; in unpack_u32()
330 fail: in unpack_u32()
[all …]
Dcrypto.c39 goto fail; in aa_calc_hash()
45 goto fail; in aa_calc_hash()
48 goto fail; in aa_calc_hash()
51 goto fail; in aa_calc_hash()
55 fail: in aa_calc_hash()
76 goto fail; in aa_calc_profile_hash()
82 goto fail; in aa_calc_profile_hash()
85 goto fail; in aa_calc_profile_hash()
88 goto fail; in aa_calc_profile_hash()
91 goto fail; in aa_calc_profile_hash()
[all …]
/Linux-v5.15/drivers/media/usb/dvb-usb-v2/
Dmxl111sf-demod.c68 goto fail; in mxl1x1sf_demod_get_tps_code_rate()
87 fail: in mxl1x1sf_demod_get_tps_code_rate()
99 goto fail; in mxl1x1sf_demod_get_tps_modulation()
112 fail: in mxl1x1sf_demod_get_tps_modulation()
124 goto fail; in mxl1x1sf_demod_get_tps_guard_fft_mode()
137 fail: in mxl1x1sf_demod_get_tps_guard_fft_mode()
149 goto fail; in mxl1x1sf_demod_get_tps_guard_interval()
165 fail: in mxl1x1sf_demod_get_tps_guard_interval()
177 goto fail; in mxl1x1sf_demod_get_tps_hierarchy()
193 fail: in mxl1x1sf_demod_get_tps_hierarchy()
[all …]
Dmxl111sf-gpio.c32 goto fail; in mxl111sf_set_gpo_state()
37 goto fail; in mxl111sf_set_gpo_state()
43 goto fail; in mxl111sf_set_gpo_state()
48 goto fail; in mxl111sf_set_gpo_state()
51 fail: in mxl111sf_set_gpo_state()
71 goto fail; in mxl111sf_get_gpi_state()
80 goto fail; in mxl111sf_get_gpi_state()
88 goto fail; in mxl111sf_get_gpi_state()
94 fail: in mxl111sf_get_gpi_state()
119 goto fail; in mxl111sf_config_gpio_pins()
[all …]
Dmxl111sf-i2c.c32 goto fail; in mxl111sf_i2c_bitbang_sendbyte()
41 goto fail; in mxl111sf_i2c_bitbang_sendbyte()
46 goto fail; in mxl111sf_i2c_bitbang_sendbyte()
51 goto fail; in mxl111sf_i2c_bitbang_sendbyte()
59 goto fail; in mxl111sf_i2c_bitbang_sendbyte()
66 goto fail; in mxl111sf_i2c_bitbang_sendbyte()
70 goto fail; in mxl111sf_i2c_bitbang_sendbyte()
76 goto fail; in mxl111sf_i2c_bitbang_sendbyte()
80 fail: in mxl111sf_i2c_bitbang_sendbyte()
98 goto fail; in mxl111sf_i2c_bitbang_recvbyte()
[all …]
Dmxl111sf-phy.c49 goto fail; in mxl1x1sf_soft_reset()
52 fail: in mxl1x1sf_soft_reset()
67 goto fail; in mxl1x1sf_set_device_mode()
76 goto fail; in mxl1x1sf_set_device_mode()
79 fail: in mxl1x1sf_set_device_mode()
211 goto fail; in mxl111sf_init_i2s_port()
215 fail: in mxl111sf_init_i2s_port()
241 goto fail; in mxl111sf_config_i2s()
247 goto fail; in mxl111sf_config_i2s()
251 goto fail; in mxl111sf_config_i2s()
[all …]
Dmxl111sf-tuner.c142 goto fail; in mxl1x1sf_tuner_set_if_output_freq()
165 goto fail; in mxl1x1sf_tuner_set_if_output_freq()
172 goto fail; in mxl1x1sf_tuner_set_if_output_freq()
179 goto fail; in mxl1x1sf_tuner_set_if_output_freq()
182 fail: in mxl1x1sf_tuner_set_if_output_freq()
198 goto fail; in mxl1x1sf_tune_rf()
203 goto fail; in mxl1x1sf_tune_rf()
212 goto fail; in mxl1x1sf_tune_rf()
223 goto fail; in mxl1x1sf_tune_rf()
227 fail: in mxl1x1sf_tune_rf()
[all …]
/Linux-v5.15/lib/
Dtest_string.c24 goto fail; in memset16_selftest()
27 goto fail; in memset16_selftest()
30 goto fail; in memset16_selftest()
36 fail: in memset16_selftest()
60 goto fail; in memset32_selftest()
63 goto fail; in memset32_selftest()
66 goto fail; in memset32_selftest()
72 fail: in memset32_selftest()
96 goto fail; in memset64_selftest()
99 goto fail; in memset64_selftest()
[all …]
Dtest_meminit.c170 bool fail = false; in check_buf() local
178 fail = 1; in check_buf()
181 fail = !want_rcu; in check_buf()
183 return fail; in check_buf()
201 bool fail = false; in do_kmem_cache_size() local
215 fail = true; in do_kmem_cache_size()
219 fail |= check_buf(bulk_array[i], size, want_ctor, want_rcu, want_zero); in do_kmem_cache_size()
226 fail |= check_buf(buf, size, want_ctor, want_rcu, want_zero); in do_kmem_cache_size()
253 fail |= check_buf(buf, size, want_ctor, want_rcu, in do_kmem_cache_size()
256 fail |= (bool)memcmp(buf, buf_copy, size); in do_kmem_cache_size()
[all …]
/Linux-v5.15/tools/testing/selftests/vm/
Dkhugepaged.c115 static void fail(const char *msg) in fail() function
518 fail("Fail"); in alloc_at_fault()
527 fail("Fail"); in alloc_at_fault()
538 fail("Timeout"); in collapse_full()
542 fail("Fail"); in collapse_full()
553 fail("Timeout"); in collapse_empty()
555 fail("Fail"); in collapse_empty()
568 fail("Timeout"); in collapse_single_pte_entry()
572 fail("Fail"); in collapse_single_pte_entry()
590 fail("Timeout"); in collapse_max_ptes_none()
[all …]
/Linux-v5.15/tools/testing/selftests/proc/
Dproc-self-map-files-001.c36 static void fail(const char *fmt, unsigned long a, unsigned long b) in fail() function
66 fail("/proc/self/map_files/ %lx-%lx", a, b); in main()
67 fail("/proc/self/map_files/%lx -%lx", a, b); in main()
68 fail("/proc/self/map_files/%lx- %lx", a, b); in main()
69 fail("/proc/self/map_files/%lx-%lx ", a, b); in main()
70 fail("/proc/self/map_files/0%lx-%lx", a, b); in main()
71 fail("/proc/self/map_files/%lx-0%lx", a, b); in main()
73 fail("/proc/self/map_files/100000000%lx-%lx", a, b); in main()
74 fail("/proc/self/map_files/%lx-100000000%lx", a, b); in main()
76 fail("/proc/self/map_files/10000000000000000%lx-%lx", a, b); in main()
[all …]
Dproc-self-map-files-002.c36 static void fail(const char *fmt, unsigned long a, unsigned long b) in fail() function
78 fail("/proc/self/map_files/ %lx-%lx", a, b); in main()
79 fail("/proc/self/map_files/%lx -%lx", a, b); in main()
80 fail("/proc/self/map_files/%lx- %lx", a, b); in main()
81 fail("/proc/self/map_files/%lx-%lx ", a, b); in main()
82 fail("/proc/self/map_files/0%lx-%lx", a, b); in main()
83 fail("/proc/self/map_files/%lx-0%lx", a, b); in main()
85 fail("/proc/self/map_files/100000000%lx-%lx", a, b); in main()
86 fail("/proc/self/map_files/%lx-100000000%lx", a, b); in main()
88 fail("/proc/self/map_files/10000000000000000%lx-%lx", a, b); in main()
[all …]
/Linux-v5.15/arch/arm/vdso/
Dvdsomunge.c83 static void fail(const char *fmt, ...) in fail() function
133 fail("Usage: %s [infile] [outfile]\n", argv[0]); in main()
140 fail("Cannot open %s: %s\n", infile, strerror(errno)); in main()
143 fail("Failed stat for %s: %s\n", infile, strerror(errno)); in main()
147 fail("Failed to map %s: %s\n", infile, strerror(errno)); in main()
154 fail("Not an ELF file\n"); in main()
157 fail("Unsupported ELF class\n"); in main()
162 fail("Not a shared object\n"); in main()
165 fail("Unsupported architecture %#x\n", inhdr->e_machine); in main()
170 fail("Unsupported EABI version %#x\n", in main()
[all …]
/Linux-v5.15/tools/testing/selftests/gpio/
Dgpio-mockup.sh70 fail() function
79 modprobe -q $module "$1" || fail "insert $module failed with error $?"
167 [ "$val" = "$1" ] || fail "line value is ${val:-empty} when $1 was expected"
181 [ $retry -lt 5 ] || fail "mockup $mock_line value ${val:-empty} when $1 expected"
208 [ -e "$mock_line" ] || fail "missing line $chip:$offset"
271 [ ! -e "$GPIO_DEBUGFS/$1/$2" ] || fail "unexpected line $1:$2"
292 [ "${1:-}" ] || fail "missing ranges"
300 [ "${1:-}" ] || fail "unexpected chip - $gc"
309 [ "${1:-}" ] && fail "missing expected chip of width $1"
310 remove_module || fail "failed to remove module with error $?"
[all …]
/Linux-v5.15/net/6lowpan/
Dnhc_udp.c41 bool fail; in udp_uncompress() local
44 fail = lowpan_fetch_skb(skb, &tmp, sizeof(tmp)); in udp_uncompress()
49 fail |= lowpan_fetch_skb(skb, &uh.source, sizeof(uh.source)); in udp_uncompress()
50 fail |= lowpan_fetch_skb(skb, &uh.dest, sizeof(uh.dest)); in udp_uncompress()
53 fail |= lowpan_fetch_skb(skb, &uh.source, sizeof(uh.source)); in udp_uncompress()
54 fail |= lowpan_fetch_skb(skb, &val, sizeof(val)); in udp_uncompress()
58 fail |= lowpan_fetch_skb(skb, &val, sizeof(val)); in udp_uncompress()
60 fail |= lowpan_fetch_skb(skb, &uh.dest, sizeof(uh.dest)); in udp_uncompress()
63 fail |= lowpan_fetch_skb(skb, &val, sizeof(val)); in udp_uncompress()
77 fail = true; in udp_uncompress()
[all …]
/Linux-v5.15/tools/testing/selftests/ftrace/test.d/trigger/
Dtrigger-hist.tc7 fail() { #msg
17 fail "hist trigger on sched_process_fork did not work"
19 fail "hist trigger on sched_process_fork did not work"
28 fail "compound keys on sched_process_fork did not work"
38 fail "string key on sched_process_fork did not work"
47 fail "sym modifier on kmalloc call_site did not work"
56 fail "sym-offset modifier on kmalloc call_site did not work"
74 fail "sort param on sched_process_fork did not work"
/Linux-v5.15/fs/dlm/
Drecoverd.c78 goto fail; in ls_recover()
92 goto fail; in ls_recover()
105 goto fail; in ls_recover()
113 goto fail; in ls_recover()
130 goto fail; in ls_recover()
148 goto fail; in ls_recover()
158 goto fail; in ls_recover()
166 goto fail; in ls_recover()
190 goto fail; in ls_recover()
209 goto fail; in ls_recover()
[all …]

12345678910>>...58