Home
last modified time | relevance | path

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

12345678910>>...58

/Linux-v5.4/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 …]
Dwith_addr.sh16 fail() { function
22 ip -6 addr add "${V6_INNER}" dev lo || fail 'failed to setup v6 address'
23 ip -4 addr add "${V4_INNER}" dev lo || fail 'failed to setup v4 address'
27 || fail 'failed to add sit'
29 || fail 'failed to bring sit device up'
31 || fail 'failed to setup v6 SIT address'
33 || fail 'failed to setup v4 SIT address'
/Linux-v5.4/tools/testing/selftests/exec/
Dexecveat.c153 int fail = 0; in check_execveat_pathmax() local
196 fail += check_execveat(fd, "", AT_EMPTY_PATH); in check_execveat_pathmax()
200 fail++; in check_execveat_pathmax()
214 fail += check_execveat_invoked_rc(root_dfd, longpath + 1, 0, in check_execveat_pathmax()
217 fail += check_execveat(root_dfd, longpath + 1, 0); in check_execveat_pathmax()
219 return fail; in check_execveat_pathmax()
224 int fail = 0; in run_tests() local
262 fail += check_execveat(subdir_dfd, "../execveat", 0); in run_tests()
263 fail += check_execveat(dot_dfd, "execveat", 0); in run_tests()
264 fail += check_execveat(dot_dfd_path, "execveat", 0); in run_tests()
[all …]
/Linux-v5.4/tools/testing/selftests/ftrace/test.d/preemptirq/
Dirqsoff_tracer.tc7 fail() {
31 modprobe $MOD test_mode=preempt delay=500000 || fail
32 rmmod $MOD || fail
33 modprobe $MOD test_mode=preempt delay=500000 || fail
34 rmmod $MOD || fail
35 modprobe $MOD test_mode=preempt delay=500000 || fail
36 rmmod $MOD || fail
41 grep -q "tracer: preemptoff" trace || fail
44 egrep -q "5.....us : <stack trace>" trace || fail
47 egrep -q "latency: 5..... us" trace || fail
[all …]
/Linux-v5.4/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.4/security/apparmor/
Dpolicy_unpack.c225 goto fail; in unpack_u16_chunk()
229 goto fail; in unpack_u16_chunk()
234 fail: in unpack_u16_chunk()
281 goto fail; in unpack_nameX()
284 goto fail; in unpack_nameX()
291 fail: in unpack_nameX()
302 goto fail; in unpack_u8()
309 fail: in unpack_u8()
320 goto fail; in unpack_u32()
327 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.4/tools/testing/selftests/ftrace/test.d/ftrace/
Dfunc_traceonoff_triggers.tc19 fail() { # mesg
38 fail "Found junk in trace"
51 fail "Nothing found in trace"
80 fail "Did not find traceoff trigger"
88 fail "Tracing is not stopped"
93 fail "Tracing is not off"
101 fail "Tracing file is still changing"
108 fail "Tracing is still happeing"
115 fail "traceoff trigger still exists"
120 fail "Tracing is started again"
[all …]
Dfunc_set_ftrace_file.tc18 fail() { # mesg
71 fail "Expected only $ALL_FUNCS"
76 fail "Expected $ALL_FUNCS and $FUNC1:traceoff:unlimited"
81 fail "Expected $FUNC1 and $FUNC1:traceoff:unlimited"
86 fail "Expected $FUNC1 $FUNC2 and $FUNC1:traceoff:unlimited"
91 fail "Expected $FUNC1 $FUNC2 $FUNC1:traceoff:unlimited and $FUNC2:traceoff:unlimited"
96 fail "Expected $FUNC1 $FUNC1:traceoff:unlimited and $FUNC2:traceoff:unlimited"
101 fail "Expected $ALL_FUNCS $FUNC1:traceoff:unlimited and $FUNC2:traceoff:unlimited"
107 fail "Expected $ALL_FUNCS"
112 fail "Expected $FUNC1"
[all …]
/Linux-v5.4/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.4/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-v5.4/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
74 fail("/proc/self/map_files/ %lx-%lx", a, b); in main()
75 fail("/proc/self/map_files/%lx -%lx", a, b); in main()
76 fail("/proc/self/map_files/%lx- %lx", a, b); in main()
77 fail("/proc/self/map_files/%lx-%lx ", a, b); in main()
78 fail("/proc/self/map_files/0%lx-%lx", a, b); in main()
79 fail("/proc/self/map_files/%lx-0%lx", a, b); in main()
81 fail("/proc/self/map_files/100000000%lx-%lx", a, b); in main()
82 fail("/proc/self/map_files/%lx-100000000%lx", a, b); in main()
84 fail("/proc/self/map_files/10000000000000000%lx-%lx", a, b); in main()
[all …]
/Linux-v5.4/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.4/arch/powerpc/oprofile/cell/
Dvma_map.c129 goto fail; in create_vma_map()
135 goto fail; in create_vma_map()
141 goto fail; in create_vma_map()
147 goto fail; in create_vma_map()
155 goto fail; in create_vma_map()
165 goto fail; in create_vma_map()
172 goto fail; in create_vma_map()
182 goto fail; in create_vma_map()
185 goto fail; in create_vma_map()
192 goto fail; in create_vma_map()
[all …]
/Linux-v5.4/arch/x86/entry/vdso/
Dvdso2c.h27 fail("input is not a shared object\n"); in BITSFUNC()
33 fail("multiple PT_LOAD segs\n"); in BITSFUNC()
37 fail("PT_LOAD in wrong place\n"); in BITSFUNC()
40 fail("cannot handle memsz != filesz\n"); in BITSFUNC()
51 fail("no PT_LOAD seg\n"); in BITSFUNC()
54 fail("stripped input is too short\n"); in BITSFUNC()
57 fail("input has no PT_DYNAMIC section -- your toolchain is buggy\n"); in BITSFUNC()
65 fail("vdso image contains dynamic relocations\n"); in BITSFUNC()
84 fail("no symbol table\n"); in BITSFUNC()
103 fail("duplicate symbol %s\n", in BITSFUNC()
[all …]
/Linux-v5.4/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.4/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()
129 goto fail; in ls_recover()
146 goto fail; in ls_recover()
156 goto fail; in ls_recover()
164 goto fail; in ls_recover()
188 goto fail; in ls_recover()
207 goto fail; in ls_recover()
[all …]
/Linux-v5.4/drivers/staging/wilc1000/
Dwilc_sdio.c276 goto fail; in wilc_sdio_set_func0_csa_address()
284 goto fail; in wilc_sdio_set_func0_csa_address()
292 goto fail; in wilc_sdio_set_func0_csa_address()
296 fail: in wilc_sdio_set_func0_csa_address()
314 goto fail; in wilc_sdio_set_func0_block_size()
322 goto fail; in wilc_sdio_set_func0_block_size()
326 fail: in wilc_sdio_set_func0_block_size()
350 goto fail; in wilc_sdio_set_func1_block_size()
357 goto fail; in wilc_sdio_set_func1_block_size()
361 fail: in wilc_sdio_set_func1_block_size()
[all …]

12345678910>>...58