Home
last modified time | relevance | path

Searched refs:printf (Results 1 – 200 of 479) sorted by relevance

123

/linux-4.4.14/lib/raid6/
Dmktables.c62 printf("#include <linux/raid/pq.h>\n"); in main()
63 printf("#include <linux/export.h>\n"); in main()
66 printf("\nconst u8 __attribute__((aligned(256)))\n" in main()
70 printf("\t{\n"); in main()
72 printf("\t\t"); in main()
74 printf("0x%02x,%c", gfmul(i, j + k), in main()
77 printf("\t},\n"); in main()
79 printf("};\n"); in main()
80 printf("#ifdef __KERNEL__\n"); in main()
81 printf("EXPORT_SYMBOL(raid6_gfmul);\n"); in main()
[all …]
/linux-4.4.14/arch/arm/tools/
Dgen-mach-types25 printf("/*\n");
26 printf(" * This was automagically generated from %s!\n", FILENAME);
27 printf(" * Do NOT edit\n");
28 printf(" */\n\n");
29 printf("#ifndef __ASM_ARM_MACH_TYPE_H\n");
30 printf("#define __ASM_ARM_MACH_TYPE_H\n\n");
31 printf("#ifndef __ASSEMBLY__\n");
32 printf("/* The type of machine we're running on */\n");
33 printf("extern unsigned int __machine_arch_type;\n");
34 printf("#endif\n\n");
[all …]
/linux-4.4.14/arch/sh/tools/
Dgen-mach-types17 printf("/*\n");
18 printf(" * Automagically generated, don't touch.\n");
19 printf(" */\n");
20 printf("#ifndef __ASM_SH_MACHTYPES_H\n");
21 printf("#define __ASM_SH_MACHTYPES_H\n");
22 printf("\n");
23 printf("/*\n");
24 printf(" * We'll use the following MACH_xxx defs for placeholders for the time\n");
25 printf(" * being .. these will all go away once sh_machtype is assigned per-board.\n");
26 printf(" *\n");
[all …]
/linux-4.4.14/tools/power/cpupower/utils/
Dcpufreq-info.c31printf(_("Couldn't count the number of CPUs (%s: %s), assuming 1\n"), "/proc/stat", strerror(errno… in count_cpus()
63 printf(_(" minimum CPU frequency - maximum CPU frequency - governor\n")); in proc_cpufreq_output()
77 printf("CPU%3d %9lu kHz (%3d %%) - %9lu kHz (%3d %%) - %s\n", in proc_cpufreq_output()
92 printf("%u.%06u GHz", ((unsigned int) speed/1000000), in print_speed()
95 printf("%u MHz", (unsigned int) speed); in print_speed()
97 printf("%u.%03u MHz", ((unsigned int) speed/1000), in print_speed()
100 printf("%lu kHz", speed); in print_speed()
106 printf("%u.%02u GHz", ((unsigned int) speed/1000000), in print_speed()
112 printf("%u MHz", ((unsigned int) speed/1000)); in print_speed()
117 printf("%u.%01u MHz", ((unsigned int) speed/1000), in print_speed()
[all …]
Dcpuidle-info.c28 printf(_ ("Analyzing CPU %d:\n"), cpu); in cpuidle_cpu_output()
32 printf(_("CPU %u: No idle states\n"), cpu); in cpuidle_cpu_output()
36 printf(_("Number of idle states: %d\n"), idlestates); in cpuidle_cpu_output()
37 printf(_("Available idle states:")); in cpuidle_cpu_output()
42 printf(" %s", tmp); in cpuidle_cpu_output()
45 printf("\n"); in cpuidle_cpu_output()
58 printf("%s%s:\n", tmp, (disabled) ? " (DISABLED) " : ""); in cpuidle_cpu_output()
64 printf(_("Flags/Description: %s\n"), tmp); in cpuidle_cpu_output()
67 printf(_("Latency: %lu\n"), in cpuidle_cpu_output()
69 printf(_("Usage: %lu\n"), in cpuidle_cpu_output()
[all …]
Dcpuidle-set.c69 printf(_("Bad latency value: %s\n"), optarg); in cmd_idle_set()
89 printf(_("You can't specify more than one " in cmd_idle_set()
93 printf(_("invalid or unknown argument\n")); in cmd_idle_set()
118 printf(_("Idlestate %u disabled on CPU %u\n"), idlestate, cpu); in cmd_idle_set()
120 printf(_("Idlestate %u not available on CPU %u\n"), in cmd_idle_set()
123 printf(_("Idlestate disabling not supported by kernel\n")); in cmd_idle_set()
125 printf(_("Idlestate %u not disabled on CPU %u\n"), in cmd_idle_set()
131 printf(_("Idlestate %u enabled on CPU %u\n"), idlestate, cpu); in cmd_idle_set()
133 printf(_("Idlestate %u not available on CPU %u\n"), in cmd_idle_set()
136 printf(_("Idlestate enabling not supported by kernel\n")); in cmd_idle_set()
[all …]
Dcpupower.c66 printf(_("Usage:\tcpupower [-d|--debug] [-c|--cpu cpulist ] <command> [<args>]\n")); in print_help()
68 printf(_("Usage:\tcpupower [-c|--cpu cpulist ] <command> [<args>]\n")); in print_help()
70 printf(_("Supported commands are:\n")); in print_help()
72 printf("\t%s\n", commands[i].cmd); in print_help()
73 printf(_("\nNot all commands can make use of the -c cpulist option.\n")); in print_help()
74 printf(_("\nUse 'cpupower help <command>' for getting help for above commands.\n")); in print_help()
115 printf(PACKAGE " " VERSION "\n"); in print_version()
116 printf(_("Report errors and bugs to %s, please.\n"), PACKAGE_BUGREPORT); in print_version()
Dcpupower-info.c26 printf(_("invalid or unknown argument\n")); in print_wrong_arg_exit()
74 printf(_("Intel's performance bias setting needs root privileges\n")); in cmd_info()
76 printf(_("System does not support Intel's performance" in cmd_info()
90 printf(_("analyzing CPU %d:\n"), cpu); in cmd_info()
99 printf(_("perf-bias: %d\n"), ret); in cmd_info()
Dcpufreq-set.c35 printf(_("Error setting new values. Common errors:\n" in print_error()
60 printf(_("invalid or unknown argument\n")); in print_unknown_arg()
147 printf(_("wrong, unknown or unhandled CPU?\n")); in do_new_policy()
272 printf("the same parameter was passed more than once\n"); in cmd_freq_set()
277 printf(_("the -f/--freq parameter cannot be combined with -d/--min, -u/--max or\n" in cmd_freq_set()
283 printf(_("At least one parameter out of -f/--freq, -d/--min, -u/--max, and\n" in cmd_freq_set()
325 printf(_("Setting cpu: %d\n"), cpu); in cmd_freq_set()
/linux-4.4.14/Documentation/arm/Samsung/
Dclksrc-change-registers.awk33 printf "find_length " f "\n" > "/dev/stderr"
44 printf "unknown legnth " f "\n" > "/dev/stderr"
52 printf "cannot find shift " s "\n" > "/dev/stderr"
75 printf "MASK " line "\n" > "/dev/stderr"
79 printf "=> '" name "' LENGTH=" dmask[name,0] " SHIFT=" dmask[name,1] "\n" > "/dev/stderr"
99 printf "unexpected end of file" > "/dev/stderr"
121 printf "shift '" shift "' ='" dmask[shift,0] "'\n" > "/dev/stderr"
122 printf "mask '" mask "'\n" > "/dev/stderr"
123 printf "dshft '" divshift "'\n" > "/dev/stderr"
124 printf "rdiv '" reg_div "'\n" > "/dev/stderr"
[all …]
/linux-4.4.14/tools/testing/selftests/mqueue/
Dmq_open_tests.c155 printf("Current rlimit value for POSIX message queue bytes is " in validate_current_settings()
166 printf("Temporarily lowering default queue parameters " in validate_current_settings()
178 printf("Temporarily lowering maximum queue parameters " in validate_current_settings()
295 printf("\nInitial system state:\n"); in main()
296 printf("\tUsing queue path:\t\t%s\n", queue_path); in main()
297 printf("\tRLIMIT_MSGQUEUE(soft):\t\t%ld\n", in main()
299 printf("\tRLIMIT_MSGQUEUE(hard):\t\t%ld\n", in main()
301 printf("\tMaximum Message Size:\t\t%d\n", saved_max_msgsize); in main()
302 printf("\tMaximum Queue Size:\t\t%d\n", saved_max_msgs); in main()
304 printf("\tDefault Message Size:\t\t%d\n", saved_def_msgsize); in main()
[all …]
Dmq_perf_tests.c297 printf("\n\tQueue %s created:\n", queue_path); in open_queue()
298 printf("\t\tmq_flags:\t\t\t%s\n", result.mq_flags & O_NONBLOCK ? in open_queue()
300 printf("\t\tmq_maxmsg:\t\t\t%lu\n", result.mq_maxmsg); in open_queue()
301 printf("\t\tmq_msgsize:\t\t\t%lu\n", result.mq_msgsize); in open_queue()
302 printf("\t\tmq_curmsgs:\t\t\t%lu\n", result.mq_curmsgs); in open_queue()
312 printf("\tStarted fake continuous mode thread %d on CPU %d\n", i, in fake_cont_thread()
326 printf("\tStarted continuous mode thread %d on CPU %d\n", i, in cont_thread()
432 printf("\n\tStarted mqueue performance test thread on CPU %d\n", in perf_test_thread()
443 printf("\t\tMax priorities:\t\t\t%d\n", mq_prio_max); in perf_test_thread()
444 printf("\t\tClock resolution:\t\t%lu nsec%s\n", res.tv_nsec, in perf_test_thread()
[all …]
/linux-4.4.14/tools/power/cpupower/debug/i386/
Dintel_gsic.c32 printf("Failed!\n"); in main()
36 printf("BIOS supports GSIC call:\n"); in main()
37 printf("\tsignature: %c%c%c%c\n", in main()
42 printf("\tcommand port = 0x%.4x\n", in main()
44 printf("\tcommand = 0x%.4x\n", in main()
46 printf("\tevent port = 0x%.8x\n", r.ecx); in main()
47 printf("\tflags = 0x%.8x\n", r.edx); in main()
49 printf("non-default command value. If speedstep-smi " in main()
56 printf("non-default command port. If speedstep-smi " in main()
63 printf("BIOS DOES NOT support GSIC call. Dumping registers anyway:\n"); in main()
[all …]
Ddump_psb.c71 printf(" %2d %8dkHz FID %02x (%2d.%01d) VID %02x (%4dmV)\n", in decode_pst()
93 printf("PSB version: %hhx flags: %hhx settling time %hhuus res1 %hhx num pst %hhu\n", in decode_psb()
109 printf("Overriding number of pst :%d\n", numpst); in decode_psb()
119 printf(" PST %d cpuid %.3x fsb %hhu mfid %hhx svid %hhx numberstates %hhu\n", in decode_psb()
142 printf ("Usage: dump_psb [options]\n"); in print_help()
143 printf ("Options:\n"); in print_help()
144 printf (" -n, --numpst Set number of PST tables to scan\n"); in print_help()
145 printf (" -r, --relevant Only display PSTs relevant to cpuid N\n"); in print_help()
180 printf ("Couldn't open /dev/mem. Are you root?\n"); in main()
Dpowernow-k8-decode.c83 printf("can't get fid, vid from MSR\n"); in main()
84 printf("Possible trouble: you don't run a powernow-k8 capable cpu\n"); in main()
85 printf("or you are not root, or the msr driver is not present\n"); in main()
90 printf("cpu %d currently at %d MHz and %d mV\n", in main()
Dcentrino-decode.c73 printf("0x%x means multiplier %d @ %d mV\n", msr, multiplier, mv); in decode()
84 printf("can't get MSR_IA32_PERF_STATUS for cpu %d\n", cpu); in decode_live()
85 printf("Possible trouble: you don't run an Enhanced SpeedStep capable cpu\n"); in decode_live()
86 printf("or you are not root, or the msr driver is not present\n"); in decode_live()
/linux-4.4.14/arch/powerpc/xmon/
Dspu-dis.c105 printf(".long 0x%x", insn); in print_insn_spu()
112 printf("%s", index->mnemonic); in print_insn_spu()
119 printf(tag == M_SYNC ? "c" : "p"); in print_insn_spu()
121 printf("d"); in print_insn_spu()
123 printf("e"); in print_insn_spu()
126 printf("\t"); in print_insn_spu()
132 printf(","); in print_insn_spu()
137 printf("$%d", in print_insn_spu()
141 printf("$%d", in print_insn_spu()
145 printf("$%d", in print_insn_spu()
[all …]
Dxmon.c432 printf("cpu 0x%x: Exception %lx %s in xmon, " in xmon_core()
442 printf("xmon: WARNING: bad recursive fault " in xmon_core()
463 printf("cpu 0x%x stopped at breakpoint 0x%lx (", in xmon_core()
468 printf("WARNING: exception is not recoverable, " in xmon_core()
507 printf("enter ? for help\n"); in xmon_core()
546 printf("Exception %lx %s in xmon, returning to main loop\n", in xmon_core()
557 printf("Stopped at breakpoint %lx (", BP_NUM(bp)); in xmon_core()
561 printf("WARNING: exception is not recoverable, " in xmon_core()
568 printf("enter ? for help\n"); in xmon_core()
594 printf("Couldn't single-step %s instruction\n", in xmon_core()
[all …]
Dppc-dis.c90 printf("%s", opcode->name); in print_insn_powerpc()
92 printf("\t"); in print_insn_powerpc()
129 printf(","); in print_insn_powerpc()
136 printf("r%ld", value); in print_insn_powerpc()
138 printf("f%ld", value); in print_insn_powerpc()
140 printf("v%ld", value); in print_insn_powerpc()
147 printf("%ld", value); in print_insn_powerpc()
151 printf("cr%ld", value); in print_insn_powerpc()
160 printf("4*cr%d+", cr); in print_insn_powerpc()
162 printf("%s", cbnames[cc]); in print_insn_powerpc()
[all …]
/linux-4.4.14/scripts/dtc/
Dfdtdump.c30 printf(" = \"%s\"", (const char *)data); in print_data()
32 printf(" = <"); in print_data()
34 printf("0x%08x%s", fdt32_to_cpu(GET_CELL(p)), in print_data()
36 printf(">"); in print_data()
38 printf(" = ["); in print_data()
40 printf("%02x%s", *p++, i < len - 1 ? " " : ""); in print_data()
41 printf("]"); in print_data()
66 printf("/dts-v1/;\n"); in dump_blob()
67 printf("// magic:\t\t0x%x\n", fdt32_to_cpu(bph->magic)); in dump_blob()
68 printf("// totalsize:\t\t0x%x (%d)\n", totalsize, totalsize); in dump_blob()
[all …]
Dutil.c360 printf(" = "); in utilfdt_print_data()
364 printf("\"%s\"", s); in utilfdt_print_data()
367 printf(", "); in utilfdt_print_data()
373 printf(" = <"); in utilfdt_print_data()
375 printf("0x%08x%s", fdt32_to_cpu(cell[i]), in utilfdt_print_data()
377 printf(">"); in utilfdt_print_data()
379 printf(" = ["); in utilfdt_print_data()
381 printf("%02x%s", *p++, i < len - 1 ? " " : ""); in utilfdt_print_data()
382 printf("]"); in utilfdt_print_data()
388 printf("Version: %s\n", DTC_VERSION); in util_version()
Dfdtget.c89 printf(" "); in show_data()
90 printf("%s", (const char *)s); in show_data()
107 printf(" "); in show_data()
110 printf(fmt, value); in show_data()
173 printf("Nested too deep, aborting.\n"); in list_subnodes()
188 printf("Unknown tag 0x%08X\n", tag); in list_subnodes()
228 printf("\n"); in show_data_for_item()
Dsrcpos.c254 printf("file : \"%s\"\n", in srcpos_dump()
256 printf("first_line : %d\n", pos->first_line); in srcpos_dump()
257 printf("first_column: %d\n", pos->first_column); in srcpos_dump()
258 printf("last_line : %d\n", pos->last_line); in srcpos_dump()
259 printf("last_column : %d\n", pos->last_column); in srcpos_dump()
260 printf("file : %s\n", pos->file->name); in srcpos_dump()
/linux-4.4.14/arch/x86/boot/compressed/
Dmkpiggy.c81 printf(".section \".rodata..compressed\",\"a\",@progbits\n"); in main()
82 printf(".globl z_input_len\n"); in main()
83 printf("z_input_len = %lu\n", ilen); in main()
84 printf(".globl z_output_len\n"); in main()
85 printf("z_output_len = %lu\n", (unsigned long)olen); in main()
86 printf(".globl z_extract_offset\n"); in main()
87 printf("z_extract_offset = 0x%lx\n", offs); in main()
89 printf(".globl z_extract_offset_negative\n"); in main()
90 printf("z_extract_offset_negative = -0x%lx\n", offs); in main()
91 printf(".globl z_run_size\n"); in main()
[all …]
/linux-4.4.14/scripts/kconfig/
Dconf.c53 printf("\n%s\n", str_get(&help)); in print_help()
77 printf(_("aborted!\n\n")); in check_stdin()
78 printf(_("Console input/output is redirected. ")); in check_stdin()
79 printf(_("Run 'make oldconfig' to update configuration.\n\n")); in check_stdin()
89 printf(_("(NEW) ")); in conf_askvalue()
95 printf("%s\n", def); in conf_askvalue()
105 printf("%s\n", def); in conf_askvalue()
114 printf("\n"); in conf_askvalue()
124 printf("%s\n", def); in conf_askvalue()
129 printf("%s", line); in conf_askvalue()
[all …]
/linux-4.4.14/tools/testing/selftests/capabilities/
Dtest_execve.c98 printf("[NOTE]\tUsing global UIDs for tests\n"); in create_and_enter_ns()
114 printf("[NOTE]\tUsing a user namespace for tests\n"); in create_and_enter_ns()
180 printf("[FAIL]\tChild died\n"); in fork_wait()
183 printf("[FAIL]\tChild failed\n"); in fork_wait()
186 printf("[OK]\tChild succeeded\n"); in fork_wait()
261 printf("[RUN]\tRoot => ep\n"); in do_tests()
265 printf("[RUN]\tNon-root => no caps\n"); in do_tests()
270 printf("[OK]\tCheck cap_ambient manipulation rules\n"); in do_tests()
275 printf("[FAIL]\tPR_CAP_AMBIENT_RAISE isn't supported\n"); in do_tests()
277 printf("[FAIL]\tPR_CAP_AMBIENT_RAISE should have failed eith EPERM on a non-inheritable cap\n"); in do_tests()
[all …]
Dvalidate_cap.c54 printf("[FAIL]\tWrong effective state%s\n", atsec); in main()
58 printf("[FAIL]\tWrong permitted state%s\n", atsec); in main()
62 printf("[FAIL]\tWrong inheritable state%s\n", atsec); in main()
67 printf("[FAIL]\tWrong ambient state%s\n", atsec); in main()
71 printf("[OK]\tCapabilities after execve were correct\n"); in main()
/linux-4.4.14/tools/testing/selftests/x86/
Dtest_FCOMI.c74 printf("[BAD]\tfcomi_1_pi with flags:%lx\n", flags); in test()
78 printf("[BAD]\tfcomi_pi_1 with flags:%lx->%lx\n", flags, res_fcomi_pi_1 & ARITH); in test()
82 printf("[BAD]\tfcomi_1_1 with flags:%lx\n", flags); in test()
86 printf("[BAD]\tFE_INVALID is set in %s\n", __func__); in test()
111 printf("[BAD]\tfcomi_qnan_1 with flags:%lx\n", flags); in test_qnan()
115 printf("[BAD]\tFE_INVALID is not set in %s\n", __func__); in test_qnan()
140 printf("[BAD]\tfcomi_qnan_1 with flags:%lx\n", flags); in testu_qnan()
144 printf("[BAD]\tFE_INVALID is set in %s\n", __func__); in testu_qnan()
171 printf("[BAD]\tfcomi_qnan_1 with flags:%lx\n", flags); in testu_snan()
176 printf("[BAD]\tFE_INVALID is not set in %s\n", __func__); in testu_snan()
[all …]
Dsingle_step_syscall.c85 printf("[WARN]\tSIGTRAP handler had TF set\n"); in sigtrap()
92 printf("[WARN]\tHit %d SIGTRAPs with si_addr 0x%lx, ip 0x%lx\n", in sigtrap()
105 printf("[FAIL]\tNo SIGTRAP\n"); in check_result()
110 printf("[FAIL]\tTF was cleared\n"); in check_result()
114 printf("[OK]\tSurvived with TF set and %d traps\n", (int)sig_traps); in check_result()
124 printf("[RUN]\tSet TF and check nop\n"); in main()
130 printf("[RUN]\tSet TF and check syscall-less opportunistic sysret\n"); in main()
141 printf("[RUN]\tSet TF and check int80\n"); in main()
162 printf("[RUN]\tSet TF and check a fast syscall\n"); in main()
168 printf("[RUN]\tFast syscall with TF cleared\n"); in main()
[all …]
Dtest_FISTTP.c35 printf("[BAD]\tfisttp 1\n"); in test()
40 printf("[BAD]\tfisttp 1: wrong exception state\n"); in test()
55 printf("[BAD]\tfisttp pi\n"); in test()
60 printf("[BAD]\tfisttp pi: wrong exception state\n"); in test()
78 printf("[BAD]\tfisttp -pi\n"); in test()
83 printf("[BAD]\tfisttp -pi: wrong exception state\n"); in test()
99 printf("[BAD]\tfisttp ln2\n"); in test()
104 printf("[BAD]\tfisttp ln2: wrong exception state\n"); in test()
113 printf("[FAIL]\tGot signal %d, exiting\n", sig); in sighandler()
129 printf("[RUN]\tTesting fisttp instructions\n"); in main()
[all …]
Dldt_gdt.c66 printf("[FAIL]\t%s entry %hu is valid but should be invalid\n", in check_invalid_segment()
70 printf("[OK]\t%s entry %hu is invalid\n", in check_invalid_segment()
96 printf("[FAIL]\t%s entry %hu is invalid but should be valid\n", in check_valid_segment()
103 printf("[FAIL]\t%s entry %hu has AR 0x%08X but expected 0x%08X\n", in check_valid_segment()
107 printf("[FAIL]\t%s entry %hu has limit 0x%08X but expected 0x%08X\n", in check_valid_segment()
111 printf("[OK]\t%s entry %hu has AR 0x%08X and limit 0x%08X\n", in check_valid_segment()
130 printf("[OK]\tmodify_ldt returned -ENOSYS\n"); in install_valid_mode()
134 printf("[FAIL]\tUnexpected modify_ldt failure %d\n", in install_valid_mode()
139 printf("[OK]\tmodify_ldt rejected 16 bit segment\n"); in install_valid_mode()
159 printf("[OK]\tmodify_ldt returned -ENOSYS\n"); in install_invalid()
[all …]
Dtest_syscall_vdso.c38 printf("[SKIP]\tNot a 32-bit x86 userspace\n"); in main()
52 printf("[WARN]\tAT_SYSINFO not supplied\n"); in get_syscall()
120printf("ax:%016llx bx:%016llx cx:%016llx dx:%016llx\n", regs64.rax, regs64.rbx, regs64.rcx, reg… in print_regs64()
121printf("si:%016llx di:%016llx bp:%016llx sp:%016llx\n", regs64.rsi, regs64.rdi, regs64.rbp, reg… in print_regs64()
122printf(" 8:%016llx 9:%016llx 10:%016llx 11:%016llx\n", regs64.r8 , regs64.r9 , regs64.r10, reg… in print_regs64()
123printf("12:%016llx 13:%016llx 14:%016llx 15:%016llx\n", regs64.r12, regs64.r13, regs64.r14, reg… in print_regs64()
146 printf("[NOTE]\tR11 has changed:%016llx - assuming clobbered by SYSRET insn\n", *r64); in check_regs64()
163 printf("[FAIL]\tR%d has changed:%016llx\n", num, *r64); in check_regs64()
168 printf("[OK]\tR8..R15 did not leak kernel data\n"); in check_regs64()
232 printf("%s=%016lx ", name, r); in print_flags()
[all …]
Dunwind_vdso.c27 printf("[SKIP]\tGLIBC before 2.16 cannot compile this test\n"); in main()
107 printf("\t 0x%lx\n", ip); in trace_fn()
124 printf("[%s]\t NR = %ld, args = %ld, %ld, %ld, %ld, %ld, %ld\n", in trace_fn()
147 printf("\tIn vsyscall at 0x%lx, returning to 0x%lx\n", in sigtrap()
156 printf("\tVsyscall is done\n"); in sigtrap()
160 printf("\tSIGTRAP at 0x%lx\n", ip); in sigtrap()
170 printf("\tAT_SYSINFO is 0x%lx\n", sysinfo); in main()
174 printf("[WARN]\tdladdr failed on AT_SYSINFO\n"); in main()
176 printf("[OK]\tAT_SYSINFO maps to %s, loaded at 0x%p\n", in main()
183 printf("[RUN]\tSet TF and check a fast syscall\n"); in main()
[all …]
Dptrace_syscall.c139 printf("[FAIL]\tgetpid() failed to preseve regs\n"); in test_sys32_regs()
142 printf("[OK]\tgetpid() preserves regs\n"); in test_sys32_regs()
154 printf("[FAIL]\tkill(getpid(), SIGUSR1) failed to preseve regs\n"); in test_sys32_regs()
157 printf("[OK]\tkill(getpid(), SIGUSR1) preserves regs\n"); in test_sys32_regs()
164 printf("[RUN]\tptrace-induced syscall restart\n"); in test_ptrace_syscall_restart()
173 printf("\tChild will make one syscall\n"); in test_ptrace_syscall_restart()
188 printf("[RUN]\tSYSEMU\n"); in test_ptrace_syscall_restart()
200printf("[FAIL]\tInitial args are wrong (nr=%lu, args=%lu %lu %lu %lu %lu %lu)\n", (unsigned long)r… in test_ptrace_syscall_restart()
203 printf("[OK]\tInitial nr and args are correct\n"); in test_ptrace_syscall_restart()
206 printf("[RUN]\tRestart the syscall (ip = 0x%lx)\n", in test_ptrace_syscall_restart()
[all …]
Dentry_from_vm86.c61 printf("[FAIL]\tSignal frame should not reflect vm86 mode\n"); in sighandler()
73 printf("[INFO]\t%s: FLAGS = 0x%lx, CS = 0x%hx\n", signame, in sighandler()
115 printf("[RUN]\t%s from vm86 mode\n", text); in do_test()
120 printf("[SKIP]\tvm86 %s\n", in do_test()
137 printf("[INFO]\tExited vm86 mode due to #%s\n", trapname); in do_test()
139 printf("[INFO]\tExited vm86 mode due to unhandled GP fault\n"); in do_test()
141 printf("[INFO]\tExited vm86 mode due to a trap (arg=%ld)\n", in do_test()
144 printf("[INFO]\tExited vm86 mode due to a signal\n"); in do_test()
146 printf("[INFO]\tExited vm86 mode due to STI\n"); in do_test()
148 printf("[INFO]\tExited vm86 mode due to type %ld, arg %ld\n", in do_test()
[all …]
Dsigreturn.c149 printf("[NOTE]\tFailed to create %s segment\n", name); in add_ldt()
233 printf("[WARN]\tset_thread_area allocated data16 at index %d\n", in setup_ldt()
237 printf("[OK]\tset_thread_area refused 16-bit data\n"); in setup_ldt()
256 printf("[WARN]\tset_thread_area allocated npdata32 at index %d\n", in setup_ldt()
260 printf("[OK]\tset_thread_area refused 16-bit data\n"); in setup_ldt()
353 printf("[FAIL]\tSIGTRAP: ss = %hx, frame ss = %hx, ax = %llx\n", in sigtrap()
413 printf("[WARN]\tCould not find %d-bit CS\n", bitness); in find_cs()
421 printf("[SKIP]\tCode segment unavailable for %d-bit CS, %d-bit SS\n", in test_valid_sigreturn()
431 printf("[SKIP]\tData segment unavailable for %d-bit CS, 16-bit SS\n", in test_valid_sigreturn()
443 printf("[RUN]\tValid sigreturn: %d-bit CS (%hx), %d-bit SS (%hx%s)\n", in test_valid_sigreturn()
[all …]
Dsyscall_arg_fault.c51 printf("[FAIL]\tAX had the wrong value: 0x%x\n", in sigsegv()
55 printf("[OK]\tSeems okay\n"); in sigsegv()
63 printf("[SKIP]\tIllegal instruction\n"); in sigill()
98 printf("[RUN]\tSYSENTER with invalid state\n"); in main()
113 printf("[RUN]\tSYSCALL with invalid state\n"); in main()
Dsyscall_nt.c44 printf("[RUN]\tSet NT and issue a syscall\n"); in main()
48 printf("[OK]\tThe syscall worked and NT is still set\n"); in main()
51 printf("[FAIL]\tThe syscall worked but NT was cleared\n"); in main()
Dsysret_ss_attrs.c67 printf("[WARN]\tsched_setaffinity failed\n"); in main()
81 printf("[RUN]\tSyscalls followed by SS validation\n"); in main()
105 printf("[OK]\tWe survived\n"); in main()
Dtest_FCMOV.c49 printf("[FAIL]\tGot signal %d, exiting\n", sig); in sighandler()
65 printf("[RUN]\tTesting fcmovCC instructions\n"); in main()
88 printf("[OK]\tfcmovCC\n"); in main()
90 printf("[FAIL]\tfcmovCC errors: %d\n", err); in main()
/linux-4.4.14/Documentation/prctl/
Ddisable-tsc-test.c44 printf("[ SIG_SEGV ]\n"); in sigsegv_cb()
45 printf("prctl(PR_GET_TSC, &tsc_val); "); in sigsegv_cb()
51 printf("tsc_val == %s\n", tsc_names[tsc_val]); in sigsegv_cb()
52 printf("prctl(PR_SET_TSC, PR_TSC_ENABLE)\n"); in sigsegv_cb()
57 printf("rdtsc() == "); in sigsegv_cb()
66 printf("rdtsc() == %llu\n", (unsigned long long)rdtsc()); in main()
67 printf("prctl(PR_GET_TSC, &tsc_val); "); in main()
73 printf("tsc_val == %s\n", tsc_names[tsc_val]); in main()
74 printf("rdtsc() == %llu\n", (unsigned long long)rdtsc()); in main()
75 printf("prctl(PR_SET_TSC, PR_TSC_ENABLE)\n"); in main()
[all …]
/linux-4.4.14/tools/testing/selftests/ipc/
Dmsgque.c40 printf("Failed to open /proc/sys/kernel/msg_next_id\n"); in restore_queue()
47 printf("Failed to write to /proc/sys/kernel/msg_next_id\n"); in restore_queue()
53 printf("Failed to create queue\n"); in restore_queue()
58 printf("Restored queue has wrong id (%d instead of %d)\n", in restore_queue()
67 printf("msgsnd failed (%m)\n"); in restore_queue()
76 printf("Failed to destroy queue: %d\n", -errno); in restore_queue()
91 printf("Failed to read IPC message: %m\n"); in check_and_destroy_queue()
96 printf("Wrong message size: %d (expected %d)\n", ret, in check_and_destroy_queue()
102 printf("Wrong message type\n"); in check_and_destroy_queue()
107 printf("Wrong message content\n"); in check_and_destroy_queue()
[all …]
/linux-4.4.14/Documentation/networking/timestamping/
Dtimestamping.c68 printf("invalid option: %s\n", error); in usage()
69 printf("timestamping interface option*\n\n" in usage()
87 printf("%s: %s\n", error, strerror(errno)); in bail()
146 printf("%s: %s\n", "send", strerror(errno)); in sendpacket()
148 printf("%ld.%06ld: sent %d bytes\n", in sendpacket()
166 printf("%ld.%06ld: received %s data, %d bytes from %s, %zu bytes control messages\n", in printpacket()
175 printf(" cmsg len %zu: ", cmsg->cmsg_len); in printpacket()
178 printf("SOL_SOCKET "); in printpacket()
183 printf("SO_TIMESTAMP %ld.%06ld", in printpacket()
191 printf("SO_TIMESTAMPNS %ld.%09ld", in printpacket()
[all …]
Dhwtstamp_config.c121 printf("flags = %#x\n", config.flags); in main()
124 printf("tx_type = %s\n", name); in main()
126 printf("tx_type = %d\n", config.tx_type); in main()
129 printf("rx_filter = %s\n", name); in main()
131 printf("rx_filter = %d\n", config.rx_filter); in main()
/linux-4.4.14/tools/power/cpupower/bench/
Dmain.c54 printf("usage: ./bench\n"); in usage()
55 printf("Options:\n"); in usage()
56 printf(" -l, --load=<long int>\t\tinitial load time in us\n"); in usage()
57 printf(" -s, --sleep=<long int>\t\tinitial sleep time in us\n"); in usage()
58 printf(" -x, --load-step=<long int>\ttime to be added to load time, in us\n"); in usage()
59 printf(" -y, --sleep-step=<long int>\ttime to be added to sleep time, in us\n"); in usage()
60 printf(" -c, --cpu=<cpu #>\t\t\tCPU Nr. to use, starting at 0\n"); in usage()
61 printf(" -p, --prio=<priority>\t\t\tscheduler priority, HIGH, LOW or DEFAULT\n"); in usage()
62 printf(" -g, --governor=<governor>\t\tcpufreq governor to test\n"); in usage()
63 printf(" -n, --cycles=<int>\t\t\tload/sleep cycles\n"); in usage()
[all …]
Dbenchmark.c54 printf("calibrating load of %lius, please wait...\n", load); in calculate_timespace()
76 printf("calibration done\n"); in calculate_timespace()
125 printf("_round %i: doing %u cycles with %u calculations" in start_benchmark()
133 printf("avarage: %lius, rps:%li\n", in start_benchmark()
145 printf("performance cycle took %lius, " in start_benchmark()
171 printf("powersave cycle took %lius, " in start_benchmark()
188 printf("performance is at %.2f%%\n", in start_benchmark()
Dsystem.c153 printf("approx. test duration: %im\n", in prepare_user()
167 printf("set cpu affinity to cpu #%u\n", config->cpu); in prepare_system()
174 printf("high priority condition requested\n"); in prepare_system()
180 printf("low priority condition requested\n"); in prepare_system()
186 printf("default priority condition requested\n"); in prepare_system()
/linux-4.4.14/tools/testing/selftests/timers/
Dleap-a-day.c150 printf("Error: Early timer expiration! (Should be %ld)\n", next_leap); in sigalarm()
152 printf("adjtimex: %10ld sec + %6ld us (%i)\t%s\n", in sigalarm()
159 printf("Error: Timer seeing incorrect NTP state? (Should be TIME_WAIT)\n"); in sigalarm()
161 printf("adjtimex: %10ld sec + %6ld us (%i)\t%s\n", in sigalarm()
181 printf("ERROR: hrtimer early expiration failure observed.\n"); in test_hrtimer_failure()
203 printf("Setting time to speed up testing\n"); in main()
213 printf("Usage: %s [-s] [-i <iterations>]\n", argv[0]); in main()
214 printf(" -s: Set time to right before leap second each iteration\n"); in main()
215 printf(" -i: Number of iterations\n"); in main()
216 printf(" -t: Print TAI time\n"); in main()
[all …]
Dposix_timers.c71 printf("Diff too high: %lld..", diff); in check_diff()
86 printf("Check itimer "); in check_itimer()
89 printf("virtual... "); in check_itimer()
91 printf("prof... "); in check_itimer()
93 printf("real... "); in check_itimer()
132 printf("[OK]\n"); in check_itimer()
134 printf("[FAIL]\n"); in check_itimer()
148 printf("Check timer_create() "); in check_timer_create()
150 printf("per thread... "); in check_timer_create()
152 printf("per process... "); in check_timer_create()
[all …]
Dthreadtest.c74 printf("\n"); in checklist()
77 printf("---------------\n"); in checklist()
78 printf("%lu:%lu\n", list[j].tv_sec, list[j].tv_nsec); in checklist()
80 printf("---------------\n"); in checklist()
82 printf("[FAILED]\n"); in checklist()
157 printf("using independent threads\n"); in main()
160 printf("Usage: %s [-t <secs>] [-n <numthreads>] [-i]\n", argv[0]); in main()
161 printf(" -t: time to run\n"); in main()
162 printf(" -n: number of threads\n"); in main()
163 printf(" -i: use independent threads\n"); in main()
[all …]
Dvalid-adjtimex.c126 printf("Testing ADJ_FREQ... "); in validate_freq()
133 printf("[FAIL]\n"); in validate_freq()
134 printf("Error: adjtimex(ADJ_FREQ, %ld - %ld ppm\n", in validate_freq()
142 printf("Warning: freq value %ld not what we set it (%ld)!\n", in validate_freq()
152 printf("[FAIL]\n"); in validate_freq()
153 printf("Error: adjtimex(ADJ_FREQ, %ld - %ld ppm\n", in validate_freq()
161 printf("[FAIL]\n"); in validate_freq()
162 printf("ERROR: out of range value %ld actually set!\n", in validate_freq()
176 printf("[FAIL]\n"); in validate_freq()
177 printf("Error: No failure on invalid ADJ_FREQUENCY %ld\n", in validate_freq()
[all …]
Dinconsistency-check.c136 printf("\%s\n", start_str); in consistency_test()
139 printf("--------------------\n"); in consistency_test()
140 printf("%lu:%lu\n", list[i].tv_sec, in consistency_test()
143 printf("--------------------\n"); in consistency_test()
149 printf("Delta: %llu ns\n", delta); in consistency_test()
153 printf("%s\n", ctime(&t)); in consistency_test()
154 printf("[FAILED]\n"); in consistency_test()
159 printf("[OK]\n"); in consistency_test()
183 printf("Usage: %s [-t <secs>] [-c <clockid>]\n", argv[0]); in main()
184 printf(" -t: Number of seconds to run\n"); in main()
[all …]
Dset-timer-lat.c118 printf("%s timer fired early: FAIL\n", clockstring(clock_id)); in sigalarm()
144 printf("%-22s %s missing CAP_WAKE_ALARM? : [UNSUPPORTED]\n", in do_timer()
149 printf("%s - timer_create() failed\n", clockstring(clock_id)); in do_timer()
166 printf("%s - timer_settime() failed\n", clockstring(clock_id)); in do_timer()
173 printf("%-22s %s max latency: %10lld ns : ", in do_timer()
180 printf("[OK]\n"); in do_timer()
183 printf("[FAILED]\n"); in do_timer()
199 printf("Setting timers for every %i seconds\n", TIMER_SECS); in main()
Dalarmtimer-suspend.c119 printf("ALARM(%i): %ld:%ld latency: %lld ns ", alarmcount, ts.tv_sec, in sigalarm()
123 printf("[FAIL]\n"); in sigalarm()
126 printf("[OK]\n"); in sigalarm()
156 printf("timer_create failled, %s unspported?\n", in main()
162 printf("Start time (%s): %ld:%ld\n", clockstring(alarm_clock_id), in main()
164 printf("Setting alarm for every %i seconds\n", SUSPEND_SECS); in main()
175 printf("Starting suspend loops\n"); in main()
Dchange_skew.c57 printf("Error adjusting freq\n"); in change_skew_test()
85 printf("Maybe you're not running as root?\n"); in main()
90 printf("Using %i ppm adjustment\n", ppm[i]); in main()
102 printf("[FAIL]"); in main()
105 printf("[OK]"); in main()
Dadjtick.c146 printf("Estimating tick (act: %ld usec, %lld ppm): ", tickval, ppm); in check_tick_adj()
149 printf("%lld usec, %lld ppm", systick + (systick * eppm / MILLION), eppm); in check_tick_adj()
155 printf(" [ERROR]\n"); in check_tick_adj()
156 printf("\tUnexpected adjtimex return values, make sure ntpd is not running.\n"); in check_tick_adj()
170 printf(" [FAILED]\n"); in check_tick_adj()
173 printf(" [OK]\n"); in check_tick_adj()
188 printf("ERR: NO CLOCK_MONOTONIC_RAW\n"); in main()
192 printf("Each iteration takes about 15 seconds\n"); in main()
Draw_skew.c113 printf("ERR: NO CLOCK_MONOTONIC_RAW\n"); in main()
124 printf("WARNING: ADJ_OFFSET in progress, this will cause inaccurate results\n"); in main()
126 printf("Estimating clock drift: "); in main()
140 printf("%lld.%i(est)", eppm/1000, abs((int)(eppm%1000))); in main()
146 printf(" %lld.%i(act)", ppm/1000, abs((int)(ppm%1000))); in main()
149 printf(" [FAILED]\n"); in main()
152 printf(" [OK]\n"); in main()
Dset-tai.c66 printf("tai offset started at %i\n", ret); in main()
68 printf("Checking tai offsets can be properly set: "); in main()
73 printf("[FAILED] expected: %i got %i\n", i, ret); in main()
77 printf("[OK]\n"); in main()
Dnsleep-lat.c132 printf("Large rel latency: %lld ns :", (timespec_sub(start, end)/count)-ns); in nanosleep_lat_test()
146 printf("Large abs latency: %lld ns :", latency/count); in nanosleep_lat_test()
168 printf("nsleep latency %-26s ", clockstring(clockid)); in main()
180 printf("[UNSUPPORTED]\n"); in main()
184 printf("[FAILED]\n"); in main()
187 printf("[OK]\n"); in main()
Dleapcrash.c82 printf("This runs for a few minutes. Press ctrl-c to stop\n"); in main()
102 printf("Error: You're likely not running with proper (ie: root) permissions\n"); in main()
116 printf("."); in main()
118 printf("[OK]\n"); in main()
Dskew_consistency.c60 printf("Running Asyncrhonous Frequency Changing Tests...\n"); in main()
84 printf("[FAILED]\n"); in main()
87 printf("[OK]\n"); in main()
Dnanosleep.c155 printf("Nanosleep %-31s ", clockstring(clockid)); in main()
161 printf("[UNSUPPORTED]\n"); in main()
165 printf("[FAILED]\n"); in main()
170 printf("[OK]\n"); in main()
Dmqueue-lat.c115 printf("Mqueue latency : "); in main()
119 printf("[FAILED]\n"); in main()
122 printf("[OK]\n"); in main()
/linux-4.4.14/tools/power/cpupower/utils/idle_monitor/
Dcpupower-monitor.c49 printf(_("invalid or unknown argument\n")); in print_wrong_arg_exit()
70 printf(" "); in print_n_spaces()
94 printf("%s|", buf); in print_header()
100 printf("|| "); in print_header()
105 printf("%s", buf); in print_header()
107 printf("\n"); in print_header()
110 printf("PKG |"); in print_header()
112 printf("CORE|"); in print_header()
114 printf("CPU |"); in print_header()
118 printf("|| "); in print_header()
[all …]
/linux-4.4.14/tools/testing/selftests/memfd/
Dmemfd_test.c36 printf("memfd_create(\"%s\", %u) failed: %m\n", in mfd_assert_new()
43 printf("ftruncate(%llu) failed: %m\n", (unsigned long long)sz); in mfd_assert_new()
56 printf("memfd_create(\"%s\", %u) succeeded, but failure expected\n", in mfd_fail_new()
69 printf("GET_SEALS(%d) failed: %m\n", fd); in mfd_assert_get_seals()
82 printf("%u != %u = GET_SEALS(%d)\n", seals, s, fd); in mfd_assert_has_seals()
95 printf("ADD_SEALS(%d, %u -> %u) failed: %m\n", fd, s, seals); in mfd_assert_add_seals()
113 printf("ADD_SEALS(%d, %u -> %u) didn't fail as expected\n", in mfd_fail_add_seals()
126 printf("fstat(%d) failed: %m\n", fd); in mfd_assert_size()
129 printf("wrong file size %lld, but expected %lld\n", in mfd_assert_size()
141 printf("dup(%d) failed: %m\n", fd); in mfd_assert_dup()
[all …]
Dfuse_test.c50 printf("memfd_create(\"%s\", %u) failed: %m\n", in mfd_assert_new()
57 printf("ftruncate(%llu) failed: %m\n", (unsigned long long)sz); in mfd_assert_new()
70 printf("GET_SEALS(%d) failed: %m\n", fd); in mfd_assert_get_seals()
83 printf("%llu != %llu = GET_SEALS(%d)\n", in mfd_assert_has_seals()
97 printf("ADD_SEALS(%d, %llu -> %llu) failed: %m\n", in mfd_assert_add_seals()
116 printf("ADD_SEALS(%d, %llu -> %llu) didn't fail as expected with EBUSY: %m\n", in mfd_busy_add_seals()
135 printf("mmap() failed: %m\n"); in mfd_assert_mmap_shared()
153 printf("mmap() failed: %m\n"); in mfd_assert_mmap_private()
188 printf("HURRAY! This kernel fixed GUP races!\n"); in sealing_thread_fn()
207 printf("malloc(STACK_SIZE) failed: %m\n"); in spawn_sealing_thread()
[all …]
/linux-4.4.14/samples/hidraw/
Dhid-example.c72 printf("Report Descriptor Size: %d\n", desc_size); in main()
80 printf("Report Descriptor:\n"); in main()
82 printf("%hhx ", rpt_desc.value[i]); in main()
91 printf("Raw Name: %s\n", buf); in main()
98 printf("Raw Phys: %s\n", buf); in main()
105 printf("Raw Info:\n"); in main()
106 printf("\tbustype: %d (%s)\n", in main()
108 printf("\tvendor: 0x%04hx\n", info.vendor); in main()
109 printf("\tproduct: 0x%04hx\n", info.product); in main()
121 printf("ioctl HIDIOCGFEATURE returned: %d\n", res); in main()
[all …]
/linux-4.4.14/samples/bpf/
Dfds_example.c32 printf("Usage: fds_example [...]\n"); in usage()
33 printf(" -F <file> File to pin/get object\n"); in usage()
34 printf(" -P |- pin object\n"); in usage()
35 printf(" -G `- get object\n"); in usage()
36 printf(" -m eBPF map mode\n"); in usage()
37 printf(" -k <key> |- map key\n"); in usage()
38 printf(" -v <value> `- map value\n"); in usage()
39 printf(" -p eBPF prog mode\n"); in usage()
40 printf(" -o <object> `- object file\n"); in usage()
41 printf(" -h Display this help.\n"); in usage()
[all …]
Dtracex3_user.c69 printf("|1ns |10ns |100ns |1us |10us |100us" in print_banner()
72 printf("|1us |10us |100us |1ms |10ms " in print_banner()
97 printf("%s", sym[c]); in print_hist()
99 printf("%s %s", color[c], nocolor); in print_hist()
101 printf(" # %lld\n", total_events); in print_hist()
112 printf("%s", bpf_log_buf); in main()
122 printf("Usage:\n" in main()
129 printf(" heatmap of IO latency\n"); in main()
131 printf(" %s", sym[num_colors - 1]); in main()
133 printf(" %s %s", color[num_colors - 1], nocolor); in main()
[all …]
Dtracex2_user.c62 printf(" syscall write() stats\n"); in print_hist_for_pid()
63 printf(" byte_size : count distribution\n"); in print_hist_for_pid()
66 printf("%8ld -> %-8ld : %-8ld |%-*s|\n", in print_hist_for_pid()
91 printf("\npid %d cmd %s uid %d\n", in print_hist()
126 printf("%s", bpf_log_buf); in main()
134 printf("location 0x%lx count %ld\n", next_key, value); in main()
138 printf("\n"); in main()
Dbpf_load.c41 printf("failed to store prog_fd in prog_array\n"); in populate_prog_array()
67 printf("Unknown event '%s'\n", event); in load_and_attach()
73 printf("bpf_prog_load() err=%d\n%s", errno, bpf_log_buf); in load_and_attach()
85 printf("invalid prog number\n"); in load_and_attach()
98 printf("event name cannot be empty\n"); in load_and_attach()
110 printf("failed to create kprobe '%s' error '%s'\n", in load_and_attach()
123 printf("failed to open event %s\n", event); in load_and_attach()
129 printf("read from '%s' failed '%s'\n", event, strerror(errno)); in load_and_attach()
141 printf("event %d fd %d err %s\n", id, efd, strerror(errno)); in load_and_attach()
212 printf("invalid relo for insn[%d].code 0x%x\n", in parse_relo_and_apply()
[all …]
Dlathist_user.c45 printf("\033[2J"); in print_hist()
54 printf("CPU %d\n", j); in print_hist()
55 printf(" latency : count distribution\n"); in print_hist()
58 printf("%8ld -> %-8ld : %-8ld |%-*s|\n", in print_hist()
92 printf("%s", bpf_log_buf); in main()
Dtrace_output_user.c43 printf("mmap err\n"); in perf_event_mmap()
107 printf("lost %lld events\n", lost->lost); in perf_event_read()
109 printf("unknown event type=%d size=%d\n", in perf_event_read()
139 printf("BUG pid %llx cookie %llx sized %d\n", in print_bpf_output()
147 printf("recv %lld events per sec\n", in print_bpf_output()
177 printf("%s", bpf_log_buf); in main()
Dsock_example.c39 printf("failed to create map '%s'\n", strerror(errno)); in test_sock()
61 printf("failed to load prog '%s'\n", strerror(errno)); in test_sock()
69 printf("setsockopt %s\n", strerror(errno)); in test_sock()
83 printf("TCP %lld UDP %lld ICMP %lld packets\n", in test_sock()
Dsockex3_user.c33 printf("%s", bpf_log_buf); in main()
53 printf("IP src.port -> dst.port bytes packets\n"); in main()
56 printf("%s.%05d -> %s.%05d %12lld %12lld\n", in main()
/linux-4.4.14/arch/m68k/math-emu/
Dfp_entry.S126 printf PREGISTER,"{d0->%08x}",1,%d0
131 printf PREGISTER,"{d1->%08x}",1,%d0
136 printf PREGISTER,"{d2->%08x}",1,%d0
141 printf PREGISTER,"{d3->%08x}",1,%d0
146 printf PREGISTER,"{d4->%08x}",1,%d0
151 printf PREGISTER,"{d5->%08x}",1,%d0
156 printf PREGISTER,"{d6->%08x}",1,%d0
161 printf PREGISTER,"{d7->%08x}",1,%d0
175 printf PREGISTER,"{d0<-%08x}",1,%d0
180 printf PREGISTER,"{d1<-%08x}",1,%d0
[all …]
Dfp_decode.h144 printf PDECODE,"d%d",1,%d0
147 1\@: printf PDECODE,"a%d",1,%d0
156 3\@: printf PDECODE,":%c",1,%a0
162 printf PDECODE,":%d",1,%d1
217 printf PDECODE,"d%d",1,%d0
223 printf PDECODE,"(a%d)",1,%d0
247 printf PDECODE,"(a%d)+",1,%d0
266 printf PDECODE,"-(a%d)",1,%d0
294 printf PDECODE,"pc"
299 printf PDECODE,"a%d",1,%d0
[all …]
Dfp_movem.S50 printf PDECODE,"fmovem.x "
65 printf PDECODE,"#%08x",1,%d1
69 printf PDECODE,"-" | decremental move
71 1: printf PDECODE,"+" | incremental move
74 printf PDECODE,"->" | fpu -> cpu
76 1: printf PDECODE,"<-" | fpu <- cpu
143 1: printf PMOVEM,"(%p>%p)",2,%a0,%a1
162 1: printf PMOVEM,"(%p>%p)",2,%a1,%a0
180 printf PDECODE,"\n"
183 printf PMOVEM,"fp:"
[all …]
Dfp_cond.S45 printf PDECODE,"fnop\n"
54 printf PDECODE,"fbccw "
60 printf PDECODE,"fbccl "
66 1: printf PDECODE,"%x",1,%a0
73 1: printf PDECODE,"\n"
77 printf PDECODE,"fdbcc "
82 printf PDECODE,"d%d,%x\n",2,%d0,%a1
99 printf PDECODE,"fscc "
122 printf PDECODE,"\n"
167 printf PDECODE,"\n"
Dfp_util.S59 printf ,"fp_illegal\n"
69 1: printf ,"oops:%p,%p,%p\n",3,%a2@(TASK_MM-8),%a2@(TASK_MM-4),%a2@(TASK_MM)
98 printf PCONV,"l2e: %p -> %p(",2,%d0,%a0
112 printf PCONV,")\n"
121 printf PCONV,")\n"
129 printf PCONV,"s2e: %p -> %p(",2,%d0,%a0
145 printf PCONV,")\n"
164 printf PCONV,"d2e: %p%p -> %p(",3,%d0,%d1,%a0
190 printf PCONV,")\n"
Dfp_scan.S66 printf PDECODE,"%08x: ",1,%a0
95 printf PDECODE,"f<op>.x fp%d",1,%d0
117 printf PDECODE,"f<op>.%c ",1,%d0
223 printf PDECODE,"#"
234 printf PDECODE,"%02x",1,%d1
300 printf PDECODE,",fp%d\n",1,%d0
347 printf PINSTR,"fp_fmovecr #%d",1,%d0
391 printf PINSTR,"fmove %p,%p\n",2,%a0,%a1
407 printf PINSTR,"single "
413 printf PINSTR,"double "
[all …]
/linux-4.4.14/tools/vm/
Dslabinfo.c110 printf("slabinfo 4/15/2011. (c) 2007 sgi/(c) 2011 Linux Foundation.\n\n" in usage()
310 printf("Name Objects Alloc Free" in first_line()
313 printf("Name Objects Objsize %s " in first_line()
361 printf("\n%s: No NUMA information available.\n", s->name); in slab_numa()
369 printf("\n%-21s:", mode ? "NUMA nodes" : "Slab"); in slab_numa()
371 printf(" %4d", node); in slab_numa()
372 printf("\n----------------------"); in slab_numa()
374 printf("-----"); in slab_numa()
375 printf("\n"); in slab_numa()
377 printf("%-21s ", mode ? "All slabs" : s->name); in slab_numa()
[all …]
Dpage_owner_sort.c67 printf("max_size too small??\n"); in add_list()
77 printf("loaded %d\r", list_size); in add_list()
93 printf("Usage: ./program <input> <output>\n"); in main()
101 printf("Usage: ./program <input> <output>\n"); in main()
119 printf("loaded %d\n", list_size); in main()
121 printf("sorting ....\n"); in main()
127 printf("culling\n"); in main()
Dpage-types.c364 printf("%lx\t", voff); in show_page_range()
366 printf("%lu\t", voff); in show_page_range()
367 printf("%lx\t%lx\t%s\n", in show_page_range()
386 printf("%lx\t", voffset); in show_page()
388 printf("%lu\t", voffset); in show_page()
389 printf("%lx\t%s\n", offset, page_flag_name(flags)); in show_page()
396 printf(" flags\tpage-count MB" in show_summary()
401 printf("0x%016llx\t%10lu %8lu %s\t%s\n", in show_summary()
409 printf(" total\t%10lu %8lu\n", in show_summary()
710 printf( in usage()
[all …]
/linux-4.4.14/Documentation/frv/
Dgdbinit5 printf "AMRx DAMR IAMR \n"
6 printf "==== ===================== =====================\n"
7 printf "amr0 : L:%08lx P:%08lx : L:%08lx P:%08lx\n",__debug_mmu.damr[0x0].L,__debug_mmu.damr[0x0].P…
8 printf "amr1 : L:%08lx P:%08lx : L:%08lx P:%08lx\n",__debug_mmu.damr[0x1].L,__debug_mmu.damr[0x1].P…
9 printf "amr2 : L:%08lx P:%08lx : L:%08lx P:%08lx\n",__debug_mmu.damr[0x2].L,__debug_mmu.damr[0x2].P…
10 printf "amr3 : L:%08lx P:%08lx : L:%08lx P:%08lx\n",__debug_mmu.damr[0x3].L,__debug_mmu.damr[0x3].P…
11 printf "amr4 : L:%08lx P:%08lx : L:%08lx P:%08lx\n",__debug_mmu.damr[0x4].L,__debug_mmu.damr[0x4].P…
12 printf "amr5 : L:%08lx P:%08lx : L:%08lx P:%08lx\n",__debug_mmu.damr[0x5].L,__debug_mmu.damr[0x5].P…
13 printf "amr6 : L:%08lx P:%08lx : L:%08lx P:%08lx\n",__debug_mmu.damr[0x6].L,__debug_mmu.damr[0x6].P…
14 printf "amr7 : L:%08lx P:%08lx : L:%08lx P:%08lx\n",__debug_mmu.damr[0x7].L,__debug_mmu.damr[0x7].P…
[all …]
/linux-4.4.14/arch/x86/tools/
Dcalc_run_size.sh17 sizeA=$(printf "%d" 0x${OUT%% *})
19 offsetA=$(printf "%d" 0x${OUT%% *})
21 sizeB=$(printf "%d" 0x${OUT%% *})
23 offsetB=$(printf "%d" 0x${OUT%% *})
32 printf "sizeA: 0x%x\n" $sizeA >&2
33 printf "offsetA: 0x%x\n" $offsetA >&2
34 printf "sizeB: 0x%x\n" $sizeB >&2
35 printf "offsetB: 0x%x\n" $offsetB >&2
41 printf "%d\n" $run_size
Ddistill.awk20 printf("%s%s\n", $2, $1)
33 printf "%s\t%s\n", prev_addr, fwait_str
37 printf "%s\t%s\t%s\n", prev_addr, prev_hex, prev_mnemonic
46 printf "%s\t%s\t%s\n", prev_addr, prev_hex, prev_mnemonic
/linux-4.4.14/tools/power/acpi/tools/ec/
Dec_access.c38 printf("Usage:\n"); in usage()
39 printf("1) %s -r [-s sleep]\n", basename(progname)); in usage()
40 printf("2) %s -b byte_offset\n", basename(progname)); in usage()
41 printf("3) %s -w byte_offset -v value\n\n", basename(progname)); in usage()
74 printf("Bad sleep time: %s\n", optarg); in parse_opts()
140 printf(" 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F"); in dump_ec()
143 printf("\n%.2X: ", byte_off); in dump_ec()
144 printf(" %.2x ", (uint8_t)buf[byte_off]); in dump_ec()
146 printf("\n"); in dump_ec()
151 printf("\n"); in dump_ec()
[all …]
/linux-4.4.14/scripts/mod/
Dmk_elfconfig.c22 printf("#define KERNEL_ELFCLASS ELFCLASS32\n"); in main()
25 printf("#define KERNEL_ELFCLASS ELFCLASS64\n"); in main()
32 printf("#define KERNEL_ELFDATA ELFDATA2LSB\n"); in main()
35 printf("#define KERNEL_ELFDATA ELFDATA2MSB\n"); in main()
42 printf("#define HOST_ELFCLASS ELFCLASS32\n"); in main()
44 printf("#define HOST_ELFCLASS ELFCLASS64\n"); in main()
49 printf("#define HOST_ELFDATA ELFDATA2MSB\n"); in main()
51 printf("#define HOST_ELFDATA ELFDATA2LSB\n"); in main()
/linux-4.4.14/tools/testing/selftests/vm/
Dmlock2-tests.c61 printf("cannot parse /proc/self/maps\n"); in get_vm_area()
68 printf("cannot parse /proc/self/maps\n"); in get_vm_area()
193 printf("Unable to parse /proc/self/smaps\n"); in is_vmflag_set()
236 printf("Unable to parse /proc/self/smaps\n"); in is_vma_lock_on_fault()
250 printf("Unable to parse smaps entry for Size\n"); in is_vma_lock_on_fault()
266 printf("Unable to parse smaps entry for Rss\n"); in is_vma_lock_on_fault()
295 printf("Failed to make both pages present\n"); in lock_check()
305 printf("Failed to make both pages unevictable\n"); in lock_check()
310 printf("VMA flag %s is missing on page 1\n", LOCKED); in lock_check()
315 printf("VMA flag %s is missing on page 2\n", LOCKED); in lock_check()
[all …]
Dthuge-gen.c68 printf("Found %luMB\n", page_sizes[i] >> 20); in find_pagesizes()
97 printf("%luMB: ", ps >> 20); in show()
121 printf("missing %s\n", buf); in read_sysfs()
202 printf("Not enough huge pages for page size %lu MB, need %u\n", in sanity_checks()
210 printf("Please do echo %lu > /proc/sys/kernel/shmmax", largest * NUM_PAGES); in sanity_checks()
216 printf("No GB pages available on x86-64\n" in sanity_checks()
235 printf("Testing %luMB mmap with shift %x\n", ps >> 20, arg); in main()
238 printf("Testing default huge mmap\n"); in main()
247 printf("Testing %luMB shmget with shift %x\n", ps >> 20, arg); in main()
Dhugepage-shm.c43 #define dprintf(x) printf(x)
65 printf("shmid: 0x%x\n", shmid); in main()
73 printf("shmaddr: %p\n", shmaddr); in main()
86 printf("\nIndex %lu mismatched\n", i); in main()
Dcompaction_test.c129 printf("No of huge pages allocated = %d\n", in check_compaction()
136 printf("No of huge pages allocated = %d\n", in check_compaction()
150 printf("Not OK. Compaction test failed."); in check_compaction()
166 printf("Either the sysctl compact_unevictable_allowed is not\n" in main()
184 printf("ERROR: Cannot read meminfo\n"); in main()
Duserfaultfd.c506 printf("bounces: %d, mode:", bounces); in userfaultfd_stress()
508 printf(" rnd"); in userfaultfd_stress()
510 printf(" racing"); in userfaultfd_stress()
512 printf(" ver"); in userfaultfd_stress()
514 printf(" poll"); in userfaultfd_stress()
515 printf(", "); in userfaultfd_stress()
600 printf("userfaults:"); in userfaultfd_stress()
602 printf(" %lu", userfaults[cpu]); in userfaultfd_stress()
603 printf("\n"); in userfaultfd_stress()
630 printf("nr_pages: %lu, nr_pages_per_cpu: %lu\n", in main()
[all …]
Dmap_hugetlb.c36 printf("First hex is %x\n", *((unsigned int *)addr)); in check_bytes()
54 printf("Mismatch at %lu\n", i); in read_bytes()
71 printf("Returned address is %p\n", addr); in main()
Dhugepage-mmap.c40 printf("First hex is %x\n", *((unsigned int *)addr)); in check_bytes()
58 printf("Mismatch at %lu\n", i); in read_bytes()
82 printf("Returned address is %p\n", addr); in main()
/linux-4.4.14/tools/perf/
Dbuiltin-bench.c98 printf("\n # List of available benchmarks for collection '%s':\n\n", coll->name); in dump_benchmarks()
101 printf("%14s: %s\n", bench->name, bench->summary); in dump_benchmarks()
103 printf("\n"); in dump_benchmarks()
128 printf("Usage: \n"); in print_usage()
130 printf("\t%s\n", bench_usage[i]); in print_usage()
131 printf("\n"); in print_usage()
133 printf(" # List of all available benchmark collections:\n\n"); in print_usage()
136 printf("%14s: %s\n", coll->name, coll->summary); in print_usage()
137 printf("\n"); in print_usage()
197 printf("# Running %s/%s benchmark...\n", coll->name, bench->name); in run_collection()
[all …]
Dbuiltin-kmem.c954 printf("%.105s\n", graph_dotted_line); in __print_slab_result()
955 printf(" %-34s |", is_caller ? "Callsite": "Alloc Ptr"); in __print_slab_result()
956 printf(" Total_alloc/Per | Total_req/Per | Hit | Ping-pong | Frag\n"); in __print_slab_result()
957 printf("%.105s\n", graph_dotted_line); in __print_slab_result()
981 printf(" %-34s |", buf); in __print_slab_result()
983 printf(" %9llu/%-5lu | %9llu/%-5lu | %8lu | %9lu | %6.3f%%\n", in __print_slab_result()
996printf(" ... | ... | ... | ... | ... … in __print_slab_result()
998 printf("%.105s\n", graph_dotted_line); in __print_slab_result()
1017 printf("\n%.105s\n", graph_dotted_line); in __print_page_alloc_result()
1018 printf(" %-16s | %5s alloc (KB) | Hits | Order | Mig.type | %-*s | Callsite\n", in __print_page_alloc_result()
[all …]
Dbuiltin-data.c36 printf("Usage:\n"); in print_usage()
37 printf("\t%s\n\n", data_usage[0]); in print_usage()
38 printf("\tAvailable commands:\n"); in print_usage()
41 printf("\t %s\t- %s\n", cmd->name, cmd->summary); in print_usage()
44 printf("\n"); in print_usage()
Dbuiltin-sched.c220 printf("run measurement overhead: %" PRIu64 " nsecs\n", min_delta); in calibrate_run_measurement_overhead()
238 printf("sleep measurement overhead: %" PRIu64 " nsecs\n", min_delta); in calibrate_sleep_measurement_overhead()
369 printf("registered task #%ld, PID %ld (%s)\n", sched->nr_tasks, pid, comm); in register_pid()
382 printf("task %6ld (%20s:%10ld), nr_events: %ld\n", in print_task_traces()
652 printf("#%-3ld: %0.3f, ", sched->nr_runs, (double)delta / 1000000.0); in run_one_test()
654 printf("ravg: %0.2f, ", (double)sched->run_avg / 1e6); in run_one_test()
656 printf("cpu: %0.2f / %0.2f", in run_one_test()
664 printf(" [%0.2f / %0.2f]", in run_one_test()
669 printf("\n"); in run_one_test()
672 printf(" (%ld sleep corrections)\n", sched->nr_sleep_corrections); in run_one_test()
[all …]
/linux-4.4.14/tools/testing/selftests/membarrier/
Dmembarrier_test.c26 printf("membarrier: Wrong command should fail but passed.\n"); in test_membarrier_cmd_fail()
37 printf("membarrier: Wrong flags should fail but passed.\n"); in test_membarrier_flags_fail()
48 printf("membarrier: Executing MEMBARRIER_CMD_SHARED failed. %s.\n", in test_membarrier_success()
53 printf("membarrier: MEMBARRIER_CMD_SHARED success.\n"); in test_membarrier_success()
77 printf("membarrier MEMBARRIER_CMD_QUERY "); in test_membarrier_query()
80 printf("failed. %s.\n", strerror(errno)); in test_membarrier_query()
94 printf("command MEMBARRIER_CMD_SHARED is not supported.\n"); in test_membarrier_query()
97 printf("syscall available.\n"); in test_membarrier_query()
116 printf("membarrier: tests done!\n"); in main()
/linux-4.4.14/scripts/
Dkallsyms.c289 printf(".globl %c%s\n", symbol_prefix_char, label); in output_label()
291 printf(".globl %s\n", label); in output_label()
292 printf("\tALGN\n"); in output_label()
294 printf("%c%s:\n", symbol_prefix_char, label); in output_label()
296 printf("%s:\n", label); in output_label()
338 printf("#include <asm/types.h>\n"); in write_src()
339 printf("#if BITS_PER_LONG == 64\n"); in write_src()
340 printf("#define PTR .quad\n"); in write_src()
341 printf("#define ALGN .align 8\n"); in write_src()
342 printf("#else\n"); in write_src()
[all …]
Dsetlocalversion66 printf '%s%s' -g $head
72 printf -- '-svn%s' "`git svn find-rev $head`"
77 printf '%s' -dirty
89 printf '%s%s' -hg "$id"
91 tag=`printf '%s' "$hgid" | cut -d' ' -f2`
93 id=`printf '%s' "$hgid" | sed 's/[+ ].*//'`
94 printf '%s%s' -hg "$id"
101 *+|*+\ *) printf '%s' -dirty ;;
111 printf -- '-svn%s' "$rev"
Dconmakehash.c248 printf("\ in main()
263 printf("%3d", unicount[i]); in main()
265 printf("\n};\n"); in main()
267 printf(",\n\t"); in main()
269 printf(", "); in main()
272 printf("\nu16 dfont_unitable[%d] = \n{\n\t", nuni); in main()
283 printf("0x%04x", unitable[fp0][nent++]); in main()
285 printf("\n};\n"); in main()
287 printf(",\n\t"); in main()
289 printf(", "); in main()
Dgen_initramfs_list.sh92 my_mtime=$(find "$1" -printf "%T@\n" | sort -r | head -n 1)
152 printf "ERROR: unknown option \"$arg\"\n" >&2
153 printf "If the filename validly begins with '-', " >&2
154 printf "then it must be prefixed\n" >&2
155 printf "by './' so that it won't be interpreted as an option." >&2
156 printf "\n" >&2
166 printf "\n#####################\n# $1\n" >> ${output}
174 dirlist=$(find "${srcdir}" -printf "%p %m %U %G\n")
Dgcc-version.sh21 printf "Usage:\n\t$0 <gcc-command>\n"
29 printf "%02d%02d%02d\\n" $MAJOR $MINOR $PATCHLEVEL
31 printf "%02d%02d\\n" $MAJOR $MINOR
/linux-4.4.14/arch/powerpc/boot/
Dmain.c54 printf("Allocating 0x%lx bytes for kernel ...\n\r", ei.memsize); in prep_kernel()
75 printf("gunzipping (0x%p <- 0x%p:0x%p)...", addr, in prep_kernel()
83 printf("done 0x%x bytes\n\r", len); in prep_kernel()
97 printf("Attached initrd image at 0x%p-0x%p\n\r", in prep_initrd()
102 printf("Using loader supplied ramdisk at 0x%lx-0x%lx\n\r", in prep_initrd()
118 printf("Allocating 0x%lx bytes for initrd ...\n\r", in prep_initrd()
124 printf("Relocating initrd 0x%lx <- 0x%p (0x%lx bytes)\n\r", in prep_initrd()
129 printf("initrd head: 0x%lx\n\r", *((unsigned long *)initrd_addr)); in prep_initrd()
159 printf("\n\rLinux/PowerPC load: %s", cmdline); in prep_cmdline()
165 printf("\n\r"); in prep_cmdline()
[all …]
Dps3.c37 #define DBG(fmt...) printf(fmt)
39 static inline int __attribute__ ((format (printf, 1, 2))) DBG( in DBG()
60 printf("cmdline: '%s'\n", cmdline); in prep_cmdline()
69 printf("ps3_exit\n"); in ps3_exit()
105 printf("%s:%d: ppe_id %lu \n", __func__, __LINE__, in ps3_repository_read_rm_size()
107 printf("%s:%d: lpar_id %lu \n", __func__, __LINE__, in ps3_repository_read_rm_size()
109 printf("%s:%d: rm_size %llxh \n", __func__, __LINE__, *rm_size); in ps3_repository_read_rm_size()
133 printf("\n-- PS3 bootwrapper --\n"); in platform_init()
154 printf(" flat tree at 0x%lx\n\r", ft_addr); in platform_init()
159 printf("null check failed: %lx != %lx\n\r", val, null_check); in platform_init()
Dstdio.h10 extern int printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
12 #define fprintf(fmt, args...) printf(args)
15 __attribute__((format(printf, 2, 3)));
Dwii.c59 printf("mini: invalid hdrp %08X\n", (u32)hdrp); in mipc_get_infohdr()
66 printf("mini: invalid hdr %08X\n", (u32)hdr); in mipc_get_infohdr()
71 printf("mini: invalid magic\n"); in mipc_get_infohdr()
92 printf("mini: invalid mem2_boundary %08X\n", in mipc_get_mem2_boundary()
132 printf("top of MEM2 @ %08X\n", reg[2] + reg[3]); in platform_fixups()
Doflib.c128 printf("OF version = '%s'\r\n", version); in check_of_version()
136 printf("no chosen\n"); in check_of_version()
141 printf("no mmu\n"); in check_of_version()
148 printf("no memory node\n"); in check_of_version()
152 printf("old OF detected\r\n"); in check_of_version()
190 printf("Trying to claim from 0x%lx to 0x%lx (0x%lx) got %lx\r\n", in of_vmlinux_alloc()
Ddevtree.c52 printf("Memory <- <0x%x", memreg[0]); in dt_fixup_memory()
54 printf(" 0x%x", memreg[i]); in dt_fixup_memory()
55 printf("> (%ldMB)\n\r", (unsigned long)(size >> 20)); in dt_fixup_memory()
66 printf("CPU clock-frequency <- 0x%x (%dMHz)\n\r", cpu, MHZ(cpu)); in dt_fixup_cpu_clocks()
67 printf("CPU timebase-frequency <- 0x%x (%dMHz)\n\r", tb, MHZ(tb)); in dt_fixup_cpu_clocks()
69 printf("CPU bus-frequency <- 0x%x (%dMHz)\n\r", bus, MHZ(bus)); in dt_fixup_cpu_clocks()
86 printf("%s: clock-frequency <- %x (%dMHz)\n\r", path, freq, MHZ(freq)); in dt_fixup_clock()
96 printf("%s: local-mac-address <-" in dt_fixup_mac_address_by_alias()
111 printf("ENET%d: local-mac-address <-" in dt_fixup_mac_address()
Depapr.c39 printf("WARNING: Image loaded outside IMA!" in platform_fixups()
42 printf("WARNING: Device tree address is outside IMA!" in platform_fixups()
46 printf("WARNING: Device tree extends outside IMA!" in platform_fixups()
/linux-4.4.14/arch/um/os-Linux/
Dmem.c28 printf("Checking if %s is on tmpfs...", dir); in check_tmpfs()
30 printf("%s\n", strerror(errno)); in check_tmpfs()
32 printf("no\n"); in check_tmpfs()
34 printf("OK\n"); in check_tmpfs()
64 printf("Checking environment variables for a tempdir..."); in choose_tempdir()
68 printf("%s\n", dir); in choose_tempdir()
75 printf("none found\n"); in choose_tempdir()
85 printf("Warning: tempdir %s is not on tmpfs\n", dir); in choose_tempdir()
192 printf("Checking PROT_EXEC mmap in %s...", tempdir); in check_tmpexec()
195 printf("%s\n", strerror(err)); in check_tmpexec()
[all …]
Dstart_up.c311 printf("Core dump limits :\n\tsoft - "); in check_coredump_limit()
313 printf("NONE\n"); in check_coredump_limit()
314 else printf("%lu\n", lim.rlim_cur); in check_coredump_limit()
316 printf("\thard - "); in check_coredump_limit()
318 printf("NONE\n"); in check_coredump_limit()
319 else printf("%lu\n", lim.rlim_max); in check_coredump_limit()
Dmain.c77 printf("failed to install handler for signal %d - errno = %d\n", in install_fatal_handler()
178 printf("deactivate_all_fds failed, errno = %d\n", -err); in main()
189 printf("\n"); in main()
194 printf("\n"); in main()
/linux-4.4.14/tools/thermal/tmon/
Dtmon.c60 printf("Usage: tmon [OPTION...]\n"); in usage()
61 printf(" -c, --control cooling device in control\n"); in usage()
62 printf(" -d, --daemon run as daemon, no TUI\n"); in usage()
63 printf(" -g, --debug debug message in syslog\n"); in usage()
64 printf(" -h, --help show this help message\n"); in usage()
65 printf(" -l, --log log data to /var/tmp/tmon.log\n"); in usage()
66 printf(" -t, --time-interval sampling time interval, > 1 sec.\n"); in usage()
67 printf(" -T, --target-temp initial target temperature\n"); in usage()
68 printf(" -v, --version show version\n"); in usage()
69 printf(" -z, --zone target thermal zone id\n"); in usage()
[all …]
/linux-4.4.14/tools/testing/selftests/powerpc/
Dsubunit.h11 printf("test: %s\n", name); in test_start()
16 printf("failure: %s [%s]\n", name, detail); in test_failure_detail()
21 printf("failure: %s\n", name); in test_failure()
26 printf("error: %s\n", name); in test_error()
31 printf("skip: %s\n", name); in test_skip()
36 printf("success: %s\n", name); in test_success()
49 printf("tags: git_version:%s\n", value); in test_set_git_version()
Dharness.c54 printf("unknown error from waitpid\n"); in run_test()
59 printf("!! force killing %s\n", name); in run_test()
63 printf("!! killing %s\n", name); in run_test()
78 printf("!! child died by signal %d\n", WTERMSIG(status)); in run_test()
80 printf("!! child died by unknown cause\n"); in run_test()
144 printf("Overflowed auxv buffer\n"); in get_auxv_entry()
/linux-4.4.14/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c66 printf("%s: [-c cpu] [-v] " in usage()
109 printf("must supply -r or policy param\n"); in cmdline()
162 printf("CPUID %d levels family:model:stepping " in validate_cpuid()
168 printf("CPUID: no MSR\n"); in validate_cpuid()
178 printf("CPUID.06H.ECX: 0x%x\n", ecx); in validate_cpuid()
181 printf("CPUID: No MSR_IA32_ENERGY_PERF_BIAS\n"); in validate_cpuid()
197 printf("Try \"# modprobe msr\"\n"); in get_msr()
205 printf("pread cpu%d 0x%x = %d\n", cpu, offset, retval); in get_msr()
229 printf("pread cpu%d 0x%x = %d\n", cpu, offset, retval); in put_msr()
236 printf("pwrite cpu%d 0x%x = %d\n", cpu, offset, retval); in put_msr()
[all …]
/linux-4.4.14/net/wireless/
Dgenregdb.awk39 printf "static const struct ieee80211_regdomain regdom_%s = {\n", country
40 printf "\t.alpha2 = \"%s\",\n", country
42 printf "\t.dfs_region = NL80211_DFS_ETSI,\n"
44 printf "\t.dfs_region = NL80211_DFS_FCC,\n"
46 printf "\t.dfs_region = NL80211_DFS_JP,\n"
47 printf "\t.reg_rules = {\n"
119printf "\t\tREG_RULE_EXT(%d, %d, %d, %d, %.0f, %d, %s),\n", start, end, bw, gain, power, dfs_cac, …
126 printf "\t},\n"
127 printf "\t.n_reg_rules = %d\n", rules
128 printf "};\n\n"
/linux-4.4.14/lib/
Dgen_crc32table.c96 printf("{"); in output_table()
99 printf("\n"); in output_table()
100 printf("%s(0x%8.8xL), ", trans, table[j][i]); in output_table()
102 printf("%s(0x%8.8xL)},\n", trans, table[j][len - 1]); in output_table()
108 printf("/* this file is generated - do not edit */\n\n"); in main()
112 printf("static const u32 ____cacheline_aligned " in main()
117 printf("};\n"); in main()
122 printf("static const u32 ____cacheline_aligned " in main()
127 printf("};\n"); in main()
131 printf("static const u32 ____cacheline_aligned " in main()
[all …]
/linux-4.4.14/Documentation/laptops/
Ddslm.c44 D(printf(" drive state is: %d\n", state)); in check_powermode()
81 printf("Starting measurements\n"); in measure()
85 printf(" System is in state %s\n\n", state_name(last_state)); in measure()
103 printf("%s: State-change to %s\n", myctime(curr_time), in measure()
110 printf("\nTotal running time: %lus\n", curr_time - start_time); in measure()
111 printf(" State changed %d times\n", changes); in measure()
114 printf(" Time in sleep state: %lus (%.2f%%)\n", sleep_time, tmp); in measure()
116 printf(" Time in active state: %lus (%.2f%%)\n", active_time, tmp); in measure()
118 printf(" Time in unknown state: %lus (%.2f%%)\n", unknown_time, tmp); in measure()
148 printf("Can't open %s, because: %s\n", disk, strerror(errno)); in main()
[all …]
/linux-4.4.14/tools/firewire/
Ddecode-fcp.c162 printf("av/c %s, subunit_type=%s, subunit_id=%d, opcode=%s", in decode_avc()
167 printf(", %s", info->fields[i].name); in decode_avc()
169 printf("\n"); in decode_avc()
190 printf("cal fcp frame (cts=0x01)\n"); in decode_fcp()
193 printf("ehs fcp frame (cts=0x02)\n"); in decode_fcp()
196 printf("havi fcp frame (cts=0x03)\n"); in decode_fcp()
199 printf("vendor specific fcp frame (cts=0x0e)\n"); in decode_fcp()
202 printf("extended cts\n"); in decode_fcp()
205 printf("reserved fcp frame (ctx=0x%02x)\n", frame->cts); in decode_fcp()
Dnosy-dump.c232 printf("BUG in handle_transaction\n"); in handle_transaction()
249 printf("[no response]"); in handle_transaction()
257 printf("\r\n"); in handle_transaction()
635 printf("bus reset\r\n"); in handle_packet()
688 printf("%s%02hhx", in dump_data()
693 printf(" (%d more bytes)", length - print_length); in dump_data()
724 printf("%s", f->value_names[bits]); in decode_link_packet()
726 printf("%s=[", f->name); in decode_link_packet()
728 printf("]"); in decode_link_packet()
745 printf("%s=0x%0*llx", f->name, (f->width + 3) / 4, bits); in decode_link_packet()
[all …]
/linux-4.4.14/tools/testing/selftests/powerpc/tm/
Dtm-syscall.c64 printf("Unexpected persistent transaction failure.\n"); in getppid_tm()
65 printf("TEXASR 0x%016lx, TFIAR 0x%016lx.\n", in getppid_tm()
73 printf("Exceeded limit of %d temporary transaction failures.\n", TM_RETRIES); in getppid_tm()
74 printf("TEXASR 0x%016lx, TFIAR 0x%016lx.\n", in getppid_tm()
85 printf("PPC_FEATURE2_HTM_NOSC not defined, can't check AT_HWCAP2\n"); in have_htm_nosc()
99 printf("Testing transactional syscalls for %d seconds...\n", TEST_DURATION); in tm_syscall()
123 printf("%d active and suspended transactions behaved correctly.\n", count); in tm_syscall()
124 printf("(There were %d transaction retries.)\n", retries); in tm_syscall()
Dtm-resched-dscr.c45 printf("Check DSCR TM context switch: "); in test_body()
86 printf(" FAIL\n"); in test_body()
89 printf(" OK\n"); in test_body()
/linux-4.4.14/tools/testing/selftests/exec/
Dexecveat.c46 printf("Check failure of execveat(%d, '%s', %d) with %s... ", in _check_execveat_fail()
51 printf("[FAIL] (unexpected success from execveat(2))\n"); in _check_execveat_fail()
55 printf("[FAIL] (expected errno %d (%s) not %d (%s)\n", in _check_execveat_fail()
60 printf("[OK]\n"); in _check_execveat_fail()
73 printf("Check success of execveat(%d, '%.20s...%s', %d)... ", in check_execveat_invoked_rc()
76 printf("Check success of execveat(%d, '%s', %d)... ", in check_execveat_invoked_rc()
80 printf("[FAIL] (fork() failed)\n"); in check_execveat_invoked_rc()
86 printf("[FAIL]: execveat() failed, rc=%d errno=%d (%s)\n", in check_execveat_invoked_rc()
93 printf("[FAIL] (waitpid(%d,...) returned %d)\n", child, rc); in check_execveat_invoked_rc()
97 printf("[FAIL] (child %d did not exit cleanly, status=%08x)\n", in check_execveat_invoked_rc()
[all …]
/linux-4.4.14/drivers/staging/panel/
Dlcd-panel-cgram.txt12 printf "\e[LG0010101050D1F0C04;" => 0 = [enter]
13 printf "\e[LG1040E1F0000000000;" => 1 = [up]
14 printf "\e[LG2000000001F0E0400;" => 2 = [down]
15 printf "\e[LG3040E1F001F0E0400;" => 3 = [up-down]
16 printf "\e[LG40002060E1E0E0602;" => 4 = [left]
17 printf "\e[LG500080C0E0F0E0C08;" => 5 = [right]
18 printf "\e[LG60016051516141400;" => 6 = "IP"
20 printf "\e[LG00103071F1F070301;" => big speaker
21 printf "\e[LG00002061E1E060200;" => small speaker
/linux-4.4.14/tools/testing/selftests/futex/functional/
Dfutex_wait_timeout.c34 printf("Usage: %s\n", prog); in usage()
35 printf(" -c Use color\n"); in usage()
36 printf(" -h Display this help message\n"); in usage()
37 printf(" -t N Timeout in nanoseconds (default: 100,000)\n"); in usage()
38 printf(" -v L Verbosity level: %d=QUIET %d=CRITICAL %d=INFO\n", in usage()
69 printf("%s: Block on a futex and wait for timeout\n", in main()
71 printf("\tArguments: timeout=%ldns\n", timeout_ns); in main()
Dfutex_wait_wouldblock.c35 printf("Usage: %s\n", prog); in usage()
36 printf(" -c Use color\n"); in usage()
37 printf(" -h Display this help message\n"); in usage()
38 printf(" -v L Verbosity level: %d=QUIET %d=CRITICAL %d=INFO\n", in usage()
66 printf("%s: Test the unexpected futex value in FUTEX_WAIT\n", in main()
Dfutex_wait_uninitialized_heap.c47 printf("Usage: %s\n", prog); in usage()
48 printf(" -c Use color\n"); in usage()
49 printf(" -h Display this help message\n"); in usage()
50 printf(" -v L Verbosity level: %d=QUIET %d=CRITICAL %d=INFO\n", in usage()
101 printf("%s: Test the uninitialized futex value in FUTEX_WAIT\n", in main()
Dfutex_wait_private_mapped_file.c48 printf("Usage: %s\n", prog); in usage()
49 printf(" -c Use color\n"); in usage()
50 printf(" -h Display this help message\n"); in usage()
51 printf(" -v L Verbosity level: %d=QUIET %d=CRITICAL %d=INFO\n", in usage()
99 printf("%s: Test the futex value of private file mappings in FUTEX_WAIT\n", in main()
Dfutex_requeue_pi_mismatched_ops.c39 printf("Usage: %s\n", prog); in usage()
40 printf(" -c Use color\n"); in usage()
41 printf(" -h Display this help message\n"); in usage()
42 printf(" -v L Verbosity level: %d=QUIET %d=CRITICAL %d=INFO\n", in usage()
79 printf("%s: Detect mismatched requeue_pi operations\n", in main()
Dfutex_requeue_pi_signal_restart.c45 printf("Usage: %s\n", prog); in usage()
46 printf(" -c Use color\n"); in usage()
47 printf(" -h Display this help message\n"); in usage()
48 printf(" -v L Verbosity level: %d=QUIET %d=CRITICAL %d=INFO\n", in usage()
145 printf("%s: Test signal handling during requeue_pi\n", in main()
147 printf("\tArguments: <none>\n"); in main()
Dfutex_requeue_pi.c62 printf("Usage: %s\n", prog); in usage()
63 printf(" -b Broadcast wakeup (all waiters)\n"); in usage()
64 printf(" -c Use color\n"); in usage()
65 printf(" -h Display this help message\n"); in usage()
66 printf(" -l Lock the pi futex across requeue\n"); in usage()
67 printf(" -o Use a third party pi futex owner during requeue (cancels -l)\n"); in usage()
68 printf(" -t N Timeout in nanoseconds (default: 0)\n"); in usage()
69 printf(" -v L Verbosity level: %d=QUIET %d=CRITICAL %d=INFO\n", in usage()
396 printf("%s: Test requeue functionality\n", basename(argv[0])); in main()
397 printf("\tArguments: broadcast=%d locked=%d owner=%d timeout=%ldns\n", in main()
/linux-4.4.14/tools/usb/usbip/src/
Dusbip_list.c45 printf("usage: %s", usbip_list_usage_string); in usbip_list_usage()
85 printf("Exportable USB devices\n"); in get_exported_devices()
86 printf("======================\n"); in get_exported_devices()
87 printf(" - %s\n", host); in get_exported_devices()
103 printf("%11s: %s\n", udev.busid, product_name); in get_exported_devices()
104 printf("%11s: %s\n", "", udev.path); in get_exported_devices()
105 printf("%11s: %s\n", "", class_name); in get_exported_devices()
121 printf("%11s: %2d - %s\n", "", j, class_name); in get_exported_devices()
124 printf("\n"); in get_exported_devices()
158 printf("busid=%s#usbid=%.4s:%.4s#", busid, vendor, product); in print_device()
[all …]
Dusbip.c43 printf("usage: %s", usbip_usage_string); in usbip_usage()
121 printf("\n"); in usbip_help()
124 printf(" %-10s %s\n", cmd->name, cmd->help); in usbip_help()
125 printf("\n"); in usbip_help()
135 printf(PROGNAME " (%s)\n", usbip_version_string); in usbip_version()
178 printf("usbip: invalid option\n"); in main()
/linux-4.4.14/tools/testing/selftests/powerpc/copyloops/
Dvalidate.c33 printf("(%p,%p,%ld) returned %ld\n", dstp, srcp, len, ret); in do_one()
38 printf("(%p,%p,%ld) miscompare\n", dstp, srcp, len); in do_one()
39 printf("src: "); in do_one()
41 printf("%02x ", srcp[i]); in do_one()
42 printf("\ndst: "); in do_one()
44 printf("%02x ", dstp[i]); in do_one()
45 printf("\n"); in do_one()
50 printf("(%p,%p,%ld) redzone before corrupted\n", in do_one()
56 printf("(%p,%p,%ld) redzone after corrupted\n", in do_one()
/linux-4.4.14/scripts/basic/
Dbin2c.c17 printf("const char %s[] %s=\n", in main()
21 printf("\t\""); in main()
24 printf("\\x%02x", ch); in main()
28 printf("\"\n"); in main()
32 printf("\t;\n\nconst int %s_size = %d;\n", argv[1], total); in main()
Dfixdep.c138 printf("cmd_%s := %s\n\n", target, cmdline); in print_cmdline()
207 printf(" $(wildcard include/config/"); in use_config()
216 printf(".h) \\\n"); in use_config()
354 printf("source_%s := %s\n\n", in parse_dep_file()
356 printf("deps_%s := \\\n", in parse_dep_file()
361 printf(" %s \\\n", s); in parse_dep_file()
377 printf("\n%s: $(deps_%s)\n\n", target, target); in parse_dep_file()
378 printf("$(deps_%s):\n", target); in parse_dep_file()
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ebb/
Dtrace.c170 printf("%*s[%d]: ", prefix, "", seq); in trace_print_header()
211 printf("register %-10s = 0x%016llx\n", name, *value); in trace_print_reg()
213 printf("register %lld = 0x%016llx\n", *reg, *value); in trace_print_reg()
221 printf("counter = %lld\n", *value); in trace_print_counter()
264 printf("entry @ %p type %d\n", e, e->type); in trace_print_entry()
275 printf("Trace buffer dump:\n"); in trace_buffer_print()
276 printf(" address %p \n", tb); in trace_buffer_print()
277 printf(" tail %p\n", tb->tail); in trace_buffer_print()
278 printf(" size %llu\n", tb->size); in trace_buffer_print()
279 printf(" overflow %s\n", tb->overflow ? "TRUE" : "false"); in trace_buffer_print()
[all …]
Dinstruction_count_test.c51 printf("Looped for %lu instructions, overhead %lu\n", instructions, overhead); in do_count_loop()
52 printf("Expected %lu\n", expected); in do_count_loop()
53 printf("Actual %llu\n", event->result.value); in do_count_loop()
54 printf("Error %ld, %f%%\n", difference, percentage); in do_count_loop()
55 printf("Took %d EBBs\n", ebb_state.stats.ebb_count); in do_count_loop()
82 printf("Replacing overhead %lu with %lu\n", overhead, current); in determine_overhead()
132 printf("Overhead of null loop: %lu instructions\n", overhead); in instruction_count()
158 printf("Finished OK\n"); in instruction_count()
Debb.c66 printf("Outside of loop, only FC set 0x%llx\n", val); in ebb_check_mmcr0()
82 printf("PMC%d count (0x%llx) below lower limit 0x%llx (-0x%llx)\n", in ebb_check_count()
90 printf("PMC%d count (0x%llx) above upper limit 0x%llx (+0x%llx)\n", in ebb_check_count()
95 printf("PMC%d count (0x%llx) is between 0x%llx and 0x%llx delta +0x%llx/-0x%llx\n", in ebb_check_count()
149 printf("EBB Handler is at %#llx\n", entry); in setup_ebb_handler()
168 printf("ebb_state:\n" \ in dump_summary_ebb_state()
226 printf("HW state:\n" \ in dump_ebb_hw_state()
416 printf("Took sigill\n"); in sigill_handler()
/linux-4.4.14/sound/oss/
Dhex2hex.c88 printf("/*\n *\t Computer generated file. Do not edit.\n */\n"); in main()
89 printf("static int %s_len = %d;\n", varline, l); in main()
90 printf("static unsigned char %s[] %s = {\n", varline, id?"__initdata":""); in main()
94 if (i) printf(","); in main()
95 if (i && !(i % 16)) printf("\n"); in main()
96 printf("0x%02x", buf[i]); in main()
99 printf("\n};\n\n"); in main()
Dbin2hex.c26 printf( "/* automatically generated by bin2hex */\n" ); in main()
27 printf( "static unsigned char %s [] %s =\n{\n", varname , id?"__initdata":""); in main()
32 printf( "\n" ); in main()
33 printf( "0x%02lx,", c & 0xFFl ); in main()
37 printf( "};\nstatic int %sLen = %d;\n", varname, i ); in main()
/linux-4.4.14/Documentation/spi/
Dspidev_test.c59 printf("%s | ", prefix); in hex_dump()
61 printf("%02X ", *address++); in hex_dump()
65 printf("__ "); in hex_dump()
67 printf(" | "); /* right close */ in hex_dump()
70 printf("%c", (c < 33 || c == 255) ? 0x2E : c); in hex_dump()
72 printf("\n"); in hex_dump()
74 printf("%s | ", prefix); in hex_dump()
142 printf("Usage: %s [-DsbdlHOLC3]\n", prog); in print_usage()
299 printf("spi mode: 0x%x\n", mode); in main()
300 printf("bits per word: %d\n", bits); in main()
[all …]
Dspidev_fdx.c39 printf("read(%2d, %2d): %02x %02x,", len, status, in do_read()
44 printf(" %02x", *bp++); in do_read()
45 printf("\n"); in do_read()
73 printf("response(%2d, %2d): ", len, status); in do_msg()
75 printf(" %02x", *bp++); in do_msg()
76 printf("\n"); in do_msg()
101 printf("%s: spi mode 0x%x, %d bits %sper word, %d Hz max\n", in dumpstat()
/linux-4.4.14/drivers/lguest/
DMakefile21 @printf " __ \n (___()'\`;\n /, /\`\n \\\\\\\"--\\\\\\ \n"
22 @sleep 2; clear; printf "\n\n Sit!\n\n"; sleep 1; clear
23 @printf " __ \n ()'\`; \n /\\|\` \n / | \n(/_)_|_ \n"
24 @sleep 2; clear; printf "\n\n Stand!\n\n"; sleep 1; clear
25 @printf " __ \n ()'\`; \n /\\|\` \n /._.= \n /| / \n(_\_)_ \n"
26 @sleep 2; clear; printf "\n\n Good puppy!\n\n"; sleep 1; clear
/linux-4.4.14/Documentation/auxdisplay/
Dcfag12864b-example.c208 printf("Example %i/%i - ", n, EXAMPLES); in example()
212 printf("Draw points setting bits"); in example()
220 printf("Clear the LCD"); in example()
225 printf("Draw rows formatting a [128*64] matrix"); in example()
234 printf("Fill the lcd"); in example()
239 printf("Draw columns unsetting bits"); in example()
246 printf("Do negative not-ing all bits"); in example()
261 printf( in main()
268 printf("Can't init %s fbdev\n", argv[1]); in main()
/linux-4.4.14/drivers/acpi/acpica/
Dutpredef.c279 printf(" "); in acpi_ut_display_predefined_method()
282 printf("%4.4s Requires %s%u argument%s", in acpi_ut_display_predefined_method()
290 printf(" (%s)", buffer); in acpi_ut_display_predefined_method()
294 printf("\n "); in acpi_ut_display_predefined_method()
303 printf(" Return value types: %s\n", buffer); in acpi_ut_display_predefined_method()
305 printf(" No return value\n"); in acpi_ut_display_predefined_method()
338 printf("**** Invalid argument count (%u) " in acpi_ut_get_argument_types()
350 printf("**** Invalid argument type (%u) " in acpi_ut_get_argument_types()
/linux-4.4.14/tools/usb/ffs-aio-example/multibuff/host_app/
Dtest.c72 printf("cannot init libusb: %s\n", libusb_error_name(ret)); in test_init()
78 printf("no devices found\n"); in test_init()
87 printf("unable to get device descriptor: %s\n", in test_init()
98 printf("no devices found\n"); in test_init()
104 printf("cannot open device: %s\n", libusb_error_name(ret)); in test_init()
111 printf("unable to detach kernel driver: %s\n", in test_init()
118 printf("cannot claim interface: %s\n", in test_init()
/linux-4.4.14/tools/iio/
Dgeneric_buffer.c75 printf("%05f ", ((float)val + info->offset) * info->scale); in print1byte()
77 printf("%05f ", ((float)input + info->offset) * info->scale); in print1byte()
98 printf("%05f ", ((float)val + info->offset) * info->scale); in print2byte()
100 printf("%05f ", ((float)input + info->offset) * info->scale); in print2byte()
121 printf("%05f ", ((float)val + info->offset) * info->scale); in print4byte()
123 printf("%05f ", ((float)input + info->offset) * info->scale); in print4byte()
146 printf("%" PRId64 " ", val); in print8byte()
148 printf("%05f ", in print8byte()
151 printf("%05f ", ((float)input + info->offset) * info->scale); in print8byte()
191 printf("\n"); in process_scan()
[all …]
Diio_event_monitor.c224 printf("Event: time: %lld, type: %s", event->timestamp, in print_event()
228 printf("(%s)", iio_modifier_names[mod]); in print_event()
231 printf(", channel: %d", chan); in print_event()
233 printf("-%d", chan2); in print_event()
236 printf(", evtype: %s", iio_ev_type_text[ev_type]); in print_event()
239 printf(", direction: %s", iio_ev_dir_text[dir]); in print_event()
241 printf("\n"); in print_event()
262 printf("Found IIO device with name %s with device number %d\n", in main()
Dlsiio.c55 printf(" %-10s\n", ent->d_name); in dump_channels()
75 printf("Device %03d: %s\n", dev_idx, name); in dump_one_device()
98 printf("Trigger %03d: %s\n", dev_idx, name); in dump_one_trigger()
133 printf("\n"); in dump_devices()
/linux-4.4.14/Documentation/accounting/
Dgetdelays.c57 printf(fmt, ##arg); \
198 printf("\n\nCPU %15s%15s%15s%15s%15s\n" in print_delayacct()
229 printf("\n\nTask %15s%15s\n" in task_context_switch_counts()
237 printf("sleeping %llu, blocked %llu, running %llu, stopped %llu, " in print_cgroupstats()
248 printf("%s: read=%llu, write=%llu, cancelled_write=%llu\n", in print_ioacct()
289 printf("print delayacct stats ON\n"); in main()
293 printf("printing IO accounting\n"); in main()
297 printf("printing task/process context switch rates\n"); in main()
306 printf("write to file %s\n", logfile); in main()
311 printf("receive buf size %d\n", rcvbufsz); in main()
[all …]
/linux-4.4.14/tools/net/
Dbpf_jit_disasm.c78 printf("%4x:\t", pc); in get_asm_insns()
83 printf("\n\t"); in get_asm_insns()
85 printf("%02x ", (uint8_t) image[pc + i]); in get_asm_insns()
87 printf("\n"); in get_asm_insns()
217 printf("%d bytes emitted from JIT compiler (pass:%d, flen:%d)\n", in get_last_jit_image()
219 printf("%lx + <x>:\n", base); in get_last_jit_image()
227 printf("Usage: bpf_jit_disasm [...]\n"); in usage()
228 printf(" -o Also display related opcodes (default: off).\n"); in usage()
229 printf(" -f <file> Read last image dump from file or stdin (default: klog).\n"); in usage()
230 printf(" -h Display this help.\n"); in usage()
/linux-4.4.14/tools/usb/ffs-aio-example/simple/host_app/
Dtest.c72 printf("cannot init libusb: %s\n", libusb_error_name(ret)); in test_init()
78 printf("no devices found\n"); in test_init()
87 printf("unable to get device descriptor: %s\n", in test_init()
98 printf("no devices found\n"); in test_init()
104 printf("cannot open device: %s\n", libusb_error_name(ret)); in test_init()
111 printf("unable to detach kernel driver: %s\n", in test_init()
118 printf("cannot claim interface: %s\n", in test_init()
/linux-4.4.14/tools/build/
Dfixdep.c38 printf("cmd_%s := %s\n\n", target, cmdline); in print_cmdline()
94 printf("source_%s := %s\n\n", in parse_dep_file()
96 printf("deps_%s := \\\n", in parse_dep_file()
101 printf(" %s \\\n", s); in parse_dep_file()
115 printf("\n%s: $(deps_%s)\n\n", target, target); in parse_dep_file()
116 printf("$(deps_%s):\n", target); in parse_dep_file()
/linux-4.4.14/arch/x86/boot/
Dcpu.c56 printf("%s ", msg_strs+2); in show_cap_strs()
58 printf("%d:%d ", i, j); in show_cap_strs()
68 printf("%d:%d ", i, j); in show_cap_strs()
83 printf("This kernel requires an %s CPU, ", in validate_cpu()
85 printf("but only detected an %s CPU.\n", in validate_cpu()
Dmkcpustr.c28 printf("static const char x86_cap_strs[] =\n"); in main()
40 printf("\t\"\\x%02x\\x%02x\"\"%s\"\n", in main()
43 printf("#if REQUIRED_MASK%d & (1 << %d)\n" in main()
50 printf("\t;\n"); in main()
/linux-4.4.14/tools/testing/selftests/powerpc/mm/
Dsubpage_prot.c76 printf("Failed at 0x%p (p=%ld,sp=%ld,w=%d), want=%s, got=%s !\n", in check_faulted()
85 printf("Fault expected at 0x%p and happened at 0x%p !\n", in check_faulted()
131 printf("%d errors detected\n", errors); in run_test()
165 printf("allocated malloc block of 0x%lx bytes at 0x%p\n", in test_anon()
168 printf("testing malloc block...\n"); in test_anon()
200 printf("allocated %s for 0x%lx bytes at 0x%p\n", in test_file()
203 printf("testing file map...\n"); in test_file()
/linux-4.4.14/Documentation/vDSO/
Dvdso_test.c26 printf("AT_SYSINFO_EHDR is not present!\n"); in main()
37 printf("Could not find __vdso_gettimeofday\n"); in main()
45 printf("The time is %lld.%06lld\n", in main()
48 printf("__vdso_gettimeofday failed\n"); in main()
/linux-4.4.14/tools/testing/selftests/efivarfs/
Defivarfs.sh48 printf "$attrs\x00" > $file
84 printf "$attrs\x00" > $file
111 printf "$attrs\x00" > $file
119 printf "$attrs" > $file
143 printf "$attrs\x00" > $file
182 printf "$attrs\x00" 2>/dev/null > $file
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/
Dcount_instructions.c53 printf("Looped for %llu instructions, overhead %llu\n", instructions, overhead); in do_count_loop()
54 printf("Expected %llu\n", expected); in do_count_loop()
55 printf("Actual %llu\n", events[0].result.value); in do_count_loop()
56 printf("Delta %lld, %f%%\n", difference, percentage); in do_count_loop()
86 printf("Replacing overhead %llu with %llu\n", overhead, current); in determine_overhead()
113 printf("Overhead of null loop: %llu instructions\n", overhead); in test_body()
Dlib.c40 printf("No cpus in affinity mask?!\n"); in pick_online_cpu()
48 printf("Binding to cpu %d\n", cpu); in bind_to_cpu()
167 printf("main test running as pid %d\n", getpid()); in eat_cpu()
233 printf("Couldn't read " PARANOID_PATH "?\n"); in require_paranoia_below()
240 printf("Couldn't parse " PARANOID_PATH "?\n"); in require_paranoia_below()
/linux-4.4.14/tools/perf/bench/
Dmem-functions.c94 printf(" %14lf bytes/sec\n", x); \
96 printf(" %14lfd KB/sec\n", x / K); \
98 printf(" %14lf MB/sec\n", x / K / K); \
100 printf(" %14lf GB/sec\n", x / K / K / K); \
116 printf("# function '%s' (%s)\n", r->name, r->desc); in __bench_mem_function()
119 printf("# Copying %s bytes ...\n\n", size_str); in __bench_mem_function()
130 printf(" %14lf cycles/byte\n", (double)result_cycles/size_total); in __bench_mem_function()
138 printf("%lf\n", (double)result_cycles/size_total); in __bench_mem_function()
140 printf("%lf\n", result_bps); in __bench_mem_function()
181 printf("Unknown function: %s\n", function_str); in bench_mem_common()
[all …]
Dsched-pipe.c153 printf("# Executed %d pipe operations between two %s\n\n", in bench_sched_pipe()
159 printf(" %14s: %lu.%03lu [sec]\n\n", "Total time", in bench_sched_pipe()
163 printf(" %14lf usecs/op\n", in bench_sched_pipe()
165 printf(" %14d ops/sec\n", in bench_sched_pipe()
171 printf("%lu.%03lu\n", in bench_sched_pipe()
Dnuma.c38 #define tprintf(x...) do { if (g && g->p.show_details >= 0) printf(x); } while (0)
43 #define dprintf(x...) do { if (g && g->p.show_details >= 1) printf(x); } while (0)
342printf("WARNING: Could not enable THP - do: 'echo madvise > /sys/kernel/mm/transparent_hugepage/en… in alloc_data()
349 printf("WARNING: Could not disable THP: run a CONFIG_TRANSPARENT_HUGEPAGE kernel?\n"); in alloc_data()
509 printf("\nTest not applicable, system has only %d CPUs.\n", g->p.nr_cpus); in parse_setup_cpu_list()
523 printf("\n# NOTE: ignoring bind CPUs starting at CPU#%d\n #", bind_cpu); in parse_setup_cpu_list()
550 printf("# NOTE: %d tasks bound, %d tasks unbound\n", t, g->p.nr_tasks - t); in parse_setup_cpu_list()
633 printf("\nTest not applicable, system has only %d nodes.\n", g->p.nr_nodes); in parse_setup_node_list()
645 printf("\n# NOTE: ignoring bind NODEs starting at NODE#%d\n", bind_node); in parse_setup_node_list()
665 printf("# NOTE: %d tasks mem-bound, %d tasks unbound\n", t, g->p.nr_tasks - t); in parse_setup_node_list()
[all …]
/linux-4.4.14/tools/testing/selftests/kcmp/
Dkcmp_test.c59 printf("pid1: %6d pid2: %6d FD: %2ld FILES: %2ld VM: %2ld " in main()
77 printf("FAIL: 0 expected but %d returned (%s)\n", in main()
82 printf("PASS: 0 returned as expected\n"); in main()
89 printf("FAIL: 0 expected but %d returned (%s)\n", in main()
94 printf("PASS: 0 returned as expected\n"); in main()
/linux-4.4.14/tools/perf/util/
Ddebug.h43 int dump_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
46 int ui__error(const char *format, ...) __attribute__((format(printf, 1, 2)));
47 int ui__warning(const char *format, ...) __attribute__((format(printf, 1, 2)));
51 int eprintf(int level, int var, const char *fmt, ...) __attribute__((format(printf, 3, 4)));
52 int eprintf_time(int level, int var, u64 t, const char *fmt, ...) __attribute__((format(printf, 4, …
Dcache.h68 extern char *mkpath(const char *fmt, ...) __attribute__((format (printf, 1, 2)));
69 extern char *perf_path(const char *fmt, ...) __attribute__((format (printf, 1, 2)));
72 __attribute__((format (printf, 1, 2)));
/linux-4.4.14/arch/um/kernel/
Dum_arch.c35 printf("add_arg: Too many command line arguments!\n"); in add_arg()
127 printf("%s\n", init_utsname()->release); in uml_version_setup()
155 printf("'debug' is not necessary to gdb UML in skas mode - run \n"); in no_skas_debug_setup()
156 printf("'gdb linux'\n"); in no_skas_debug_setup()
170 printf(usage_string, init_utsname()->release); in Usage()
173 printf("%s", *p); in Usage()
290 printf("Adding %ld bytes to physical memory to account for " in linux_main()
334 printf("Kernel virtual memory size shrunk to %lu bytes\n", in linux_main()
/linux-4.4.14/tools/testing/selftests/powerpc/stringloops/
Dmemcmp.c26printf("memcmp returned %d, should have returned %d (offset %ld size %ld)\n", x, y, offset, size); in test_one()
29 printf("%02x ", s1[i]); in test_one()
30 printf("\n"); in test_one()
33 printf("%02x ", s2[i]); in test_one()
34 printf("\n"); in test_one()
/linux-4.4.14/tools/perf/arch/x86/tests/
Dgen-insn-x86-dat.awk41 printf "{{"
45 printf "0x%s, ", $i
51 printf "}, %d, %s, \"%s\", \"%s\",", len, rel, op, branch
52 printf "\n\"%s\",},\n", useful_line
/linux-4.4.14/arch/frv/include/asm/
Dmath-emu.h196 | printf ,"[\size<%08x]",1,\addr
212 | printf ,"[\size>%08x]",1,\addr
237 .macro printf bit=-1,string,nr=0,arg1,arg2,arg3,arg4,arg5
273 .Lx1\@: printf \bit," %c",1,%d0
277 printf \bit,"0."
279 .Lx2\@: printf \bit,"1."
280 .Lx3\@: printf \bit,"%08x%08x",2,%d0,%a0@(8)
283 printf \bit,"E%04x",1,%d0
285 printf \bit," %08x%08x%08x",3,%a0@,%a0@(4),%a0@(8)
/linux-4.4.14/Documentation/kdump/
Dgdbmacros.txt23 printf "\npid %d; comm %s:\n", $next_t.pid, $next_t.comm
24 printf "===================\n"
37 printf "\npid %d; comm %s:\n", $next_t.pid, $next_t.comm
38 printf "===================\n"
64 printf "\npid %d; comm %s:\n", $next_t.pid, $next_t.comm
65 printf "===================\n"
80 printf "\npid %d; comm %s:\n", $next_t.pid, $next_t.comm
81 printf "===================\n"
127 printf "\npid %d; comm %s:\n", $pid_task.pid, $pid_task.comm
128 printf "===================\n"
[all …]
/linux-4.4.14/drivers/net/fddi/skfp/
Dqueue.c165 printf("smt %d\n",deb->d_smt) ; in do_smt_flag()
166 printf("smtf %d\n",deb->d_smtf) ; in do_smt_flag()
167 printf("pcm %d\n",deb->d_pcm) ; in do_smt_flag()
168 printf("rmt %d\n",deb->d_rmt) ; in do_smt_flag()
169 printf("cfm %d\n",deb->d_cfm) ; in do_smt_flag()
170 printf("ecm %d\n",deb->d_ecm) ; in do_smt_flag()
/linux-4.4.14/Documentation/ia64/
Derr_inject.txt119 #define vbprintf if (verbose) printf
395 printf("Please remove semaphore with key=0x%lx, then run the tool.\n",
521 printf("err_type_info=%lx\n", err_type_info);
528 printf("err_struct_info=%lx\n", err_struct_info);
535 printf("err_data_buffer=%lx\n", err_data_buffer);
542 printf("status=%d\n", status);
549 printf("capabilities=%lx\n", capabilities);
556 printf("resources=%lx\n", resources);
601 printf("All capabilities implemented in pal_mc_error_inject:\n");
621 printf("For err_sev=%d, err_struct=%d, struct_hier=%d: ",
[all …]
/linux-4.4.14/arch/m68k/include/asm/
Dmath-emu.h196 | printf ,"[\size<%08x]",1,\addr
212 | printf ,"[\size>%08x]",1,\addr
252 .macro printf bit=-1,string,nr=0,arg1,arg2,arg3,arg4,arg5
288 .Lx1\@: printf \bit," %c",1,%d0
292 printf \bit,"0."
294 .Lx2\@: printf \bit,"1."
295 .Lx3\@: printf \bit,"%08x%08x",2,%d0,%a0@(8)
298 printf \bit,"E%04x",1,%d0
300 printf \bit," %08x%08x%08x",3,%a0@,%a0@(4),%a0@(8)
/linux-4.4.14/arch/m32r/platforms/mappi3/
Ddot.gdbinit86 printf " [%2d] 0x%08lx : 0x%08lx - 0x%08lx\n", $i, $addr, $tlb_tag, $tlb_data
119 printf "$current=0x%08lX\n",$current
126 printf "$task=0x%08lX\n",$task
136 printf " R0[0x%08lX] R1[0x%08lX] R2[0x%08lX] R3[0x%08lX]\n",$r0,$r1,$r2,$r3
137 printf " R4[0x%08lX] R5[0x%08lX] R6[0x%08lX] R7[0x%08lX]\n",$r4,$r5,$r6,$r7
138 printf " R8[0x%08lX] R9[0x%08lX] R10[0x%08lX] R11[0x%08lX]\n",$r8,$r9,$r10,$r11
139 printf "R12[0x%08lX] FP[0x%08lX] LR[0x%08lX] SP[0x%08lX]\n",$r12,$fp,$lr,$sp
140 printf "PSW[0x%08lX] CBR[0x%08lX] SPI[0x%08lX] SPU[0x%08lX]\n",$psw,$cbr,$spi,$spu
141 printf "BPC[0x%08lX] PC[0x%08lX] ACCL[0x%08lX] ACCH[0x%08lX]\n",$bpc,$pc,$accl,$acch
142 printf "EVB[0x%08lX]\n",$evb
[all …]
/linux-4.4.14/arch/m32r/platforms/mappi2/
Ddot.gdbinit.vdec297 printf " [%2d] 0x%08lx : 0x%08lx - 0x%08lx\n", $i, $addr, $tlb_tag, $tlb_data
130 printf "$current=0x%08lX\n",$current
137 printf "$task=0x%08lX\n",$task
147 printf " R0[0x%08lX] R1[0x%08lX] R2[0x%08lX] R3[0x%08lX]\n",$r0,$r1,$r2,$r3
148 printf " R4[0x%08lX] R5[0x%08lX] R6[0x%08lX] R7[0x%08lX]\n",$r4,$r5,$r6,$r7
149 printf " R8[0x%08lX] R9[0x%08lX] R10[0x%08lX] R11[0x%08lX]\n",$r8,$r9,$r10,$r11
150 printf "R12[0x%08lX] FP[0x%08lX] LR[0x%08lX] SP[0x%08lX]\n",$r12,$fp,$lr,$sp
151 printf "PSW[0x%08lX] CBR[0x%08lX] SPI[0x%08lX] SPU[0x%08lX]\n",$psw,$cbr,$spi,$spu
152 printf "BPC[0x%08lX] PC[0x%08lX] ACCL[0x%08lX] ACCH[0x%08lX]\n",$bpc,$pc,$accl,$acch
153 printf "EVB[0x%08lX]\n",$evb
[all …]
/linux-4.4.14/Documentation/ptp/
Dtestptp.c70 printf("received signal %d\n", s); in handle_alarm()
274 printf("capabilities:\n" in main()
317 printf("clock time: %ld.%09ld or %s", in main()
366 printf("event index %u at %lld.%09u\n", event.index, in main()
390 printf("name %s index %u func %u chan %u\n", in main()
504 printf("system time: %lld.%u\n", in main()
506 printf("phc time: %lld.%u\n", in main()
508 printf("system time: %lld.%u\n", in main()
510 printf("system/phc clock time offset is %" PRId64 " ns\n" in main()
/linux-4.4.14/arch/x86/um/os-Linux/
Dtask_size.c82 printf("Locating the bottom of the address space ... "); in os_get_top_address()
112 printf("0x%x\n", bottom << UM_KERN_PAGE_SHIFT); in os_get_top_address()
113 printf("Locating the top of the address space ... "); in os_get_top_address()
137 printf("0x%x\n", top); in os_get_top_address()
/linux-4.4.14/lib/raid6/test/
Dtest.c75 printf("algo=%-8s faila=%3d(%c) failb=%3d(%c) %s\n", in test_disks()
106 printf("using recovery %s\n", (*ra)->name); in main()
144 printf("\n"); in main()
147 printf("\n"); in main()
152 printf("\n*** ERRORS FOUND ***\n"); in main()
/linux-4.4.14/arch/m32r/platforms/oaks32r/
Ddot.gdbinit.nommu61 printf "$current=0x%08lX\n",$current
68 printf "$task=0x%08lX\n",$task
78 printf " R0[0x%08lX] R1[0x%08lX] R2[0x%08lX] R3[0x%08lX]\n",$r0,$r1,$r2,$r3
79 printf " R4[0x%08lX] R5[0x%08lX] R6[0x%08lX] R7[0x%08lX]\n",$r4,$r5,$r6,$r7
80 printf " R8[0x%08lX] R9[0x%08lX] R10[0x%08lX] R11[0x%08lX]\n",$r8,$r9,$r10,$r11
81 printf "R12[0x%08lX] FP[0x%08lX] LR[0x%08lX] SP[0x%08lX]\n",$r12,$fp,$lr,$sp
82 printf "PSW[0x%08lX] CBR[0x%08lX] SPI[0x%08lX] SPU[0x%08lX]\n",$psw,$cbr,$spi,$spu
83 printf "BPC[0x%08lX] PC[0x%08lX] ACCL[0x%08lX] ACCH[0x%08lX]\n",$bpc,$pc,$accl,$acch
/linux-4.4.14/tools/usb/ffs-aio-example/simple/device_app/
Daio_simple.c160 printf("Event %s\n", names[event->type]); in display_event()
223 printf("ffs directory not specified!\n"); in main()
252 printf("unable to open ep%d: %s\n", i+1, in main()
315 printf("ev=in; ret=%lu\n", e[i].res); in main()
318 printf("ev=out; ret=%lu\n", e[i].res); in main()
334 printf("submit: in\n"); in main()
348 printf("submit: out\n"); in main()
/linux-4.4.14/arch/m68k/tools/amiga/
Ddmesg.c49 printf("Searching for SAVEKMSG magic...\n"); in main()
59 printf("Not found\n"); in main()
61 printf("Found %ld bytes at 0x%08lx\n", m->size, (u_long)&m->data); in main()
/linux-4.4.14/scripts/selinux/mdp/
Dmdp.c34 printf("usage: %s [-m] policy_file context_file\n", name); in usage()
67 printf("Could not open %s for writing\n", polout); in main()
95 printf("MLS not yet implemented\n"); in main()
140 printf("Wrote policy, but cannot open %s for writing\n", ctxout); in main()
/linux-4.4.14/arch/m32r/platforms/m32700ut/
Ddot.gdbinit_400MHz_32MB93 printf " [%2d] 0x%08lx : 0x%08lx - 0x%08lx\n", $i, $addr, $tlb_tag, $tlb_data
131 printf "$current=0x%08lX\n",$current
138 printf "$task=0x%08lX\n",$task
148 printf " R0[0x%08lX] R1[0x%08lX] R2[0x%08lX] R3[0x%08lX]\n",$r0,$r1,$r2,$r3
149 printf " R4[0x%08lX] R5[0x%08lX] R6[0x%08lX] R7[0x%08lX]\n",$r4,$r5,$r6,$r7
150 printf " R8[0x%08lX] R9[0x%08lX] R10[0x%08lX] R11[0x%08lX]\n",$r8,$r9,$r10,$r11
151 printf "R12[0x%08lX] FP[0x%08lX] LR[0x%08lX] SP[0x%08lX]\n",$r12,$fp,$lr,$sp
152 printf "PSW[0x%08lX] CBR[0x%08lX] SPI[0x%08lX] SPU[0x%08lX]\n",$psw,$cbr,$spi,$spu
153 printf "BPC[0x%08lX] PC[0x%08lX] ACCL[0x%08lX] ACCH[0x%08lX]\n",$bpc,$pc,$accl,$acch
154 printf "EVB[0x%08lX]\n",$evb
Ddot.gdbinit_200MHz_16MB93 printf " [%2d] 0x%08lx : 0x%08lx - 0x%08lx\n", $i, $addr, $tlb_tag, $tlb_data
131 printf "$current=0x%08lX\n",$current
138 printf "$task=0x%08lX\n",$task
148 printf " R0[0x%08lX] R1[0x%08lX] R2[0x%08lX] R3[0x%08lX]\n",$r0,$r1,$r2,$r3
149 printf " R4[0x%08lX] R5[0x%08lX] R6[0x%08lX] R7[0x%08lX]\n",$r4,$r5,$r6,$r7
150 printf " R8[0x%08lX] R9[0x%08lX] R10[0x%08lX] R11[0x%08lX]\n",$r8,$r9,$r10,$r11
151 printf "R12[0x%08lX] FP[0x%08lX] LR[0x%08lX] SP[0x%08lX]\n",$r12,$fp,$lr,$sp
152 printf "PSW[0x%08lX] CBR[0x%08lX] SPI[0x%08lX] SPU[0x%08lX]\n",$psw,$cbr,$spi,$spu
153 printf "BPC[0x%08lX] PC[0x%08lX] ACCL[0x%08lX] ACCH[0x%08lX]\n",$bpc,$pc,$accl,$acch
154 printf "EVB[0x%08lX]\n",$evb
Ddot.gdbinit_300MHz_32MB93 printf " [%2d] 0x%08lx : 0x%08lx - 0x%08lx\n", $i, $addr, $tlb_tag, $tlb_data
131 printf "$current=0x%08lX\n",$current
138 printf "$task=0x%08lX\n",$task
148 printf " R0[0x%08lX] R1[0x%08lX] R2[0x%08lX] R3[0x%08lX]\n",$r0,$r1,$r2,$r3
149 printf " R4[0x%08lX] R5[0x%08lX] R6[0x%08lX] R7[0x%08lX]\n",$r4,$r5,$r6,$r7
150 printf " R8[0x%08lX] R9[0x%08lX] R10[0x%08lX] R11[0x%08lX]\n",$r8,$r9,$r10,$r11
151 printf "R12[0x%08lX] FP[0x%08lX] LR[0x%08lX] SP[0x%08lX]\n",$r12,$fp,$lr,$sp
152 printf "PSW[0x%08lX] CBR[0x%08lX] SPI[0x%08lX] SPU[0x%08lX]\n",$psw,$cbr,$spi,$spu
153 printf "BPC[0x%08lX] PC[0x%08lX] ACCL[0x%08lX] ACCH[0x%08lX]\n",$bpc,$pc,$accl,$acch
154 printf "EVB[0x%08lX]\n",$evb
/linux-4.4.14/arch/m32r/platforms/mappi/
Ddot.gdbinit129 printf " [%2d] 0x%08lx : 0x%08lx - 0x%08lx\n", $i, $addr, $tlb_tag, $tlb_data
147 printf "$current=0x%08lX\n",$current
154 printf "$task=0x%08lX\n",$task
164 printf " R0[0x%08lX] R1[0x%08lX] R2[0x%08lX] R3[0x%08lX]\n",$r0,$r1,$r2,$r3
165 printf " R4[0x%08lX] R5[0x%08lX] R6[0x%08lX] R7[0x%08lX]\n",$r4,$r5,$r6,$r7
166 printf " R8[0x%08lX] R9[0x%08lX] R10[0x%08lX] R11[0x%08lX]\n",$r8,$r9,$r10,$r11
167 printf "R12[0x%08lX] FP[0x%08lX] LR[0x%08lX] SP[0x%08lX]\n",$r12,$fp,$lr,$sp
168 printf "PSW[0x%08lX] CBR[0x%08lX] SPI[0x%08lX] SPU[0x%08lX]\n",$psw,$cbr,$spi,$spu
169 printf "BPC[0x%08lX] PC[0x%08lX] ACCL[0x%08lX] ACCH[0x%08lX]\n",$bpc,$pc,$accl,$acch
170 printf "EVB[0x%08lX]\n",$evb
Ddot.gdbinit.nommu129 printf " [%2d] 0x%08lx : 0x%08lx - 0x%08lx\n", $i, $addr, $tlb_tag, $tlb_data
147 printf "$current=0x%08lX\n",$current
154 printf "$task=0x%08lX\n",$task
164 printf " R0[0x%08lX] R1[0x%08lX] R2[0x%08lX] R3[0x%08lX]\n",$r0,$r1,$r2,$r3
165 printf " R4[0x%08lX] R5[0x%08lX] R6[0x%08lX] R7[0x%08lX]\n",$r4,$r5,$r6,$r7
166 printf " R8[0x%08lX] R9[0x%08lX] R10[0x%08lX] R11[0x%08lX]\n",$r8,$r9,$r10,$r11
167 printf "R12[0x%08lX] FP[0x%08lX] LR[0x%08lX] SP[0x%08lX]\n",$r12,$fp,$lr,$sp
168 printf "PSW[0x%08lX] CBR[0x%08lX] SPI[0x%08lX] SPU[0x%08lX]\n",$psw,$cbr,$spi,$spu
169 printf "BPC[0x%08lX] PC[0x%08lX] ACCL[0x%08lX] ACCH[0x%08lX]\n",$bpc,$pc,$accl,$acch
170 printf "EVB[0x%08lX]\n",$evb
/linux-4.4.14/fs/bfs/
Dinode.c29 #define dprintf(x...) printf(x)
48 printf("Bad inode number %s:%08lx\n", inode->i_sb->s_id, ino); in bfs_iget()
55 printf("Unable to read inode %s:%08lx\n", inode->i_sb->s_id, in bfs_iget()
102 printf("Bad inode number %s:%08x\n", sb->s_id, ino); in find_inode()
110 printf("Unable to read inode %s:%08x\n", sb->s_id, ino); in find_inode()
314 printf("BFS-fs: %s: lasti=%08lx <%s>\n", in bfs_dump_imap()
344 printf("No BFS filesystem on %s (magic=%08x)\n", in bfs_fill_super()
349 printf("%s is unclean, continuing\n", s->s_id); in bfs_fill_super()
354 printf("Superblock is corrupted\n"); in bfs_fill_super()
389 printf("Last block not available: %lu\n", info->si_blocks - 1); in bfs_fill_super()
[all …]
/linux-4.4.14/tools/build/feature/
Dtest-libaudit.c3 extern int printf(const char *format, ...);
7 printf("error message: %s\n", audit_errno_to_name(0)); in main()
Dtest-libbfd.c3 extern int printf(const char *format, ...);
12 printf("demangled symbol: {%s}\n", tmp); in main()
Dtest-cplus-demangle.c1 extern int printf(const char *format, ...);
11 printf("demangled symbol: {%s}\n", tmp); in main()
/linux-4.4.14/Documentation/usb/
Dgadget_printer.txt200 printf("Error %d opening %s\n", fd[0].fd, PRINTER_FILE);
221 printf("Error %d reading from %s\n",
250 printf("Error %d opening %s\n", fd[0].fd, PRINTER_FILE);
276 printf("Error %d writing to %s\n",
311 printf("Error %d opening %s\n", fd, PRINTER_FILE);
344 printf("Error %d opening %s\n", fd, PRINTER_FILE);
379 printf("Error %d opening %s\n", fd, PRINTER_FILE);
414 printf("Printer status is:\n");
416 printf(" Printer is Selected\n");
418 printf(" Printer is NOT Selected\n");
[all …]
Dgadget_hid.txt336 printf(" keyboard options:\n"
339 printf("\t\t%s\n", kmod[i].opt);
340 printf("\n keyboard values:\n"
343 printf("\t\t%-8s%s", kval[i].opt, i % 2 ? "\n" : "");
344 printf("\n");
346 printf(" mouse options:\n"
349 printf("\t\t%s\n", mmod[i].opt);
350 printf("\n mouse values:\n"
354 printf(" joystick options:\n");
356 printf("\t\t%s\n", jmod[i].opt);
[all …]

123