Searched refs:printf (Results 101 - 125 of 1028) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/media_tests/
H A Dmedia_device_open.c49 printf("Usage: %s [-d </dev/mediaX>]\n", argv[0]);
61 printf("Usage: %s [-d </dev/mediaX>]\n", argv[0]);
72 printf("Media Device open errno %s\n", strerror(errno));
78 printf("Media Device Info errno %s\n", strerror(errno));
80 printf("Media device model %s driver %s\n",
H A Dmedia_device_test.c54 printf("Usage: %s [-d </dev/mediaX>]\n", argv[0]);
66 printf("Usage: %s [-d </dev/mediaX>]\n", argv[0]);
81 printf("Media Device open errno %s\n", strerror(errno));
85 printf("\nNote:\n"
91 printf("Running test for %d iterations\n", count);
96 printf("Media Device Info errno %s\n", strerror(errno));
98 printf("Media device model %s driver %s - count %d\n",
/linux-master/tools/testing/selftests/gpio/
H A Dgpio-chip-info.c18 printf("usage:\n");
19 printf(" gpio-chip-info <chip path> [name|label|num-lines]\n");
46 printf("%s\n", info.name);
48 printf("%s\n", info.label);
50 printf("%u\n", info.lines);
/linux-master/tools/testing/selftests/timers/
H A Dchange_skew.c46 printf("Error adjusting freq\n");
74 printf("Maybe you're not running as root?\n");
79 printf("Using %i ppm adjustment\n", ppm[i]);
91 printf("[FAIL]");
94 printf("[OK]");
H A Dleap-a-day.c139 printf("Error: Early timer expiration! (Should be %ld)\n", next_leap);
141 printf("adjtimex: %10ld sec + %6ld us (%i)\t%s\n",
148 printf("Error: Timer seeing incorrect NTP state? (Should be TIME_WAIT)\n");
150 printf("adjtimex: %10ld sec + %6ld us (%i)\t%s\n",
170 printf("ERROR: hrtimer early expiration failure observed.\n");
192 printf("Only setting leap-flag, not changing time. It could take up to a day for leap to trigger.\n");
202 printf("Usage: %s [-w] [-i <iterations>]\n", argv[0]);
203 printf(" -w: Set flag and wait for leap second each iteration");
204 printf(" (default sets time to right before leapsecond)\n");
205 printf("
[all...]
/linux-master/tools/testing/selftests/powerpc/mm/
H A Dexec_prot.c172 printf("Testing read on --x, should fault...");
176 printf("ok!\n");
184 printf("Testing write on --x, should fault...");
188 printf("ok!\n");
190 printf("Testing exec on ---, should fault...");
192 printf("ok!\n");
194 printf("Testing exec on r--, should fault...");
196 printf("ok!\n");
198 printf("Testing exec on -w-, should fault...");
200 printf("o
[all...]
/linux-master/tools/power/acpi/tools/pfrut/
H A Dpfrut.c130 printf("Number expected: type(0:execution, 1:history) - Quit.\n");
141 printf("Number expected: level(0, 1, 2, 4) - Quit.\n");
178 printf("code injection image type:%s\n", uuid);
179 printf("fw_version:%d\n", cap->fw_version);
180 printf("code_rt_version:%d\n", cap->code_rt_version);
183 printf("driver update image type:%s\n", uuid);
184 printf("drv_rt_version:%d\n", cap->drv_rt_version);
185 printf("drv_svn:%d\n", cap->drv_svn);
188 printf("platform id:%s\n", uuid);
190 printf("oe
[all...]
/linux-master/tools/testing/selftests/ftrace/test.d/kprobe/
H A Dkprobe_args_type.tc14 X1=`printf "%x" $1 | tail -c ${CW}`
15 X2=`printf "%x" $2`
16 X3=`printf "%x" $3`
21 B4=`printf "%1x" $4`
22 B3=`printf "%03x" 0x$X3 | tail -c 2 | head -c 1`
/linux-master/tools/perf/trace/beauty/
H A Dmmap_prot.sh18 printf "static const char *mmap_prot[] = {\n"
19 regex=`printf '^[[:space:]]*#[[:space:]]*define[[:space:]]+%s_([[:alnum:]_]+)[[:space:]]+(0x[[:xdigit:]]+)[[:space:]]*.*' ${prefix}`
25 xargs printf "\t[ilog2(%s) + 1] = \"%s\",\n#ifndef ${prefix}_%s\n#define ${prefix}_%s %s\n#endif\n")
30 xargs printf "\t[ilog2(%s) + 1] = \"%s\",\n#ifndef ${prefix}_%s\n#define ${prefix}_%s %s\n#endif\n")
31 printf "};\n"
/linux-master/tools/testing/selftests/x86/
H A Dtest_vsyscall.c78 printf("[WARN]\tfailed to find vDSO\n");
84 printf("[WARN]\tfailed to find gettimeofday in vDSO\n");
88 printf("[WARN]\tfailed to find clock_gettime in vDSO\n");
92 printf("[WARN]\tfailed to find time in vDSO\n");
96 printf("[WARN]\tfailed to find getcpu in vDSO\n");
109 printf("[WARN]\tCould not open /proc/self/maps -- assuming vsyscall is r-x\n");
127 printf("\tvsyscall map: %s", line);
131 printf("[FAIL]\taddress range is nonsense\n");
135 printf("\tvsyscall permissions are %c-%c\n", r, x);
146 printf("\tn
[all...]
H A Dtest_shadow_stack.c65 printf("[SKIP]\tCompiler does not support CET.\n");
136 printf("[INFO]\tnew_ssp = %lx, *new_ssp = %lx\n",
140 printf("[INFO]\tchanging ssp from %lx to %lx\n", ssp, new_ssp);
144 printf("[INFO]\tssp is now %lx\n", get_ssp());
157 printf("[FAIL]\tError creating shadow stack: %d\n", errno);
163 printf("[OK]\tShadow stack pivot\n");
188 printf("[OK]\tShadow stack faults\n");
205 printf("[INFO]\tCorrupting shadow stack\n");
211 printf("[INFO]\tGenerated shadow stack violation successfully\n");
237 printf("[O
[all...]
H A Dvdso_restorer.c56 printf("[SKIP]\tFailed to find vDSO. Tests are not expected to work.\n");
65 printf("[RUN]\tRaise a signal, SA_SIGINFO, sa.restorer == NULL\n");
73 printf("[OK]\tSA_SIGINFO handler returned successfully\n");
75 printf("[FAIL]\tSA_SIGINFO handler was not called\n");
79 printf("[RUN]\tRaise a signal, !SA_SIGINFO, sa.restorer == NULL\n");
90 printf("[OK]\t!SA_SIGINFO handler returned successfully\n");
92 printf("[FAIL]\t!SA_SIGINFO handler was not called\n");
/linux-master/samples/bpf/
H A Dfds_example.c38 printf("Usage: fds_example [...]\n");
39 printf(" -F <file> File to pin/get object\n");
40 printf(" -P |- pin object\n");
41 printf(" -G `- get object\n");
42 printf(" -m eBPF map mode\n");
43 printf(" -k <key> |- map key\n");
44 printf(" -v <value> `- map value\n");
45 printf(" -p eBPF prog mode\n");
46 printf(" -o <object> `- object file\n");
47 printf("
[all...]
H A Dtracex3_user.c67 printf("|1ns |10ns |100ns |1us |10us |100us"
70 printf("|1us |10us |100us |1ms |10ms "
100 printf("%s", sym[c]);
102 printf("%s %s", color[c], nocolor);
104 printf(" # %lld\n", total_events);
121 printf("Usage:\n"
157 printf(" heatmap of IO latency\n");
159 printf(" %s", sym[num_colors - 1]);
161 printf(" %s %s", color[num_colors - 1], nocolor);
162 printf("
[all...]
H A Dtest_cgrp2_sock2.c29 printf("Usage: %s cg-path filter-path [filter-id]\n", argv0);
50 printf("Failed to open cgroup path: '%s'\n", strerror(errno));
56 printf("ERROR: opening BPF object file failed\n");
66 printf("Invalid program id; program not found in file\n");
72 printf("ERROR: loading BPF object file failed\n");
78 printf("ERROR: bpf_program__attach failed\n");
85 printf("ERROR: bpf_link__pin failed: %d\n", err);
/linux-master/tools/testing/selftests/net/
H A Dsctp_hello.c36 printf("%s client -4|6 IP PORT [IP PORT]\n", argv[0]);
44 printf("failed to create socket\n");
52 printf("failed to bind to address\n");
60 printf("failed to connect to peer\n");
66 printf("failed to send msg %d\n", ret);
81 printf("%s server|client ...\n", argv[0]);
89 printf("%s server -4|6 IP PORT [IFACE]\n", argv[0]);
96 printf("failed to create lsk\n");
104 printf("failed to bind to device\n");
112 printf("faile
[all...]
/linux-master/tools/testing/selftests/netfilter/
H A Dsctp_collision.c17 printf("%s <server|client> <LOCAL_IP> <LOCAL_PORT> <REMOTE_IP> <REMOTE_PORT>\n",
24 printf("Failed to create sd\n");
34 printf("Failed to bind to address\n");
40 printf("Failed to listen on port\n");
51 printf("Failed to setsockopt SO_RCVTIMEO\n");
59 printf("Failed to connect to peer\n");
64 printf("Failed to recv msg %d\n", ret);
69 printf("Failed to send msg %d\n", ret);
72 printf("Server: sent! %d\n", ret);
79 printf("Faile
[all...]
/linux-master/tools/testing/selftests/vDSO/
H A Dvdso_test_correctness.c100 printf("Warning: failed to find vsyscall getcpu\n");
118 printf("[WARN]\tfailed to find vDSO\n");
124 printf("Warning: failed to find getcpu in vDSO\n");
130 printf("Warning: failed to find clock_gettime in vDSO\n");
135 printf("Warning: failed to find clock_gettime64 in vDSO\n");
140 printf("Warning: failed to find gettimeofday in vDSO\n");
167 printf("[RUN]\tTesting getcpu...\n");
202 printf("[%s]\tCPU %u:", ok ? "OK" : "FAIL", cpu);
204 printf(" syscall: cpu %u, node %u", cpu_sys, node_sys);
206 printf(" vds
[all...]
/linux-master/scripts/atomic/
H A Datomic-tbl.sh66 printf "${file}"
90 [sv]) printf "void";;
91 [bB]) printf "bool";;
92 [aiIfFlR]) printf "${int}";;
100 printf "return ";
109 printf "${name#*:}"
126 printf "${type}"
138 printf "${type}${name}"
149 [ "$#" -gt 1 ] && printf ", "
158 printf "
[all...]
/linux-master/arch/s390/tools/
H A Dgen_opcode_table.c188 printf("enum {\n");
194 printf("\tINSTR_%s,\n", format);
196 printf("}; /* %d */\n\n", count);
211 printf("enum {\n");
216 printf("\tLONG_INSN_%s,\n", insn->upper);
219 printf("}; /* %d */\n\n", count);
221 printf("#define LONG_INSN_INITIALIZER { \\\n");
226 printf("\t[LONG_INSN_%s] = \"%s\", \\\n", insn->upper, insn->name);
228 printf("}\n\n");
238 printf("\
[all...]
/linux-master/tools/testing/selftests/powerpc/tm/
H A Dtm-syscall.c60 printf("Unexpected persistent transaction failure.\n");
61 printf("TEXASR 0x%016lx, TFIAR 0x%016lx.\n",
69 printf("Exceeded limit of %d temporary transaction failures.\n", TM_RETRIES);
70 printf("TEXASR 0x%016lx, TFIAR 0x%016lx.\n",
86 printf("Testing transactional syscalls for %d seconds...\n", TEST_DURATION);
119 printf("%d active and suspended transactions behaved correctly.\n", count);
120 printf("(There were %d transaction retries.)\n", retries);
H A Dtm-resched-dscr.c45 printf("Check DSCR TM context switch: ");
84 printf(" FAIL\n");
87 printf(" OK\n");
/linux-master/tools/testing/selftests/powerpc/math/
H A Dvmx_preempt.c78 printf("\tWaiting for all workers to start...");
81 printf("done\n");
83 printf("\tWaiting for %d seconds to let some workers get preempted...", PREEMPT_TIME);
85 printf("done\n");
87 printf("\tStopping workers...");
102 printf("oops\n");
105 printf("done\n");
H A Dfpu_preempt.c69 printf("\tWaiting for all workers to start...");
72 printf("done\n");
74 printf("\tWaiting for %d seconds to let some workers get preempted...", PREEMPT_TIME);
76 printf("done\n");
78 printf("\tStopping workers...");
93 printf("oops\n");
96 printf("done\n");
/linux-master/tools/arch/x86/intel_sdsi/
H A Dintel_sdsi.c202 printf("%s\n", entry->d_name);
259 printf("\n");
260 printf("Socket information for device %s\n", s->dev_name);
261 printf("\n");
262 printf("PPIN: 0x%lx\n", s->regs.ppin);
263 printf("NVRAM Content Authorization Error Status\n");
264 printf(" SDSi Auth Err Sts: %s\n", !!s->regs.auth_err_sts.sdsi_content_auth_err ? "Error" : "Okay");
267 printf(" Metering Auth Err Sts: %s\n", !!s->regs.auth_err_sts.sdsi_metering_auth_err ? "Error" : "Okay");
269 printf("Enabled Features\n");
270 printf(" O
[all...]

Completed in 309 milliseconds

1234567891011>>