Home
last modified time | relevance | path

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

12345678910>>...147

/Linux-v6.1/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-v6.1/tools/testing/selftests/gpio/
Dgpio-sim.sh9 fail() { function
11 echo "GPIO $MODULE test FAIL"
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"
[all …]
/Linux-v6.1/tools/testing/selftests/exec/
Dexecveat.c54 printf("[FAIL] (unexpected success from execveat(2))\n"); in _check_execveat_fail()
58 printf("[FAIL] (expected errno %d (%s) not %d (%s)\n", in _check_execveat_fail()
83 printf("[FAIL] (fork() failed)\n"); in check_execveat_invoked_rc()
89 printf("[FAIL]: execveat() failed, rc=%d errno=%d (%s)\n", in check_execveat_invoked_rc()
96 printf("[FAIL] (waitpid(%d,...) returned %d)\n", child, rc); in check_execveat_invoked_rc()
100 printf("[FAIL] (child %d did not exit cleanly, status=%08x)\n", in check_execveat_invoked_rc()
106 printf("[FAIL] (child %d exited with %d not %d nor %d)\n", in check_execveat_invoked_rc()
155 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()
[all …]
/Linux-v6.1/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-v6.1/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 …]
/Linux-v6.1/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()
287 /* if a name is specified and there is no name tag 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()
[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-v6.1/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-v6.1/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-v6.1/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.c124 pr_info("siphash self-test aligned %u: FAIL\n", i + 1); in siphash_test_init()
129 pr_info("siphash self-test unaligned %u: FAIL\n", i + 1); in siphash_test_init()
134 pr_info("hsiphash self-test aligned %u: FAIL\n", i + 1); in siphash_test_init()
139 pr_info("hsiphash self-test unaligned %u: FAIL\n", i + 1); in siphash_test_init()
145 pr_info("siphash self-test 1u64: FAIL\n"); in siphash_test_init()
150 pr_info("siphash self-test 2u64: FAIL\n"); in siphash_test_init()
156 pr_info("siphash self-test 3u64: FAIL\n"); in siphash_test_init()
162 pr_info("siphash self-test 4u64: FAIL\n"); in siphash_test_init()
167 pr_info("siphash self-test 1u32: FAIL\n"); in siphash_test_init()
172 pr_info("siphash self-test 2u32: FAIL\n"); in siphash_test_init()
[all …]
/Linux-v6.1/tools/testing/selftests/bpf/progs/
Ddynptr_fail.c128 /* this should fail */ in ringbuf_release_uninit_dynptr()
147 /* this should fail */ in use_after_invalid()
184 /* this should fail */ in add_dynptr_to_map1()
201 /* this should fail */ in add_dynptr_to_map2()
265 /* this should fail */ in data_slice_use_after_release1()
298 /* this should fail */ in data_slice_use_after_release2()
324 /* this should fail */ in data_slice_missing_null_check1()
343 /* this should fail */ in data_slice_missing_null_check2()
361 /* this should fail */ in invalid_helper1()
376 /* this should fail */ in invalid_helper2()
[all …]
/Linux-v6.1/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-v6.1/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-v6.1/sound/soc/mediatek/mt8186/
Dmt8186-afe-clk.c84 dev_err(afe->dev, "%s clk_set_parent %s-%s fail %d\n", in mt8186_set_audio_int_bus_parent()
101 dev_err(afe->dev, "%s clk_prepare_enable %s fail %d\n", in apll1_mux_setting()
108 dev_err(afe->dev, "%s clk_set_parent %s-%s fail %d\n", in apll1_mux_setting()
117 dev_err(afe->dev, "%s clk_prepare_enable %s fail %d\n", in apll1_mux_setting()
124 dev_err(afe->dev, "%s clk_set_parent %s-%s fail %d\n", in apll1_mux_setting()
133 dev_err(afe->dev, "%s clk_set_parent %s-%s fail %d\n", in apll1_mux_setting()
143 dev_err(afe->dev, "%s clk_set_parent %s-%s fail %d\n", in apll1_mux_setting()
162 dev_err(afe->dev, "%s clk_prepare_enable %s fail %d\n", in apll2_mux_setting()
169 dev_err(afe->dev, "%s clk_set_parent %s-%s fail %d\n", in apll2_mux_setting()
178 dev_err(afe->dev, "%s clk_prepare_enable %s fail %d\n", in apll2_mux_setting()
[all …]
/Linux-v6.1/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 …]
/Linux-v6.1/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-v6.1/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()
63 * If anything bad happens in ASM and we fail to set ret in test_signal_tm()
88 fprintf(stderr, "(%d) Fail reason: %d rc=0x%lx ret=0x%lx\n", in test_signal_tm()
89 i, fail, rc, ret); in test_signal_tm()
92 while(!signaled && !fail) in test_signal_tm()
95 fprintf(stderr, "(%d) Fail reason: %d rc=0x%lx ret=0x%lx\n", in test_signal_tm()
96 i, fail, rc, ret); in test_signal_tm()
97 FAIL_IF(fail); /* For the line number */ in test_signal_tm()
/Linux-v6.1/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-v6.1/sound/soc/mediatek/mt8192/
Dmt8192-afe-clk.c72 dev_err(afe->dev, "%s clk_set_parent %s-%s fail %d\n", in mt8192_set_audio_int_bus_parent()
88 dev_err(afe->dev, "%s clk_prepare_enable %s fail %d\n", in apll1_mux_setting()
95 dev_err(afe->dev, "%s clk_set_parent %s-%s fail %d\n", in apll1_mux_setting()
104 dev_err(afe->dev, "%s clk_prepare_enable %s fail %d\n", in apll1_mux_setting()
111 dev_err(afe->dev, "%s clk_set_parent %s-%s fail %d\n", in apll1_mux_setting()
120 dev_err(afe->dev, "%s clk_set_parent %s-%s fail %d\n", in apll1_mux_setting()
130 dev_err(afe->dev, "%s clk_set_parent %s-%s fail %d\n", in apll1_mux_setting()
150 dev_err(afe->dev, "%s clk_prepare_enable %s fail %d\n", in apll2_mux_setting()
157 dev_err(afe->dev, "%s clk_set_parent %s-%s fail %d\n", in apll2_mux_setting()
166 dev_err(afe->dev, "%s clk_prepare_enable %s fail %d\n", in apll2_mux_setting()
[all …]
/Linux-v6.1/drivers/net/wireless/microchip/wilc1000/
Dnetdev.c261 goto fail; in wilc_init_fw_config()
265 goto fail; in wilc_init_fw_config()
269 goto fail; in wilc_init_fw_config()
273 goto fail; in wilc_init_fw_config()
277 goto fail; in wilc_init_fw_config()
281 goto fail; in wilc_init_fw_config()
285 goto fail; in wilc_init_fw_config()
289 goto fail; in wilc_init_fw_config()
294 goto fail; in wilc_init_fw_config()
299 goto fail; in wilc_init_fw_config()
[all …]

12345678910>>...147