Home
last modified time | relevance | path

Searched full:fail (Results 1 – 25 of 3474) sorted by relevance

12345678910>>...139

/Linux-v5.4/tools/testing/selftests/bpf/
Dtest_offload.py82 def fail(cond, msg): function
85 print("FAIL: " + msg)
88 log("FAIL: " + msg, tb, level=1)
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)
[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'
36 sleep 2 # avoid race causing bind to fail
/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/tools/testing/selftests/exec/
Dexecveat.c52 printf("[FAIL] (unexpected success from execveat(2))\n"); in _check_execveat_fail()
56 printf("[FAIL] (expected errno %d (%s) not %d (%s)\n", in _check_execveat_fail()
81 printf("[FAIL] (fork() failed)\n"); in check_execveat_invoked_rc()
87 printf("[FAIL]: execveat() failed, rc=%d errno=%d (%s)\n", in check_execveat_invoked_rc()
94 printf("[FAIL] (waitpid(%d,...) returned %d)\n", child, rc); in check_execveat_invoked_rc()
98 printf("[FAIL] (child %d did not exit cleanly, status=%08x)\n", in check_execveat_invoked_rc()
104 printf("[FAIL] (child %d exited with %d not %d nor %d)\n", in check_execveat_invoked_rc()
153 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()
[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 …]
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()
283 /* if a name is specified and there is no name tag 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()
[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 …]
/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 …]
Dtest_siphash.c125 pr_info("siphash self-test aligned %u: FAIL\n", i + 1); in siphash_test_init()
130 pr_info("siphash self-test unaligned %u: FAIL\n", i + 1); in siphash_test_init()
135 pr_info("hsiphash self-test aligned %u: FAIL\n", i + 1); in siphash_test_init()
140 pr_info("hsiphash self-test unaligned %u: FAIL\n", i + 1); in siphash_test_init()
146 pr_info("siphash self-test 1u64: FAIL\n"); in siphash_test_init()
151 pr_info("siphash self-test 2u64: FAIL\n"); in siphash_test_init()
157 pr_info("siphash self-test 3u64: FAIL\n"); in siphash_test_init()
163 pr_info("siphash self-test 4u64: FAIL\n"); in siphash_test_init()
168 pr_info("siphash self-test 1u32: FAIL\n"); in siphash_test_init()
173 pr_info("siphash self-test 2u32: FAIL\n"); in siphash_test_init()
[all …]
/Linux-v5.4/drivers/staging/wilc1000/
Dwilc_sdio.c192 dev_err(&func->dev, "Fail cmd 52, reset cmd ...\n"); in wilc_sdio_reset()
217 dev_err(&func->dev, "Fail reset sdio\n"); in wilc_sdio_suspend()
276 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()
[all …]
Dwilc_netdev.c206 goto fail; in wilc_wlan_get_firmware()
210 fail: in wilc_wlan_get_firmware()
272 goto fail; in wilc_init_fw_config()
276 goto fail; in wilc_init_fw_config()
280 goto fail; in wilc_init_fw_config()
284 goto fail; in wilc_init_fw_config()
288 goto fail; in wilc_init_fw_config()
292 goto fail; in wilc_init_fw_config()
296 goto fail; in wilc_init_fw_config()
300 goto fail; in wilc_init_fw_config()
[all …]
/Linux-v5.4/sound/soc/mediatek/mt8183/
Dmt8183-afe-clk.c105 dev_err(afe->dev, "%s(), devm_clk_get %s fail, ret %ld\n", in mt8183_init_clock()
122 dev_err(afe->dev, "%s(), clk_prepare_enable %s fail %d\n", in mt8183_afe_enable_clock()
129 dev_err(afe->dev, "%s(), clk_prepare_enable %s fail %d\n", in mt8183_afe_enable_clock()
137 dev_err(afe->dev, "%s(), clk_set_parent %s-%s fail %d\n", in mt8183_afe_enable_clock()
145 dev_err(afe->dev, "%s(), clk_prepare_enable %s fail %d\n", in mt8183_afe_enable_clock()
153 dev_err(afe->dev, "%s(), clk_set_parent %s-%s fail %d\n", in mt8183_afe_enable_clock()
161 dev_err(afe->dev, "%s clk_prepare_enable %s fail %d\n", in mt8183_afe_enable_clock()
168 dev_err(afe->dev, "%s clk_prepare_enable %s fail %d\n", in mt8183_afe_enable_clock()
175 dev_err(afe->dev, "%s clk_prepare_enable %s fail %d\n", in mt8183_afe_enable_clock()
182 dev_err(afe->dev, "%s clk_prepare_enable %s fail %d\n", in mt8183_afe_enable_clock()
[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/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/tools/testing/selftests/powerpc/signal/
Dsignal_tm.c26 static sig_atomic_t fail; variable
31 fail = 2; in signal_handler()
38 fail = 1; in signal_handler()
62 * If anything bad happens in ASM and we fail to set ret in test_signal_tm()
87 fprintf(stderr, "(%d) Fail reason: %d rc=0x%lx ret=0x%lx\n", in test_signal_tm()
88 i, fail, rc, ret); in test_signal_tm()
91 while(!signaled && !fail) in test_signal_tm()
94 fprintf(stderr, "(%d) Fail reason: %d rc=0x%lx ret=0x%lx\n", in test_signal_tm()
95 i, fail, rc, ret); in test_signal_tm()
96 FAIL_IF(fail); /* For the line number */ in test_signal_tm()
Dsignal.c26 static sig_atomic_t fail; variable
33 fail = 1; in signal_handler()
68 while (!signaled && !fail) in test_signal()
74 /* Otherwise we'll loop too fast and fork() will eventually fail */ in test_signal()
87 fprintf(stderr, "(%d) Fail reason: %d rc=0x%lx", in test_signal()
88 i, fail, rc); in test_signal()
91 while (!signaled && !fail) in test_signal()
94 fprintf(stderr, "(%d) Fail reason: %d rc=0x%lx", in test_signal()
95 i, fail, rc); in test_signal()
/Linux-v5.4/tools/testing/selftests/powerpc/pmu/ebb/
Devent_attributes_test.c30 /* Expected to fail, no PMC specified */ in event_attributes()
37 /* Expected to fail, not exclusive */ in event_attributes()
44 /* Expected to fail, sets freq */ in event_attributes()
51 /* Expected to fail, sets sample_period */ in event_attributes()
58 /* Expected to fail, sets enable_on_exec */ in event_attributes()
65 /* Expected to fail, sets inherit */ in event_attributes()
88 /* Expected to fail, event doesn't request EBB, leader does */ in event_attributes()
103 /* Expected to fail, leader doesn't request EBB */ in event_attributes()
111 /* Expected to fail, leader isn't exclusive */ in event_attributes()
118 /* Expected to fail, leader isn't pinned */ in event_attributes()
[all …]
/Linux-v5.4/tools/testing/selftests/sysctl/
Dsysctl.sh76 echo "FAIL, but skip in case of old kernel" >&2
82 echo "FAIL, strict value is 0 but force to 1 to continue" >&2
237 echo "FAIL" >&2
245 echo "FAIL" >&2
254 echo "FAIL" >&2
263 echo "FAIL" >&2
277 echo "FAIL" >&2
287 echo "FAIL" >&2
297 echo "FAIL" >&2
308 echo "FAIL" >&2
[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 …]

12345678910>>...139