Home
last modified time | relevance | path

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

12345678910>>...60

/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/tools/testing/selftests/gpio/
Dgpio-sim.sh9 fail() { function
35 fail "Unable to remove the hog"
39 fail "Unable to remove the line"
46 rmdir $CONFIGFS_DIR/$CHIP || fail "Unable to remove the chip"
73 echo $LABEL > $CONFIGFS_DIR/$CHIP/$BANK/label || fail "Unable to set the chip label"
82 fail "Unable to set the number of lines"
93 echo $NAME > $LINE_DIR/name || fail "Unable to set the line name"
99 echo 1 > $CONFIGFS_DIR/$CHIP/live || fail "Unable to enable the chip"
105 echo 0 > $CONFIGFS_DIR/$CHIP/live || fail "Unable to disable the chip"
113 fail "unable to read the chip name from configfs"
[all …]
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-6.1.9/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-6.1.9/security/apparmor/
Dpolicy_unpack.c229 goto fail; in unpack_u16_chunk()
233 goto fail; in unpack_u16_chunk()
238 fail: in unpack_u16_chunk()
285 goto fail; in unpack_nameX()
288 goto fail; in unpack_nameX()
295 fail: in unpack_nameX()
306 goto fail; in unpack_u8()
313 fail: in unpack_u8()
324 goto fail; in unpack_u32()
331 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-6.1.9/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-6.1.9/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 …]
/linux-6.1.9/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-6.1.9/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-6.1.9/net/6lowpan/
Dnhc_udp.c40 bool fail; in udp_uncompress() local
43 fail = lowpan_fetch_skb(skb, &tmp, sizeof(tmp)); in udp_uncompress()
48 fail |= lowpan_fetch_skb(skb, &uh.source, sizeof(uh.source)); in udp_uncompress()
49 fail |= lowpan_fetch_skb(skb, &uh.dest, sizeof(uh.dest)); in udp_uncompress()
52 fail |= lowpan_fetch_skb(skb, &uh.source, sizeof(uh.source)); in udp_uncompress()
53 fail |= lowpan_fetch_skb(skb, &val, sizeof(val)); in udp_uncompress()
57 fail |= lowpan_fetch_skb(skb, &val, sizeof(val)); in udp_uncompress()
59 fail |= lowpan_fetch_skb(skb, &uh.dest, sizeof(uh.dest)); in udp_uncompress()
62 fail |= lowpan_fetch_skb(skb, &val, sizeof(val)); in udp_uncompress()
76 fail = true; in udp_uncompress()
[all …]
/linux-6.1.9/fs/dlm/
Drecoverd.c82 goto fail; in ls_recover()
96 goto fail; in ls_recover()
109 goto fail; in ls_recover()
117 goto fail; in ls_recover()
133 goto fail; in ls_recover()
151 goto fail; in ls_recover()
161 goto fail; in ls_recover()
169 goto fail; in ls_recover()
193 goto fail; in ls_recover()
212 goto fail; in ls_recover()
[all …]
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/sfc/
Def100_netdev.c120 goto fail; in ef100_net_open()
124 goto fail; in ef100_net_open()
128 goto fail; in ef100_net_open()
132 goto fail; in ef100_net_open()
136 goto fail; in ef100_net_open()
144 goto fail; in ef100_net_open()
150 goto fail; in ef100_net_open()
154 goto fail; in ef100_net_open()
159 goto fail; in ef100_net_open()
168 goto fail; in ef100_net_open()
[all …]

12345678910>>...60