Home
last modified time | relevance | path

Searched refs:printf (Results 76 – 100 of 1156) sorted by relevance

12345678910>>...47

/linux-6.15/tools/testing/selftests/x86/
H A Dldt_gdt.c88 printf("[OK]\t%s entry %hu is invalid\n", in check_invalid_segment()
333 printf("[RUN]\tTest fork\n"); in do_simple_tests()
347 printf("[FAIL]\tChild died\n"); in do_simple_tests()
350 printf("[FAIL]\tChild failed\n"); in do_simple_tests()
353 printf("[OK]\tChild succeeded\n"); in do_simple_tests()
357 printf("[RUN]\tTest size\n"); in do_simple_tests()
372 printf("[DONE]\tSize test\n"); in do_simple_tests()
629 printf("[RUN]\tTest exec\n"); in do_exec_test()
653 printf("[FAIL]\tChild died\n"); in do_exec_test()
656 printf("[FAIL]\tChild failed\n"); in do_exec_test()
[all …]
H A Dtest_syscall_vdso.c30 printf("[SKIP]\tNot a 32-bit x86 userspace\n"); in main()
44 printf("[WARN]\tAT_SYSINFO not supplied\n"); in get_syscall()
162 printf("[FAIL]\tR%d has changed:%016llx\n", num, *r64); in check_regs64()
167 printf("[OK]\tR8..R15 did not leak kernel data\n"); in check_regs64()
231 printf("%s=%016lx ", name, r); in print_flags()
235 printf("(extra bits are set) "); in print_flags()
315 printf("[FAIL]\targ#%ld clobbered\n", bad_arg); in run_syscall()
318 printf("[OK]\tArguments are preserved across syscall\n"); in run_syscall()
329 printf("[RUN]\tExecuting 6-argument 32-bit syscall via VDSO\n"); in run_syscall_twice()
334 printf("[RUN]\tExecuting 6-argument 32-bit syscall via INT 80\n"); in run_syscall_twice()
[all …]
H A Damx.c126 printf("%s", signal_message_buffer); in xrstor_safe()
210 printf("[FAIL]\tLoad tiledata succeeded.\n"); in validate_xcomp_perm()
212 printf("[OK]\tLoad tiledata failed.\n"); in validate_xcomp_perm()
216 printf("[OK]\tLoad tiledata succeeded.\n"); in validate_xcomp_perm()
219 printf("[FAIL]\tLoad tiledata failed.\n"); in validate_xcomp_perm()
254 printf("[OK]\tsigaltstack() failed.\n"); in setup_altstack()
336 printf("\tFork a child.\n"); in test_dynamic_state()
353 printf("\tTest XCOMP_PERM at child.\n"); in test_dynamic_state()
364 printf("\tTest XCOMP_PERM again at child.\n"); in test_dynamic_state()
367 printf("\tFork a grandchild.\n"); in test_dynamic_state()
[all …]
/linux-6.15/tools/testing/selftests/net/netfilter/
H A Dsctp_collision.c24 printf("Failed to create sd\n"); in main()
34 printf("Failed to bind to address\n"); in main()
40 printf("Failed to listen on port\n"); in main()
59 printf("Failed to connect to peer\n"); in main()
64 printf("Failed to recv msg %d\n", ret); in main()
69 printf("Failed to send msg %d\n", ret); in main()
72 printf("Server: sent! %d\n", ret); in main()
79 printf("Failed to connect to peer\n"); in main()
85 printf("Failed to send msg %d\n", ret); in main()
90 printf("Failed to recv msg %d\n", ret); in main()
[all …]
/linux-6.15/tools/net/ynl/samples/
H A Dethtool.c28 printf("Channels:\n"); in main()
30 printf(" %8s: ", dev->header.dev_name); in main()
32 printf("rx %d ", dev->rx_count); in main()
34 printf("tx %d ", dev->tx_count); in main()
36 printf("combined %d ", dev->combined_count); in main()
37 printf("\n"); in main()
46 printf("Rings:\n"); in main()
48 printf(" %8s: ", dev->header.dev_name); in main()
50 printf("rx %d ", dev->rx); in main()
52 printf("tx %d ", dev->tx); in main()
[all …]
H A Dnetdev.c29 printf("%8s", name); in netdev_print_device()
30 printf("[%d]\t", d->ifindex); in netdev_print_device()
35 printf("xdp-features (%llx):", d->xdp_features); in netdev_print_device()
38 printf(" %s", netdev_xdp_act_str(1 << i)); in netdev_print_device()
44 printf(" %s", netdev_xdp_rx_metadata_str(1 << i)); in netdev_print_device()
47 printf(" xsk-features (%llx):", d->xsk_features); in netdev_print_device()
50 printf(" %s", netdev_xsk_flags_str(1 << i)); in netdev_print_device()
53 printf(" xdp-zc-max-segs=%u", d->xdp_zc_max_segs); in netdev_print_device()
57 printf(" (ntf: %s)", name); in netdev_print_device()
58 printf("\n"); in netdev_print_device()
[all …]
/linux-6.15/arch/s390/tools/
H A Dgen_facilities.c147 printf("#define %s ", def->name); in print_facility_list()
149 printf("_AC(0x%016llx,UL)%c", array[i], i < high ? ',' : '\n'); in print_facility_list()
163 printf("#ifndef __ASM_S390_FACILITY_DEFS__\n"); in main()
164 printf("#define __ASM_S390_FACILITY_DEFS__\n"); in main()
165 printf("/*\n"); in main()
166 printf(" * DO NOT MODIFY.\n"); in main()
167 printf(" *\n"); in main()
168 printf(" * This file was generated by %s\n", __FILE__); in main()
169 printf(" */\n\n"); in main()
170 printf("#include <linux/const.h>\n\n"); in main()
[all …]
/linux-6.15/arch/powerpc/boot/
H A Dmain.c75 printf("0x%lx bytes of uncompressed data copied\n\r", in prep_kernel()
81 printf("Decompressing (0x%p <- 0x%p:0x%p)...\n\r", addr, in prep_kernel()
94 printf("Done! Decompressed 0x%lx bytes\n\r", len); in prep_kernel()
108 printf("Attached initrd image at 0x%p-0x%p\n\r", in prep_initrd()
129 printf("Allocating 0x%lx bytes for initrd ...\n\r", in prep_initrd()
158 printf("Attached ESM blob at 0x%p-0x%p\n\r", in prep_esm_blob()
171 printf("Allocating 0x%lx bytes for esm_blob ...\n\r", in prep_esm_blob()
210 printf("\n\rLinux/PowerPC load: %s", cmdline); in prep_cmdline()
216 printf("\n\r"); in prep_cmdline()
260 printf("Finalizing device tree..."); in start()
[all …]
/linux-6.15/tools/testing/selftests/timers/
H A Dthreadtest.c62 printf("\n"); in checklist()
65 printf("---------------\n"); in checklist()
68 printf("---------------\n"); in checklist()
70 printf("[FAILED]\n"); in checklist()
145 printf("using independent threads\n"); in main()
149 printf(" -t: time to run\n"); in main()
150 printf(" -n: number of threads\n"); in main()
151 printf(" -i: use independent threads\n"); in main()
164 printf("%s\n", buf); in main()
177 printf("%s\n", buf); in main()
[all …]
H A Dset-tz.c65 printf("tz_minuteswest started at %i, dst at %i\n", min, dst); in main()
67 printf("Checking tz_minuteswest can be properly set: "); in main()
73 printf("[FAILED] expected: %i got %i\n", i, ret); in main()
77 printf("[OK]\n"); in main()
79 printf("Checking invalid tz_minuteswest values are caught: "); in main()
83 printf("[FAILED] %i didn't return failure!\n", -15*60-1); in main()
88 printf("[FAILED] %i didn't return failure!\n", 15*60+1); in main()
93 printf("[FAILED] %i didn't return failure!\n", -24*60); in main()
98 printf("[FAILED] %i didn't return failure!\n", 24*60); in main()
102 printf("[OK]\n"); in main()
H A Dvalid-adjtimex.c122 printf("Testing ADJ_FREQ... "); in validate_freq()
130 printf("[FAIL]\n"); in validate_freq()
131 printf("Error: adjtimex(ADJ_FREQ, %ld - %ld ppm\n", in validate_freq()
149 printf("[FAIL]\n"); in validate_freq()
158 printf("[FAIL]\n"); in validate_freq()
173 printf("[FAIL]\n"); in validate_freq()
182 printf("[OK]\n"); in validate_freq()
222 printf("[FAIL]\n"); in set_offset()
242 printf("[FAIL]\n"); in set_bad_offset()
250 printf("Testing ADJ_SETOFFSET... "); in validate_set_offset()
[all …]
/linux-6.15/tools/testing/selftests/powerpc/alignment/
H A Dalignment_handler.c187 printf(" mem:"); in dumpdata()
190 printf("\n"); in dumpdata()
194 printf("\n"); in dumpdata()
230 printf("\n"); in do_test()
241 printf("\n"); in do_test()
248 printf("\n"); in do_test()
254 printf("\n"); in do_test()
295 printf("PASSED"); in do_test()
297 printf("\n"); in do_test()
507 printf("VMX\n"); in test_alignment_handler_vmx()
[all …]
/linux-6.15/tools/power/acpi/tools/ec/
H A Dec_access.c37 printf("Usage:\n"); in usage()
73 printf("Bad sleep time: %s\n", optarg); in parse_opts()
142 printf("\n%.2X: ", byte_off); in dump_ec()
143 printf(" %.2x ", (uint8_t)buf[byte_off]); in dump_ec()
145 printf("\n"); in dump_ec()
150 printf("\n"); in dump_ec()
165 printf("\n%.2X: ", byte_off); in dump_ec()
168 printf(" %.2x ", (uint8_t)buf2[byte_off]); in dump_ec()
170 printf("*%.2x ", (uint8_t)buf2[byte_off]); in dump_ec()
172 printf("\n"); in dump_ec()
[all …]
/linux-6.15/arch/powerpc/xmon/
H A Dppc-dis.c161 printf("%s", opcode->name); in print_insn_powerpc()
198 printf(","); in print_insn_powerpc()
205 printf("r%ld", value); in print_insn_powerpc()
207 printf("f%ld", value); in print_insn_powerpc()
209 printf("v%ld", value); in print_insn_powerpc()
211 printf("vs%ld", value); in print_insn_powerpc()
221 printf("%ld", value); in print_insn_powerpc()
225 printf("cr%ld", value); in print_insn_powerpc()
236 printf("4*cr%d+", cr); in print_insn_powerpc()
245 printf(")"); in print_insn_powerpc()
[all …]
/linux-6.15/tools/testing/selftests/bpf/benchs/
H A Drun_bench_bloom_filter_map.sh14 printf "%'d entries -\n" $e
15 printf "\t"
18 printf "\t"
21 printf "\t"
25 printf "\n"
35 printf "%'d entries -\n" $e
36 printf "\t"
39 printf "\t"
43 printf "\n"
H A Drun_common.sh10 printf "\n%s\n" "$1"
11 for i in $(seq 1 $len); do printf '='; done
12 printf '\n'
18 printf "\t%s\n" "$1"
63 printf "%-20s %s (drops %s)\n" "$bench" "$(hits $summary)" "$(drops $summary)"
70 printf "%-20s %s%%\n" "$bench" "$(percentage $summary)"
77 printf "%-20s %s\n" "$bench" "$(ops $summary)"
84 printf "%-20s %s\n" "$bench" "$(local_storage $summary)"
91 printf "%-20s %s\n" "$bench" "$(total $summary)"
/linux-6.15/tools/bpf/bpftool/
H A Dlink.c648 printf("order %s ", in show_iter_plain()
751 printf(" "); in show_kprobe_multi_plain()
801 printf("%s", buf); in show_perf_event_kprobe_plain()
808 printf(" "); in show_perf_event_kprobe_plain()
847 printf("\n\tevent "); in show_perf_event_event_plain()
852 printf("%u :", type); in show_perf_event_event_plain()
913 printf("\n\t"); in show_link_close_plain()
918 printf("\n\t"); in show_link_close_plain()
923 printf("\n\t"); in show_link_close_plain()
928 printf("\n\t"); in show_link_close_plain()
[all …]
/linux-6.15/tools/perf/trace/beauty/
H A Dusbdevfs_ioctl.sh9 printf "static const char *usbdevfs_ioctl_cmds[] = {\n"
13 sort | xargs printf "\t[%s] = \"%s\",\n"
14 printf "};\n\n"
15 printf "#if 0\n"
16 printf "static const char *usbdevfs_ioctl_32_cmds[] = {\n"
20 sort | xargs printf "\t[%s] = \"%s\",\n"
21 printf "};\n"
22 printf "#endif\n"
H A Darch_errno_names.sh34 printf "static const char *errno_to_name__%s(int err)\n{\n\tswitch (err) {\n" $arch
37 printf '\tcase %d: return "%s";\n' $nr $name
40 printf '\tdefault: return "(unknown)";\n\t}\n}\n'
60 printf 'static arch_syscalls__strerrno_t *\n'
61 printf 'arch_syscalls__strerrno_function(const char *arch)\n'
62 printf '{\n'
65 printf '\tif (!strcmp(arch, "%s"))\n' "$arch_str"
66 printf '\t\treturn errno_to_name__%s;\n' "$arch_str"
69 printf '\treturn errno_to_name__%s;\n' "$arch_str"
70 printf '}\n'
/linux-6.15/samples/bpf/
H A Dtracex3_user.c100 printf("%s", sym[c]); in print_hist()
102 printf("%s %s", color[c], nocolor); in print_hist()
104 printf(" # %lld\n", total_events); in print_hist()
121 printf("Usage:\n" in main()
157 printf(" heatmap of IO latency\n"); in main()
159 printf(" %s", sym[num_colors - 1]); in main()
161 printf(" %s %s", color[num_colors - 1], nocolor); in main()
162 printf(" - many events with this latency\n"); in main()
165 printf(" %s", sym[0]); in main()
167 printf(" %s %s", color[0], nocolor); in main()
[all …]
/linux-6.15/tools/testing/selftests/net/
H A Dsctp_hello.c44 printf("failed to create socket\n"); in do_client()
52 printf("failed to bind to address\n"); in do_client()
60 printf("failed to connect to peer\n"); in do_client()
66 printf("failed to send msg %d\n", ret); in do_client()
81 printf("%s server|client ...\n", argv[0]); in main()
96 printf("failed to create lsk\n"); in main()
104 printf("failed to bind to device\n"); in main()
112 printf("failed to bind to address\n"); in main()
118 printf("failed to listen on port\n"); in main()
124 printf("failed to accept new client\n"); in main()
[all …]
/linux-6.15/tools/power/cpupower/utils/
H A Dpowercap-info.c34 printf("%sZone: %s", pr_prefix, zone->name); in powercap_print_one_zone()
38 printf(" (%s)\n", mode ? "enabled" : "disabled"); in powercap_print_one_zone()
41 printf(_("%sPower can be monitored in micro Jules\n"), in powercap_print_one_zone()
45 printf(_("%sPower can be monitored in micro Watts\n"), in powercap_print_one_zone()
48 printf("\n"); in powercap_print_one_zone()
63 printf(_("No powercapping driver loaded\n")); in powercap_show()
67 printf("Driver: %s\n", line); in powercap_show()
72 printf(_("Powercapping is disabled\n")); in powercap_show()
76 printf(_("Powercap domain hierarchy:\n\n")); in powercap_show()
80 printf(_("No powercap info found\n")); in powercap_show()
/linux-6.15/tools/testing/selftests/bpf/
H A Dtest_maps.c678 printf("failed to setsockopt\n"); in test_sockmap()
683 printf("failed to ioctl\n"); in test_sockmap()
698 printf("failed to listen\n"); in test_sockmap()
710 printf("set sock opt\n"); in test_sockmap()
719 printf("failed to connect\n"); in test_sockmap()
728 printf("accept failed\n"); in test_sockmap()
851 printf("Failed to get map rx fd\n"); in test_sockmap()
863 printf("Failed to get map tx fd\n"); in test_sockmap()
971 printf("Failed sockmap send\n"); in test_sockmap()
995 printf("Failed sockmap recv\n"); in test_sockmap()
[all …]
/linux-6.15/tools/testing/selftests/powerpc/syscalls/
H A Drtas_filter.c101 printf("Unexpected kregion bounds\n"); in read_kregion_bounds()
121 printf("call '%s' not available, skipping...", name); in rtas_call()
165 printf("Test a permitted call, no parameters... "); in test()
167 printf("rc: %d\n", rc); in test()
172 printf("Test a prohibited call... "); in test()
174 printf("rc: %d\n", rc); in test()
185 printf("RMO range: %08x - %08x\n", rmo_start, rmo_end); in test()
192 printf("rc: %d\n", rc); in test()
200 printf("rc: %d\n", rc); in test()
208 printf("rc: %d\n", rc); in test()
[all …]
/linux-6.15/tools/wmi/
H A Ddell-smbios-example.c63 printf("sprintf value failed\n"); in find_token()
68 printf("failed to open %s\n", value_sysfs); in find_token()
77 printf("sprintf location failed\n"); in find_token()
82 printf("failed to open %s\n", location_sysfs); in find_token()
117 printf("unable to find token %04x\n", token); in query_token()
132 printf("unable to find token %04x\n", token); in activate_token()
163 printf("Unable to read buffer size\n"); in main()
170 printf("failed to alloc memory for ioctl\n"); in main()
182 printf("smbios ioctl failed: %d\n", ret); in main()
196 printf("Enabling UEFI capsule token"); in main()
[all …]

12345678910>>...47