| /kernel/linux/linux-4.19/tools/testing/selftests/bpf/ |
| D | test_offload.py | 77 def fail(cond, msg): function 80 print("FAIL: " + msg) 81 log("FAIL: " + msg, "", level=1) 89 def cmd(cmd, shell=True, include_stderr=False, background=False, fail=True): argument 102 return cmd_result(proc, include_stderr=include_stderr, fail=fail) 104 def cmd_result(proc, include_stderr=False, fail=False): argument 121 if proc.returncode != 0 and fail: 136 def tool(name, args, flags, JSON=True, ns="", fail=True, include_stderr=False): argument 146 fail=fail, include_stderr=True) 149 fail=fail, include_stderr=False) [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
| D | test_offload.py | 82 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 …]
|
| /kernel/linux/linux-4.19/tools/testing/selftests/ftrace/test.d/preemptirq/ |
| D | irqsoff_tracer.tc | 7 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 …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/exec/ |
| D | execveat.c | 54 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 …]
|
| /kernel/linux/linux-4.19/tools/testing/selftests/exec/ |
| D | execveat.c | 53 printf("[FAIL] (unexpected success from execveat(2))\n"); in _check_execveat_fail() 57 printf("[FAIL] (expected errno %d (%s) not %d (%s)\n", in _check_execveat_fail() 82 printf("[FAIL] (fork() failed)\n"); in check_execveat_invoked_rc() 88 printf("[FAIL]: execveat() failed, rc=%d errno=%d (%s)\n", in check_execveat_invoked_rc() 95 printf("[FAIL] (waitpid(%d,...) returned %d)\n", child, rc); in check_execveat_invoked_rc() 99 printf("[FAIL] (child %d did not exit cleanly, status=%08x)\n", in check_execveat_invoked_rc() 105 printf("[FAIL] (child %d exited with %d not %d nor %d)\n", in check_execveat_invoked_rc() 154 int fail = 0; in check_execveat_pathmax() local 197 fail += check_execveat(fd, "", AT_EMPTY_PATH); in check_execveat_pathmax() 201 fail++; in check_execveat_pathmax() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/ftrace/test.d/preemptirq/ |
| D | irqsoff_tracer.tc | 8 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 …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/vm/ |
| D | khugepaged.c | 117 static void fail(const char *msg) in fail() function 522 fail("Fail"); in alloc_at_fault() 531 fail("Fail"); in alloc_at_fault() 542 fail("Timeout"); in collapse_full() 546 fail("Fail"); in collapse_full() 557 fail("Timeout"); in collapse_empty() 559 fail("Fail"); in collapse_empty() 572 fail("Timeout"); in collapse_single_pte_entry() 576 fail("Fail"); in collapse_single_pte_entry() 594 fail("Timeout"); in collapse_max_ptes_none() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/selftests/ |
| D | test-drm_rect.c | 27 FAIL(visible, "Destination not be visible\n"); in igt_drm_rect_clip_scaled_div_by_zero() 28 FAIL(drm_rect_visible(&src), "Source should not be visible\n"); in igt_drm_rect_clip_scaled_div_by_zero() 34 FAIL(visible, "Destination not be visible\n"); in igt_drm_rect_clip_scaled_div_by_zero() 35 FAIL(drm_rect_visible(&src), "Source should not be visible\n"); in igt_drm_rect_clip_scaled_div_by_zero() 52 FAIL(src.x1 != 0 || src.x2 != 1 << 16 || in igt_drm_rect_clip_scaled_not_clipped() 55 FAIL(dst.x1 != 0 || dst.x2 != 1 || in igt_drm_rect_clip_scaled_not_clipped() 58 FAIL(!visible, "Destination should be visible\n"); in igt_drm_rect_clip_scaled_not_clipped() 59 FAIL(!drm_rect_visible(&src), "Source should be visible\n"); in igt_drm_rect_clip_scaled_not_clipped() 68 FAIL(src.x1 != 0 || src.x2 != 2 << 16 || in igt_drm_rect_clip_scaled_not_clipped() 71 FAIL(dst.x1 != 0 || dst.x2 != 1 || in igt_drm_rect_clip_scaled_not_clipped() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
| D | lg2160.c | 133 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 …]
|
| /kernel/linux/linux-4.19/drivers/media/dvb-frontends/ |
| D | lg2160.c | 143 goto fail; in lg216x_set_reg_bit() 150 fail: in lg216x_set_reg_bit() 181 goto fail; in lg216x_soft_reset() 186 goto fail; in lg216x_soft_reset() 189 fail: in lg216x_soft_reset() 236 goto fail; in lg216x_initialize() 240 fail: in lg216x_initialize() 255 goto fail; in lg216x_set_if() 264 fail: in lg216x_set_if() 278 goto fail; in lg2160_agc_fix() [all …]
|
| /kernel/linux/linux-4.19/drivers/media/platform/mtk-vcodec/ |
| D | mtk_vcodec_dec_pm.c | 37 mtk_v4l2_err("of_parse_phandle mediatek,larb fail!"); in mtk_vcodec_init_dec_pm() 52 mtk_v4l2_err("devm_clk_get vcodecpll fail"); in mtk_vcodec_init_dec_pm() 58 mtk_v4l2_err("devm_clk_get univpll_d2 fail"); in mtk_vcodec_init_dec_pm() 64 mtk_v4l2_err("devm_clk_get clk_cci400_sel fail"); in mtk_vcodec_init_dec_pm() 70 mtk_v4l2_err("devm_clk_get vdec_sel fail"); in mtk_vcodec_init_dec_pm() 76 mtk_v4l2_err("devm_clk_get vdecpll fail"); in mtk_vcodec_init_dec_pm() 82 mtk_v4l2_err("devm_clk_get vencpll fail"); in mtk_vcodec_init_dec_pm() 88 mtk_v4l2_err("devm_clk_get venc_lt_sel fail"); in mtk_vcodec_init_dec_pm() 114 mtk_v4l2_err("pm_runtime_get_sync fail %d", ret); in mtk_vcodec_dec_pw_on() 123 mtk_v4l2_err("pm_runtime_put_sync fail %d", ret); in mtk_vcodec_dec_pw_off() [all …]
|
| /kernel/linux/linux-5.10/security/apparmor/ |
| D | policy_unpack.c | 228 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() 286 /* if a name is specified and there is no name tag 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() [all …]
|
| D | crypto.c | 39 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 …]
|
| /kernel/linux/linux-4.19/security/apparmor/ |
| D | policy_unpack.c | 229 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_u32() 313 fail: in unpack_u32() 324 goto fail; in unpack_u64() [all …]
|
| D | crypto.c | 43 goto fail; in aa_calc_hash() 50 goto fail; in aa_calc_hash() 53 goto fail; in aa_calc_hash() 56 goto fail; in aa_calc_hash() 60 fail: in aa_calc_hash() 81 goto fail; in aa_calc_profile_hash() 88 goto fail; in aa_calc_profile_hash() 91 goto fail; in aa_calc_profile_hash() 94 goto fail; in aa_calc_profile_hash() 97 goto fail; in aa_calc_profile_hash() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/ftrace/test.d/ftrace/ |
| D | func_traceonoff_triggers.tc | 16 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 …]
|
| /kernel/linux/linux-4.19/tools/testing/selftests/ftrace/test.d/ftrace/ |
| D | func_traceonoff_triggers.tc | 27 fail() { # mesg 49 fail "Found junk in trace" 62 fail "Nothing found in trace" 91 fail "Did not find traceoff trigger" 99 fail "Tracing is not stopped" 104 fail "Tracing is not off" 112 fail "Tracing file is still changing" 119 fail "Tracing is still happeing" 126 fail "traceoff trigger still exists" 131 fail "Tracing is started again" [all …]
|
| /kernel/linux/linux-4.19/lib/ |
| D | test_string.c | 23 goto fail; in memset16_selftest() 26 goto fail; in memset16_selftest() 29 goto fail; in memset16_selftest() 35 fail: in memset16_selftest() 59 goto fail; in memset32_selftest() 62 goto fail; in memset32_selftest() 65 goto fail; in memset32_selftest() 71 fail: in memset32_selftest() 95 goto fail; in memset64_selftest() 98 goto fail; in memset64_selftest() [all …]
|
| D | fault-inject.c | 115 goto fail; in should_fail() 148 fail: in should_fail() 214 goto fail; in fault_create_debugfs_attr() 216 goto fail; in fault_create_debugfs_attr() 218 goto fail; in fault_create_debugfs_attr() 220 goto fail; in fault_create_debugfs_attr() 222 goto fail; in fault_create_debugfs_attr() 225 goto fail; in fault_create_debugfs_attr() 228 goto fail; in fault_create_debugfs_attr() 230 goto fail; in fault_create_debugfs_attr() [all …]
|
| /kernel/linux/linux-4.19/drivers/media/usb/dvb-usb-v2/ |
| D | mxl111sf-demod.c | 77 goto fail; in mxl1x1sf_demod_get_tps_code_rate() 96 fail: in mxl1x1sf_demod_get_tps_code_rate() 108 goto fail; in mxl1x1sf_demod_get_tps_modulation() 121 fail: in mxl1x1sf_demod_get_tps_modulation() 133 goto fail; in mxl1x1sf_demod_get_tps_guard_fft_mode() 146 fail: in mxl1x1sf_demod_get_tps_guard_fft_mode() 158 goto fail; in mxl1x1sf_demod_get_tps_guard_interval() 174 fail: in mxl1x1sf_demod_get_tps_guard_interval() 186 goto fail; in mxl1x1sf_demod_get_tps_hierarchy() 202 fail: in mxl1x1sf_demod_get_tps_hierarchy() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/ |
| D | mxl111sf-demod.c | 68 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 …]
|
| /kernel/linux/linux-5.10/lib/ |
| D | test_string.c | 24 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 …]
|
| /kernel/linux/linux-4.19/drivers/staging/wilc1000/ |
| D | wilc_sdio.c | 160 dev_err(&func->dev, "Fail cmd 52, reset cmd ...\n"); in sdio_reset() 184 dev_err(&func->dev, "Fail reset sdio\n"); in wilc_sdio_suspend() 287 goto fail; in sdio_set_func0_csa_address() 295 goto fail; in sdio_set_func0_csa_address() 303 goto fail; in sdio_set_func0_csa_address() 307 fail: in sdio_set_func0_csa_address() 325 goto fail; in sdio_set_func0_block_size() 333 goto fail; in sdio_set_func0_block_size() 337 fail: in sdio_set_func0_block_size() 361 goto fail; in sdio_set_func1_block_size() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/mediatek/mt8183/ |
| D | mt8183-afe-clk.c | 105 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 …]
|
| /kernel/linux/linux-5.10/arch/arm/vdso/ |
| D | vdsomunge.c | 83 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 …]
|