Home
last modified time | relevance | path

Searched refs:fprintf (Results 1 – 200 of 233) sorted by relevance

12

/linux-4.1.27/scripts/selinux/mdp/
Dmdp.c73 fprintf(fout, "class %s\n", secclass_map[i].name); in main()
74 fprintf(fout, "\n"); in main()
79 fprintf(fout, "sid %s\n", initial_sid_to_string[i]); in main()
80 fprintf(fout, "\n"); in main()
85 fprintf(fout, "class %s\n", map->name); in main()
86 fprintf(fout, "{\n"); in main()
88 fprintf(fout, "\t%s\n", map->perms[j]); in main()
89 fprintf(fout, "}\n\n"); in main()
91 fprintf(fout, "\n"); in main()
100 fprintf(fout, "type base_t;\n"); in main()
[all …]
/linux-4.1.27/tools/perf/util/
Dsvghelper.c92 fprintf(stderr, "Cannot open %s for output\n", filename); in open_svg()
109 fprintf(svgfile, "<?xml version=\"1.0\" standalone=\"no\"?> \n"); in open_svg()
110 fprintf(svgfile, "<!DOCTYPE svg SYSTEM \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n"); in open_svg()
111fprintf(svgfile, "<svg width=\"%i\" height=\"%" PRIu64 "\" version=\"1.1\" xmlns=\"http://www.w3.o… in open_svg()
113 fprintf(svgfile, "<defs>\n <style type=\"text/css\">\n <![CDATA[\n"); in open_svg()
115 fprintf(svgfile, " rect { stroke-width: 1; }\n"); in open_svg()
116fprintf(svgfile, " rect.process { fill:rgb(180,180,180); fill-opacity:0.9; stroke-width:1; … in open_svg()
117fprintf(svgfile, " rect.process2 { fill:rgb(180,180,180); fill-opacity:0.9; stroke-width:0; … in open_svg()
118fprintf(svgfile, " rect.process3 { fill:rgb(180,180,180); fill-opacity:0.5; stroke-width:0; … in open_svg()
119fprintf(svgfile, " rect.sample { fill:rgb( 0, 0,255); fill-opacity:0.8; stroke-width:0; … in open_svg()
[all …]
Dparse-options.c568 fprintf(stderr, "%s\n", opts->help); in print_option_help()
576 pos = fprintf(stderr, " "); in print_option_help()
578 pos += fprintf(stderr, "-%c", opts->short_name); in print_option_help()
580 pos += fprintf(stderr, " "); in print_option_help()
583 pos += fprintf(stderr, ", "); in print_option_help()
585 pos += fprintf(stderr, "--%s", opts->long_name); in print_option_help()
596 pos += fprintf(stderr, "[=<n>]"); in print_option_help()
598 pos += fprintf(stderr, "[<n>]"); in print_option_help()
600 pos += fprintf(stderr, " <n>"); in print_option_help()
610 pos += fprintf(stderr, "[=<%s>]", opts->argh); in print_option_help()
[all …]
Dvalues.c160 fprintf(fp, "# %*s %*s", pidwidth, "PID", tidwidth, "TID"); in perf_read_values__display_pretty()
162 fprintf(fp, " %*s", counterwidth[j], values->countername[j]); in perf_read_values__display_pretty()
163 fprintf(fp, "\n"); in perf_read_values__display_pretty()
166 fprintf(fp, " %*d %*d", pidwidth, values->pid[i], in perf_read_values__display_pretty()
169 fprintf(fp, " %*" PRIu64, in perf_read_values__display_pretty()
171 fprintf(fp, "\n"); in perf_read_values__display_pretty()
212 fprintf(fp, "# %*s %*s %*s %*s %*s\n", in perf_read_values__display_raw()
218 fprintf(fp, " %*d %*d %*s %*" PRIx64 " %*" PRIu64, in perf_read_values__display_raw()
Dheader.c875 fprintf(fp, "# hostname : %s\n", ph->env.hostname); in print_hostname()
881 fprintf(fp, "# os release : %s\n", ph->env.os_release); in print_osrelease()
886 fprintf(fp, "# arch : %s\n", ph->env.arch); in print_arch()
892 fprintf(fp, "# cpudesc : %s\n", ph->env.cpu_desc); in print_cpudesc()
898 fprintf(fp, "# nrcpus online : %u\n", ph->env.nr_cpus_online); in print_nrcpus()
899 fprintf(fp, "# nrcpus avail : %u\n", ph->env.nr_cpus_avail); in print_nrcpus()
905 fprintf(fp, "# perf version : %s\n", ph->env.version); in print_version()
917 fprintf(fp, "# cmdline : "); in print_cmdline()
920 fprintf(fp, "%s ", str); in print_cmdline()
936 fprintf(fp, "# sibling cores : %s\n", str); in print_cpu_topology()
[all …]
Dusage.c16 fprintf(stderr, " %s%s\n", prefix, msg); in report()
21 fprintf(stderr, "\n Usage: %s\n", err); in usage_builtin()
Dhelp.c309 fprintf(stderr, "WARNING: You called a perf program named '%s', " in help_unknown_cmd()
314 fprintf(stderr, "in %0.1f seconds automatically...\n", in help_unknown_cmd()
321 fprintf(stderr, "perf: '%s' is not a perf-command. See 'perf --help'.\n", cmd); in help_unknown_cmd()
324 fprintf(stderr, "\nDid you mean %s?\n", in help_unknown_cmd()
328 fprintf(stderr, "\t%s\n", main_cmds.names[i]->name); in help_unknown_cmd()
Dtrace-event-scripting.c52 fprintf(stderr, "Python scripting not supported." in print_python_unsupported_msg()
117 fprintf(stderr, "Perl scripting not supported." in print_perl_unsupported_msg()
Dmap.c337 return fprintf(fp, " %" PRIx64 "-%" PRIx64 " %" PRIx64 " %s\n", in map__fprintf()
352 return fprintf(fp, "%s", dsoname); in map__fprintf_dsoname()
365 ret = fprintf(fp, "%s%s", prefix, srcline); in map__fprintf_srcline()
577 size_t printed = fprintf(fp, "%s:\n", map_type__name[type]); in __map_groups__fprintf_maps()
582 printed += fprintf(fp, "Map:"); in __map_groups__fprintf_maps()
586 printed += fprintf(fp, "--\n"); in __map_groups__fprintf_maps()
608 printed += fprintf(fp, "Map:"); in __map_groups__fprintf_removed_maps()
612 printed += fprintf(fp, "--\n"); in __map_groups__fprintf_removed_maps()
630 printed += fprintf(fp, "Removed maps:\n"); in map_groups__fprintf()
Dcolor.c86 r += fprintf(fp, "%s", color); in __color_vfprintf()
89 r += fprintf(fp, "%s", PERF_COLOR_RESET); in __color_vfprintf()
91 r += fprintf(fp, "%s", trail); in __color_vfprintf()
Dcgroup.c71 fprintf(stderr, "no access to cgroup %s\n", path); in open_cgroup()
150 fprintf(stderr, "must define events before cgroups\n"); in parse_cgroups()
Dthread_map.c293 size_t printed = fprintf(fp, "%d thread%s: ", in thread_map__fprintf()
296 printed += fprintf(fp, "%s%d", i ? ", " : "", threads->map[i]); in thread_map__fprintf()
298 return printed + fprintf(fp, "\n"); in thread_map__fprintf()
Dfind-vdso-map.c9 fprintf(stderr, "vdso: cannot open maps\n"); in find_vdso_map()
Dcpumap.c182 size_t printed = fprintf(fp, "%d cpu%s: ", in cpu_map__fprintf()
185 printed += fprintf(fp, "%s%d", i ? ", " : "", map->map[i]); in cpu_map__fprintf()
187 return printed + fprintf(fp, "\n"); in cpu_map__fprintf()
Ddso.c1084 ret += fprintf(fp, " %s\n", pos->long_name); in __dsos__fprintf_buildid()
1108 return fprintf(fp, "%s", sbuild_id); in dso__fprintf_buildid()
1114 size_t ret = fprintf(fp, "dso: %s (", dso->short_name); in dso__fprintf()
1117 ret += fprintf(fp, "%s, ", dso->long_name); in dso__fprintf()
1118 ret += fprintf(fp, "%s, %sloaded, ", map_type__name[type], in dso__fprintf()
1121 ret += fprintf(fp, ")\n"); in dso__fprintf()
Devent.c676 return fprintf(fp, "%s: %s:%d/%d\n", s, event->comm.comm, event->comm.pid, event->comm.tid); in perf_event__fprintf_comm()
697 return fprintf(fp, " %d/%d: [%#" PRIx64 "(%#" PRIx64 ") @ %#" PRIx64 "]: %c %s\n", in perf_event__fprintf_mmap()
706 return fprintf(fp, " %d/%d: [%#" PRIx64 "(%#" PRIx64 ") @ %#" PRIx64 in perf_event__fprintf_mmap2()
737 return fprintf(fp, "(%d:%d):(%d:%d)\n", in perf_event__fprintf_task()
760 size_t ret = fprintf(fp, "PERF_RECORD_%s", in perf_event__fprintf()
778 ret += fprintf(fp, "\n"); in perf_event__fprintf()
Devsel.c1131 return fprintf(fp, " %-32s %s\n", name, val); in __open_attr__fprintf()
1174 fprintf(stderr, "%.60s\n", graph_dotted_line); in __perf_evsel__open()
1175 fprintf(stderr, "perf_event_attr:\n"); in __perf_evsel__open()
1177 fprintf(stderr, "%.60s\n", graph_dotted_line); in __perf_evsel__open()
2047 ret += fprintf(fp, ","); in comma_fprintf()
2049 ret += fprintf(fp, ":"); in comma_fprintf()
2077 printed += fprintf(fp, "%s{", evsel->group_name ?: ""); in perf_evsel__fprintf()
2079 printed += fprintf(fp, "%s", perf_evsel__name(evsel)); in perf_evsel__fprintf()
2081 printed += fprintf(fp, ",%s", perf_evsel__name(pos)); in perf_evsel__fprintf()
2084 printed += fprintf(fp, "}"); in perf_evsel__fprintf()
[all …]
Dsession.c1491 size_t ret = fprintf(fp, "Aggregated stats:\n"); in perf_session__fprintf_nr_events()
1677 fprintf(fp, "# ========\n"); in perf_session__fprintf_info()
1678 fprintf(fp, "# captured on: %s", ctime(&st.st_ctime)); in perf_session__fprintf_info()
1680 fprintf(fp, "# ========\n#\n"); in perf_session__fprintf_info()
1727 fprintf(stdout, " nr: %zu\n", nr); in perf_event__process_id_index()
1734 fprintf(stdout, " ... id: %"PRIu64, e->id); in perf_event__process_id_index()
1735 fprintf(stdout, " idx: %"PRIu64, e->idx); in perf_event__process_id_index()
1736 fprintf(stdout, " cpu: %"PRId64, e->cpu); in perf_event__process_id_index()
1737 fprintf(stdout, " tid: %"PRId64"\n", e->tid); in perf_event__process_id_index()
Ddebug.c60 ret = fprintf(stderr, "[%13" PRIu64 ".%06" PRIu64 "] ", in __eprintf_time()
Dthread.c171 return fprintf(fp, "Thread %d %s\n", thread->tid, thread__comm_str(thread)) + in thread__fprintf()
Dparse-events.c1054 fprintf(stderr, "invalid or unsupported event: '%s'\n", str); in parse_events_option()
1055 fprintf(stderr, "Run 'perf list' for a list of valid events\n"); in parse_events_option()
1070 fprintf(stderr, in parse_filter()
1077 fprintf(stderr, "not enough memory to hold filter string\n"); in parse_filter()
Dsymbol.c253 return fprintf(fp, " %" PRIx64 "-%" PRIx64 " %c %s\n", in symbol__fprintf()
267 length = fprintf(fp, "%s", sym->name); in symbol__fprintf_symname_offs()
273 length += fprintf(fp, "+0x%lx", offset); in symbol__fprintf_symname_offs()
277 return fprintf(fp, "[unknown]"); in symbol__fprintf_symname_offs()
487 fprintf(fp, "%s\n", pos->sym.name); in dso__fprintf_symbols_by_name()
Devlist.c653 fprintf(stderr, "WARNING: failed to keep up with mmap data.\n"); in perf_evlist__mmap_read()
1399 fprintf(stderr, "FATAL: evlist->threads need to be set at this point (%s:%d).\n", in perf_evlist__prepare_workload()
1465 printed += fprintf(fp, "%s%s", evsel->idx ? ", " : "", in perf_evlist__fprintf()
1469 return printed + fprintf(fp, "\n"); in perf_evlist__fprintf()
Ddata-convert-bt.c841 fprintf(stderr, in bt_convert__perf2ctf()
845 fprintf(stderr, in bt_convert__perf2ctf()
Dannotate.c1420 return fprintf(fp, "%s\n", dl->line); in disasm_line__fprintf()
1422 printed = fprintf(fp, "%#" PRIx64 " %s", dl->offset, dl->name); in disasm_line__fprintf()
1425 printed += fprintf(fp, "%.*s %s\n", 6 - (int)printed, " ", in disasm_line__fprintf()
1429 return printed + fprintf(fp, "\n"); in disasm_line__fprintf()
Dprobe-event.c756 fprintf(stdout, "<%s@%s:%d>\n", lr->function, lr->path, in __show_line_range()
759 fprintf(stdout, "<%s:%d>\n", lr->path, lr->start); in __show_line_range()
848 fprintf(stdout, "Available variables at %s\n", buf); in show_available_vars_at()
855 fprintf(stdout, "\t@<%s+%lu>\n", vl->point.symbol, in show_available_vars_at()
863 fprintf(stdout, "\t\t%s\n", node->s); in show_available_vars_at()
870 fprintf(stdout, "\t\t(No matched variables)\n"); in show_available_vars_at()
/linux-4.1.27/scripts/selinux/genheaders/
Dgenheaders.c32 fprintf(stderr, "%s: out of memory\n", progname); in stoupperx()
56 fprintf(stderr, "Could not open %s for writing: %s\n", in main()
72 fprintf(fout, "/* This file is automatically generated. Do not edit. */\n"); in main()
73 fprintf(fout, "#ifndef _SELINUX_FLASK_H_\n#define _SELINUX_FLASK_H_\n\n"); in main()
77 fprintf(fout, "#define SECCLASS_%s", map->name); in main()
79 fprintf(fout, " "); in main()
80 fprintf(fout, "%2d\n", i+1); in main()
83 fprintf(fout, "\n"); in main()
87 fprintf(fout, "#define SECINITSID_%s", s); in main()
89 fprintf(fout, " "); in main()
[all …]
/linux-4.1.27/scripts/dtc/
Dtreesource.c74 fprintf(f, "%s: ", m->ref); in write_propval_string()
77 fprintf(f, "\""); in write_propval_string()
84 fprintf(f, "\\a"); in write_propval_string()
87 fprintf(f, "\\b"); in write_propval_string()
90 fprintf(f, "\\t"); in write_propval_string()
93 fprintf(f, "\\n"); in write_propval_string()
96 fprintf(f, "\\v"); in write_propval_string()
99 fprintf(f, "\\f"); in write_propval_string()
102 fprintf(f, "\\r"); in write_propval_string()
105 fprintf(f, "\\\\"); in write_propval_string()
[all …]
Dflattree.c119 fprintf(f, "\t.globl\t%s_%s\n", prefix, label); in emit_label()
120 fprintf(f, "%s_%s:\n", prefix, label); in emit_label()
121 fprintf(f, "_%s_%s:\n", prefix, label); in emit_label()
126 fprintf(f, "\t.globl\t%s\n", label); in emit_offset_label()
127 fprintf(f, "%s\t= . + %d\n", label, offset); in emit_offset_label()
132 fprintf((f), "\t.byte\t((" fmt ") >> 24) & 0xff\n", __VA_ARGS__); \
133 fprintf((f), "\t.byte\t((" fmt ") >> 16) & 0xff\n", __VA_ARGS__); \
134 fprintf((f), "\t.byte\t((" fmt ") >> 8) & 0xff\n", __VA_ARGS__); \
135 fprintf((f), "\t.byte\t(" fmt ") & 0xff\n", __VA_ARGS__); \
142 fprintf(f, "\t.byte 0x%02x; .byte 0x%02x; .byte 0x%02x; .byte 0x%02x\n", in asm_emit_cell()
[all …]
Dfdtput.c57 fprintf(stderr, "Error at '%1.*s': %s\n", namelen, name, in report_error()
84 fprintf(stderr, "Decoding value:\n"); in encode_value()
101 fprintf(stderr, "Out of mmory: cannot alloc " in encode_value()
111 fprintf(stderr, "\tstring: '%s'\n", ptr); in encode_value()
120 fprintf(stderr, "\t%s: %d\n", in encode_value()
130 fprintf(stderr, "Value size %d\n", upto); in encode_value()
294 fprintf(stderr, "Error: %s\n\n", msg); in usage()
296 fprintf(stderr, "%s", usage_msg); in usage()
Dutil.c258 fprintf(stderr, "Couldn't open blob from '%s': %s\n", filename, in utilfdt_read_len()
309 fprintf(stderr, "Couldn't write blob to '%s': %s\n", filename, in utilfdt_write()
406 fprintf(fp, in util_usage()
428 fprintf(fp, " "); in util_usage()
430 fprintf(fp, " -%c, ", long_opts[i].val); in util_usage()
434 fprintf(fp, "--%-*s", optlen, long_opts[i].name); in util_usage()
436 fprintf(fp, "--%s %s%*s", long_opts[i].name, a_arg, in util_usage()
440 fprintf(fp, "%s\n", opts_help[i]); in util_usage()
444 fprintf(fp, "\nError: %s\n", errmsg); in util_usage()
Dfdtget.c53 fprintf(stderr, "Error at '%s': %s\n", where, fdt_strerror(err)); in report_error()
84 fprintf(stderr, "Unterminated string\n"); in show_data()
98 fprintf(stderr, "Property length must be a multiple of " in show_data()
299 fprintf(stderr, "Error: %s\n\n", msg); in usage()
301 fprintf(stderr, "%s", usage_msg); in usage()
Dsrcpos.c133 fprintf(depfile, " %s", fullname); in srcfile_relative_open()
300 fprintf(stderr, "Error: %s ", srcstr); in srcpos_verror()
302 fprintf(stderr, "\n"); in srcpos_verror()
325 fprintf(stderr, "Warning: %s ", srcstr); in srcpos_warn()
327 fprintf(stderr, "\n"); in srcpos_warn()
Dfdtdump.c128 fprintf(stderr, "%*s ** Unknown tag 0x%08x\n", depth * shift, "", tag); in dump_blob()
151 fprintf(stderr, "supply input filename\n"); in main()
Dchecks.c26 fprintf(stderr, "=== %s: ", (c)->name); \
27 fprintf(stderr, __VA_ARGS__); \
28 fprintf(stderr, "\n"); \
111 fprintf(stderr, "%s (%s): ", in check_msg()
114 fprintf(stderr, "\n"); in check_msg()
751 fprintf(stderr, "ERROR: Input tree has errors, aborting " in process_checks()
755 fprintf(stderr, "Warning: Input tree has errors, " in process_checks()
Dfstree.c57 fprintf(stderr, in read_fstree()
Dutil.h34 fprintf(stderr, "FATAL ERROR: "); in die()
Ddtc.c211 fprintf(depfile, "%s:", outname); in main()
/linux-4.1.27/Documentation/timers/
Dhpet_example.c58 fprintf(stderr, "-hpet: requires command\n"); in main()
67 fprintf(stderr, "-hpet: executing %s\n", in main()
73 fprintf(stderr, "do_hpet: command %s not implemented\n", argv[0]); in main()
84 fprintf(stderr, "hpet_open_close: device-name\n"); in hpet_open_close()
90 fprintf(stderr, "hpet_open_close: open failed\n"); in hpet_open_close()
104 fprintf(stderr, "hpet_info: device-name\n"); in hpet_info()
110 fprintf(stderr, "hpet_info: open of %s failed\n", argv[0]); in hpet_info()
115 fprintf(stderr, "hpet_info: failed to get info\n"); in hpet_info()
119 fprintf(stderr, "hpet_info: hi_irqfreq 0x%lx hi_flags 0x%lx ", in hpet_info()
121 fprintf(stderr, "hi_hpet %d hi_timer %d\n", in hpet_info()
[all …]
/linux-4.1.27/tools/perf/util/scripting-engines/
Dtrace-event-perl.c455 fprintf(stderr, "couldn't open %s\n", fname); in perl_generate_script()
459 fprintf(ofp, "# perf script event handlers, " in perl_generate_script()
462 fprintf(ofp, "# Licensed under the terms of the GNU GPL" in perl_generate_script()
465 fprintf(ofp, "# The common_* event handler fields are the most useful " in perl_generate_script()
468 fprintf(ofp, "# all events. They don't necessarily correspond to " in perl_generate_script()
471 fprintf(ofp, "# in the format files. Those fields not available as " in perl_generate_script()
474 fprintf(ofp, "# be retrieved using Perl functions of the form " in perl_generate_script()
477 fprintf(ofp, "# See Context.pm for the list of available " in perl_generate_script()
480 fprintf(ofp, "use lib \"$ENV{'PERF_EXEC_PATH'}/scripts/perl/" in perl_generate_script()
483 fprintf(ofp, "use lib \"./Perf-Trace-Util/lib\";\n"); in perl_generate_script()
[all …]
Dtrace-event-python.c982 fprintf(stderr, "Error running python script %s\n", script); in python_start_script()
988 fprintf(stderr, "Error starting python script %s\n", script); in python_start_script()
1046 fprintf(stderr, "couldn't open %s\n", fname); in python_generate_script()
1049 fprintf(ofp, "# perf script event handlers, " in python_generate_script()
1052 fprintf(ofp, "# Licensed under the terms of the GNU GPL" in python_generate_script()
1055 fprintf(ofp, "# The common_* event handler fields are the most useful " in python_generate_script()
1058 fprintf(ofp, "# all events. They don't necessarily correspond to " in python_generate_script()
1061 fprintf(ofp, "# in the format files. Those fields not available as " in python_generate_script()
1064 fprintf(ofp, "# be retrieved using Python functions of the form " in python_generate_script()
1067 fprintf(ofp, "# See the perf-trace-python Documentation for the list " in python_generate_script()
[all …]
/linux-4.1.27/samples/uhid/
Duhid-example.c164 fprintf(stderr, "Cannot write to uhid: %m\n"); in uhid_write()
167 fprintf(stderr, "Wrong size written to uhid: %ld != %lu\n", in uhid_write()
220 fprintf(stderr, "LED output report received with flags %x\n", in handle_output()
232 fprintf(stderr, "Read HUP on uhid-cdev\n"); in event()
235 fprintf(stderr, "Cannot read uhid-cdev: %m\n"); in event()
238 fprintf(stderr, "Invalid size read from uhid-dev: %ld != %lu\n", in event()
245 fprintf(stderr, "UHID_START from uhid-dev\n"); in event()
248 fprintf(stderr, "UHID_STOP from uhid-dev\n"); in event()
251 fprintf(stderr, "UHID_OPEN from uhid-dev\n"); in event()
254 fprintf(stderr, "UHID_CLOSE from uhid-dev\n"); in event()
[all …]
/linux-4.1.27/arch/x86/tools/
Dinsn_sanity.c58 fprintf(stderr, "%s: Error: %s\n\n", prog, err); in usage()
59 fprintf(stderr, "Usage: %s [-y|-n|-v] [-s seed[,no]] [-m max] [-i input]\n", prog); in usage()
60 fprintf(stderr, "\t-y 64bit mode\n"); in usage()
61 fprintf(stderr, "\t-n 32bit mode\n"); in usage()
62 fprintf(stderr, "\t-v Verbosity(-vv dumps any decoded result)\n"); in usage()
63 fprintf(stderr, "\t-s Give a random seed (and iteration number)\n"); in usage()
64 fprintf(stderr, "\t-m Give a maximum iteration number\n"); in usage()
65 fprintf(stderr, "\t-i Give an input file with decoded binary\n"); in usage()
72 fprintf(fp, "%s.%s = {\n", indent, name); in dump_field()
73 fprintf(fp, "%s\t.value = %d, bytes[] = {%x, %x, %x, %x},\n", in dump_field()
[all …]
Dtest_get_len.c45 fprintf(stderr, "Usage: objdump -d a.out | awk -f distill.awk |" in usage()
47 fprintf(stderr, "\t-y 64bit mode\n"); in usage()
48 fprintf(stderr, "\t-n 32bit mode\n"); in usage()
49 fprintf(stderr, "\t-v verbose mode\n"); in usage()
55 fprintf(stderr, "%s: malformed line %d:\n%s", prog, line_nr, line); in malformed_line()
62 fprintf(fp, "%s.%s = {\n", indent, name); in dump_field()
63 fprintf(fp, "%s\t.value = %d, bytes[] = {%x, %x, %x, %x},\n", in dump_field()
66 fprintf(fp, "%s\t.got = %d, .nbytes = %d},\n", indent, in dump_field()
72 fprintf(fp, "Instruction = {\n"); in dump_insn()
82 fprintf(fp, "\t.attr = %x, .opnd_bytes = %d, .addr_bytes = %d,\n", in dump_insn()
[all …]
/linux-4.1.27/tools/testing/selftests/timers/
Drtctest.c48 fprintf(stderr, "usage: rtctest [rtcdev]\n"); in main()
59 fprintf(stderr, "\n\t\t\tRTC Driver Test Example.\n\n"); in main()
65 fprintf(stderr, in main()
73 fprintf(stderr, "Counting 5 update (1/sec) interrupts from reading %s:", in main()
83 fprintf(stderr, " %d",i); in main()
88 fprintf(stderr, "\nAgain, from using select(2) on /dev/rtc:"); in main()
108 fprintf(stderr, " %d",i); in main()
128 fprintf(stderr, "\n\nCurrent RTC date/time is %d-%d-%d, %02d:%02d:%02d.\n", in main()
148 fprintf(stderr, in main()
163 fprintf(stderr, "Alarm time now set to %02d:%02d:%02d.\n", in main()
[all …]
/linux-4.1.27/arch/x86/vdso/
Dvdso2c.h137 fprintf(outfile, "/* AUTOMATICALLY GENERATED -- DO NOT EDIT */\n\n"); in BITSFUNC()
138 fprintf(outfile, "#include <linux/linkage.h>\n"); in BITSFUNC()
139 fprintf(outfile, "#include <asm/page_types.h>\n"); in BITSFUNC()
140 fprintf(outfile, "#include <asm/vdso.h>\n"); in BITSFUNC()
141 fprintf(outfile, "\n"); in BITSFUNC()
142 fprintf(outfile, in BITSFUNC()
147 fprintf(outfile, "\n\t"); in BITSFUNC()
148 fprintf(outfile, "0x%02X, ", in BITSFUNC()
151 fprintf(outfile, "\n};\n\n"); in BITSFUNC()
153 fprintf(outfile, "static struct page *pages[%lu];\n\n", in BITSFUNC()
[all …]
Dvdso2c.c112 fprintf(stderr, "Error: "); in fail()
/linux-4.1.27/tools/testing/selftests/net/
Dpsock_fanout.c119 fprintf(stderr, "packetsock ring mmap\n"); in sock_fanout_open_ring()
146 fprintf(stderr, "info: count=%d,%d, expect=%d,%d\n", in sock_fanout_read()
151 fprintf(stderr, "ERROR: incorrect queue lengths\n"); in sock_fanout_read()
161 fprintf(stderr, "test: control single socket\n"); in test_control_single()
165 fprintf(stderr, "ERROR: opened socket with dual rollover\n"); in test_control_single()
175 fprintf(stderr, "test: control multiple sockets\n"); in test_control_group()
179 fprintf(stderr, "ERROR: failed to open HASH socket\n"); in test_control_group()
184 fprintf(stderr, "ERROR: joined group with wrong flag defrag\n"); in test_control_group()
189 fprintf(stderr, "ERROR: joined group with wrong flag ro\n"); in test_control_group()
193 fprintf(stderr, "ERROR: joined group with wrong mode\n"); in test_control_group()
[all …]
Dpsock_lib.h70 fprintf(stderr, "ERROR: socket dgram\n"); in pair_udp_open()
107 fprintf(stderr, "ERROR: send failed left=%d\n", num); in pair_udp_send()
111 fprintf(stderr, "ERROR: recv failed left=%d\n", num); in pair_udp_send()
115 fprintf(stderr, "ERROR: data failed left=%d\n", num); in pair_udp_send()
Dpsock_tpacket.c131 fprintf(stderr, "."); in status_bar_update()
141 fprintf(stderr, "test_payload: packet too " in test_payload()
147 fprintf(stderr, "test_payload: wrong ethernet " in test_payload()
284 fprintf(stderr, "walk_v%d_rx: received %u out of %u pkts\n", in walk_v1_v2_rx()
289 fprintf(stderr, " %u pkts (%u bytes)", NUM_PACKETS, total_bytes >> 1); in walk_v1_v2_rx()
450 fprintf(stderr, "walk_v%d_rx: received %u out of %u pkts\n", in walk_v1_v2_tx()
455 fprintf(stderr, " %u pkts (%u bytes)", NUM_PACKETS, got); in walk_v1_v2_tx()
471 fprintf(stderr, "\nprev_block_seq_num:%"PRIu64", expected " in __v3_test_block_seq_num()
484 fprintf(stderr, "\nblock:%u with %upackets, expected " in __v3_test_block_len()
494 fprintf(stderr, "\nblock %u: not in TP_STATUS_USER\n", block_num); in __v3_test_block_header()
[all …]
Dsocket.c60 fprintf(stderr, "socket(%d, %d, %d) expected " in run_tests()
73 fprintf(stderr, "socket(%d, %d, %d) expected " in run_tests()
/linux-4.1.27/tools/perf/
Dbuiltin-stat.c493 fprintf(output, "%s: %" PRIu64 " %" PRIu64 " %" PRIu64 "\n", in read_counter_aggr()
563fprintf(output, "# time socket cpus counts %*s events\n", unit_width, "unit"… in print_interval()
566fprintf(output, "# time core cpus counts %*s events\n", unit_width, … in print_interval()
569 fprintf(output, "# time CPU counts %*s events\n", unit_width, "unit"); in print_interval()
573 fprintf(output, "# time counts %*s events\n", unit_width, "unit"); in print_interval()
778 fprintf(output, "%s%" PRIu64 "%s%.2f", in print_running()
784 fprintf(output, " (%.2f%%)", 100.0 * run / ena); in print_running()
793 fprintf(output, "%s%.2f%%", csv_sep, pct); in print_noise_pct()
795 fprintf(output, " ( +-%6.2f%% )", pct); in print_noise_pct()
813 fprintf(output, "S%d-C%*d%s%*d%s", in aggr_printout()
[all …]
Dperf.c185 fprintf(stderr, "No directory given for --perf-dir.\n"); in handle_options()
200 fprintf(stderr, "No directory given for --work-tree.\n"); in handle_options()
214 fprintf(stderr, "No directory given for --debugfs-dir.\n"); in handle_options()
224 fprintf(stderr, "No directory given for --buildid-dir.\n"); in handle_options()
234 fprintf(stderr, "dir: %s\n", debugfs_mountpoint); in handle_options()
257 fprintf(stderr, "No variable specified for --debug.\n"); in handle_options()
266 fprintf(stderr, "Unknown option: %s\n", cmd); in handle_options()
386 fprintf(stderr, "write failure on standard output: %s", in run_builtin()
391 fprintf(stderr, "unknown write failure on standard output"); in run_builtin()
395 fprintf(stderr, "close failed on standard output: %s", in run_builtin()
[all …]
Dbuiltin-trace.c1151 size_t printed = fprintf(fp, "("); in fprintf_duration()
1159 return printed + fprintf(fp, "): "); in fprintf_duration()
1370 return fprintf(fp, "%10.3f ", ts); in trace__fprintf_tstamp()
1390 printed += fprintf(fp, "%.14s/", thread__comm_str(thread)); in trace__fprintf_entry_head()
1391 printed += fprintf(fp, "%d ", thread->tid); in trace__fprintf_entry_head()
1633 fprintf(trace->output, "Invalid syscall %d id, skipping (%s, %" PRIu64 ") ...\n", in trace__syscall_info()
1650 fprintf(trace->output, "Problems reading syscall %d", id); in trace__syscall_info()
1652 fprintf(trace->output, "(%s)", trace->syscalls.table[id].name); in trace__syscall_info()
1701 printed += fprintf(trace->output, "%-70s) ...\n", ttrace->entry_str); in trace__printf_interrupted_entry()
1751 fprintf(trace->output, "%-70s\n", ttrace->entry_str); in trace__sys_enter()
[all …]
Dbuiltin-top.c301 fprintf(stdout, "\n%s: ", msg); in prompt_integer()
344 fprintf(stdout, "\n%s: ", msg); in perf_top__prompt_symbol()
363 fprintf(stderr, "Sorry, %s is not active.\n", buf); in perf_top__prompt_symbol()
381 fprintf(stdout, "\nMapped keys:\n"); in perf_top__print_mapped_keys()
382 fprintf(stdout, "\t[d] display refresh delay. \t(%d)\n", top->delay_secs); in perf_top__print_mapped_keys()
383 fprintf(stdout, "\t[e] display entries (lines). \t(%d)\n", top->print_entries); in perf_top__print_mapped_keys()
386fprintf(stdout, "\t[E] active event counter. \t(%s)\n", perf_evsel__name(top->sym… in perf_top__print_mapped_keys()
388 fprintf(stdout, "\t[f] profile display filter (count). \t(%d)\n", top->count_filter); in perf_top__print_mapped_keys()
390 fprintf(stdout, "\t[F] annotate display filter (percent). \t(%d%%)\n", top->sym_pcnt_filter); in perf_top__print_mapped_keys()
391 fprintf(stdout, "\t[s] annotate symbol. \t(%s)\n", name?: "NULL"); in perf_top__print_mapped_keys()
[all …]
Dbuiltin-script.c884 fprintf(stderr, "\n"); in list_available_languages()
885 fprintf(stderr, "Scripting language extensions (used in " in list_available_languages()
889 fprintf(stderr, " %-42s [%s]\n", s->spec, s->ops->name); in list_available_languages()
891 fprintf(stderr, "\n"); in list_available_languages()
910 fprintf(stderr, "invalid language specifier"); in parse_scriptname()
917 fprintf(stderr, "invalid language specifier"); in parse_scriptname()
925 fprintf(stderr, "invalid script extension"); in parse_scriptname()
930 fprintf(stderr, "invalid script extension"); in parse_scriptname()
970 fprintf(stderr, "Invalid event type in field string.\n"); in parse_output_fields()
986 fprintf(stderr, in parse_output_fields()
[all …]
Dbuiltin-buildid-list.c31 fprintf(fp, "%s\n", sbuild_id); in sysfs__fprintf_build_id()
45 return fprintf(fp, "%s\n", sbuild_id); in filename__fprintf_build_id()
Dbuiltin-report.c301 ret = fprintf(fp, "# Samples: %lu%c", nr_samples, unit); in hists__fprintf_nr_sample_events()
303 ret += fprintf(fp, " of event '%s'", evname); in hists__fprintf_nr_sample_events()
306 ret += fprintf(fp, "\n# Total weight : %" PRIu64, nr_events); in hists__fprintf_nr_sample_events()
307 ret += fprintf(fp, "\n# Sort order : %s", sort_order ? : default_mem_sort_order); in hists__fprintf_nr_sample_events()
309 ret += fprintf(fp, "\n# Event count (approx.): %" PRIu64, nr_events); in hists__fprintf_nr_sample_events()
310 return ret + fprintf(fp, "\n#\n"); in hists__fprintf_nr_sample_events()
329 fprintf(stdout, "\n\n"); in perf_evlist__tty_browse_hists()
334 fprintf(stdout, "#\n# (%s)\n#\n", help); in perf_evlist__tty_browse_hists()
Dbuiltin-help.c71 fprintf(stderr, "Failed to start emacsclient.\n"); in check_emacsclient_version()
84 fprintf(stderr, "Failed to parse emacsclient version.\n"); in check_emacsclient_version()
93 fprintf(stderr, in check_emacsclient_version()
Dbuiltin-mem.c71 fprintf(stderr, "problem processing %d event, skipping it.\n", in dump_raw_samples()
237 fprintf(stderr, "unknown sampling op %s," in parse_mem_ops()
Dbuiltin-diff.c675 fprintf(stdout, "# Data files:\n"); in data__fprintf()
678 fprintf(stdout, "# [%d] %s %s\n", in data__fprintf()
682 fprintf(stdout, "#\n"); in data__fprintf()
714 fprintf(stdout, "%s# Event '%s'\n#\n", first ? "" : "\n", in data_process()
/linux-4.1.27/drivers/scsi/aic7xxx/aicasm/
Daicasm.c157 fprintf(stderr, "%s: -d Requires either an " in main()
180 fprintf(stderr, "%s: Unknown option -%c%s\n", in main()
214 fprintf(stderr, "%s: Warning - '-I-' " in main()
257 fprintf(stderr, "%s: No input file specifiled\n", appname); in main()
264 fprintf(stderr, in main()
311 (void)fprintf(stderr, in usage()
358 fprintf(ofile, in output_code()
365 fprintf(ofile, "static const uint8_t seqprog[] = {\n"); in output_code()
370 fprintf(ofile, "%s\t0x%02x, 0x%02x, 0x%02x, 0x%02x", in output_code()
385 fprintf(ofile, "\n};\n\n"); in output_code()
[all …]
Daicasm_symbol.c338 fprintf(ofile, in aic_print_file_prologue()
353 fprintf(dfile, "\n#include \"%s\"\n\n", include_file); in aic_print_include()
362 fprintf(ofile, in aic_print_reg_dump_types()
379 fprintf(dfile, in aic_print_reg_dump_start()
401 fprintf(dfile, in aic_print_reg_dump_end()
406 fprintf(dfile, in aic_print_reg_dump_end()
424 fprintf(ofile, in aic_print_reg_dump_end()
450 fprintf(dfile, in aic_print_reg_dump_entry()
458 fprintf(dfile, "0x%02x, 0x%02x }", in aic_print_reg_dump_entry()
576 fprintf(stderr, "%s: %d of %d register definitions used\n", appname, in symtable_dump()
[all …]
/linux-4.1.27/firmware/
Dihex2fw.c62 fprintf(stderr, "ihex2fw: Convert ihex files into binary " in usage()
64 fprintf(stderr, "usage: ihex2fw [<options>] <src.HEX> <dst.fw>\n"); in usage()
65 fprintf(stderr, " -w: wide records (16-bit length)\n"); in usage()
66 fprintf(stderr, " -s: sort records by address\n"); in usage()
67 fprintf(stderr, " -j: include records for CS:IP/EIP address\n"); in usage()
102 fprintf(stderr, "Failed to open source file: %s", in main()
121 fprintf(stderr, "Failed to open destination file: %s", in main()
151 fprintf(stderr, "Can't find valid record at line %d\n", line); in process_ihex()
162 fprintf(stderr, "out of memory for records\n"); in process_ihex()
170 fprintf(stderr, "Not enough data to read complete record at line %d\n", in process_ihex()
[all …]
/linux-4.1.27/Documentation/ia64/
Daliasing-test.c94fprintf(stderr, "PASS: %s 0x%lx-0x%lx is %s\n", path2, offset, offset + length, touch ? "readable"… in scan_tree()
96 fprintf(stderr, "PASS: %s 0x%lx-0x%lx not mappable\n", path2, offset, offset + length); in scan_tree()
98 fprintf(stderr, "FAIL: %s 0x%lx-0x%lx not accessible\n", path2, offset, offset + length); in scan_tree()
185 fprintf(stderr, "PASS: %s read %d bytes\n", path2, rc); in scan_rom()
187 fprintf(stderr, "PASS: %s not readable\n", path2); in scan_rom()
214 fprintf(stderr, "PASS: /dev/mem 0x0-0xa0000 is readable\n"); in main()
216 fprintf(stderr, "FAIL: /dev/mem 0x0-0xa0000 not accessible\n"); in main()
226 fprintf(stderr, "PASS: /dev/mem 0xa0000-0xc0000 is mappable\n"); in main()
228 fprintf(stderr, "FAIL: /dev/mem 0xa0000-0xc0000 not accessible\n"); in main()
231 fprintf(stderr, "PASS: /dev/mem 0xc0000-0x100000 is readable\n"); in main()
[all …]
/linux-4.1.27/tools/perf/ui/stdio/
Dhist.c12 int ret = fprintf(fp, " "); in callchain__fprintf_left_margin()
15 ret += fprintf(fp, " "); in callchain__fprintf_left_margin()
28 ret += fprintf(fp, "| "); in ipchain__fprintf_graph_line()
30 ret += fprintf(fp, " "); in ipchain__fprintf_graph_line()
32 ret += fprintf(fp, "\n"); in ipchain__fprintf_graph_line()
49 ret += fprintf(fp, "|"); in ipchain__fprintf_graph()
51 ret += fprintf(fp, " "); in ipchain__fprintf_graph()
58 ret += fprintf(fp, "%s", " "); in ipchain__fprintf_graph()
72 fprintf(stderr, "Not enough memory to display remaining hits\n"); in init_rem_hits()
190 ret += fprintf(fp, "|\n"); in callchain__fprintf_graph()
[all …]
/linux-4.1.27/Documentation/watchdog/src/
Dwatchdog-test.c37 fprintf(stderr, "Stopping watchdog ticks...\n"); in term()
48 fprintf(stderr, "Watchdog device not enabled.\n"); in main()
57 fprintf(stderr, "Watchdog card disabled.\n"); in main()
63 fprintf(stderr, "Watchdog card enabled.\n"); in main()
67 fprintf(stderr, "-d to disable, -e to enable.\n"); in main()
68 fprintf(stderr, "run by itself to tick the card.\n"); in main()
73 fprintf(stderr, "Watchdog Ticking Away!\n"); in main()
/linux-4.1.27/Documentation/networking/timestamping/
Dtxtimestamp.c86 fprintf(stderr, " %s: %lu s %lu us (seq=%u, len=%u)", in __print_timestamp()
99 fprintf(stderr, " (%+ld us)", cur_ms - prev_ms); in __print_timestamp()
103 fprintf(stderr, "\n"); in __print_timestamp()
151 fprintf(stderr, "payload: "); in print_payload()
153 fprintf(stderr, "%02hhx ", data[i]); in print_payload()
154 fprintf(stderr, "\n"); in print_payload()
161 fprintf(stderr, " pktinfo: ifindex=%u src=%s dst=%s\n", in print_pktinfo()
199 fprintf(stderr, "unknown ip error %d %d\n", in __recv_errmsg_cmsg()
215 fprintf(stderr, "unknown cmsg %d,%d\n", in __recv_errmsg_cmsg()
228 fprintf(stderr, "batched %d timestamps\n", batch); in __recv_errmsg_cmsg()
[all …]
Dhwtstamp_config.c42 fprintf(f, " %s\n", names[value]); in list_names()
/linux-4.1.27/scripts/kconfig/
Dutil.c47 fprintf(out, "deps_config := \\\n"); in file_write_dep()
50 fprintf(out, "\t%s \\\n", file->name); in file_write_dep()
52 fprintf(out, "\t%s\n", file->name); in file_write_dep()
54 fprintf(out, "\n%s: \\\n" in file_write_dep()
68 fprintf(out, "ifneq \"$(%s)\" \"%s\"\n", env_sym->name, value); in file_write_dep()
69 fprintf(out, "%s: FORCE\n", conf_get_autoconfig_name()); in file_write_dep()
70 fprintf(out, "endif\n"); in file_write_dep()
73 fprintf(out, "\n$(deps_config): ;\n"); in file_write_dep()
136 fprintf(stderr, "Out of memory.\n"); in xmalloc()
145 fprintf(stderr, "Out of memory.\n"); in xcalloc()
Dconfdata.c39 fprintf(stderr, "%s:%d:warning: ", conf_filename, conf_lineno); in conf_warning()
41 fprintf(stderr, "\n"); in conf_warning()
498 fprintf(fp, "# %s%s is not set\n", in kconfig_print_symbol()
507 fprintf(fp, "%s%s=%s\n", CONFIG_, sym->name, value); in kconfig_print_symbol()
518 fprintf(fp, "#"); in kconfig_print_comment()
520 fprintf(fp, " "); in kconfig_print_comment()
524 fprintf(fp, "\n"); in kconfig_print_comment()
557 fprintf(fp, "#define %s%s%s 1\n", in header_print_symbol()
567 fprintf(fp, "#define %s%s %s%s\n", in header_print_symbol()
573 fprintf(fp, "#define %s%s %s\n", in header_print_symbol()
[all …]
Dzconf.y91 fprintf(stderr, "%s:%d: missing end statement for this entry\n",
545 fprintf(stderr, "%s:%d: location of the '%s'\n", in zconf_endtoken()
558 fprintf(stderr, "%s:%d: ", zconf_curname(), zconf_lineno()); in zconfprint()
562 fprintf(stderr, "\n"); in zconfprint()
570 fprintf(stderr, "%s:%d: ", zconf_curname(), zconf_lineno()); in zconf_error()
574 fprintf(stderr, "\n"); in zconf_error()
579 fprintf(stderr, "%s:%d: %s\n", zconf_curname(), zconf_lineno() + 1, err); in zconferror()
591 fprintf(out, "%.*s", len, str); in print_quoted_string()
605 fprintf(out, "\nchoice\n"); in print_symbol()
607 fprintf(out, "\nconfig %s\n", sym->name); in print_symbol()
[all …]
Dconf.c539 fprintf( stderr, "KCONFIG_SEED=0x%X\n", seed ); in main()
569 fprintf(stderr, _("***\n" in main()
608 fprintf(stderr, in main()
625 fprintf(stderr, in main()
639 fprintf(stderr, in main()
693 fprintf(stderr, _("\n*** Error during writing of the configuration.\n\n")); in main()
697 fprintf(stderr, _("\n*** Error during update of the configuration.\n\n")); in main()
702 fprintf(stderr, _("n*** Error while saving defconfig to: %s\n\n"), in main()
708 fprintf(stderr, _("\n*** Error during writing of the configuration.\n\n")); in main()
721 fprintf(stderr, "\nError in reading or end of file.\n"); in xfgets()
Dzconf.tab.c893 # define YYFPRINTF fprintf
1335 fprintf(stderr, "%s:%d: missing end statement for this entry\n",
1345 fprintf(stderr, "%s:%d: missing end statement for this entry\n",
1355 fprintf(stderr, "%s:%d: missing end statement for this entry\n",
2349 fprintf(stderr, "%s:%d: location of the '%s'\n", in zconf_endtoken()
2362 fprintf(stderr, "%s:%d: ", zconf_curname(), zconf_lineno()); in zconfprint()
2366 fprintf(stderr, "\n"); in zconfprint()
2374 fprintf(stderr, "%s:%d: ", zconf_curname(), zconf_lineno()); in zconf_error()
2378 fprintf(stderr, "\n"); in zconf_error()
2383 fprintf(stderr, "%s:%d: %s\n", zconf_curname(), zconf_lineno() + 1, err); in zconferror()
[all …]
Dsymbol.c392 fprintf(stderr, "warning: ("); in sym_calc_value()
394 fprintf(stderr, ") selects %s which has unmet direct dependencies (", in sym_calc_value()
397 fprintf(stderr, ")\n"); in sym_calc_value()
1098 fprintf(stderr, "unexpected recursive dependency error\n"); in sym_check_print_recursive()
1118 fprintf(stderr, "%s:%d:error: recursive dependency detected!\n", in sym_check_print_recursive()
1121 fprintf(stderr, "%s:%d:\tsymbol %s %s value contains %s\n", in sym_check_print_recursive()
1127 fprintf(stderr, "%s:%d:\tsymbol %s depends on %s\n", in sym_check_print_recursive()
1132 fprintf(stderr, "%s:%d:\tchoice %s contains symbol %s\n", in sym_check_print_recursive()
1137 fprintf(stderr, "%s:%d:\tsymbol %s is part of choice %s\n", in sym_check_print_recursive()
1142 fprintf(stderr, "%s:%d:\tsymbol %s is selected by %s\n", in sym_check_print_recursive()
Dmconf.c975 fprintf(stderr, _("\n\n" in handle_exit()
992 fprintf(stderr, _("\n\n" in handle_exit()
1034 fprintf(stderr, N_("Your display is too small to run Menuconfig!\n")); in main()
1035 fprintf(stderr, N_("It must be at least 19 lines by 80 columns.\n")); in main()
Dmenu.c25 fprintf(stderr, "%s:%d:warning: ", menu->file->name, menu->lineno); in menu_warn()
27 fprintf(stderr, "\n"); in menu_warn()
35 fprintf(stderr, "%s:%d:warning: ", prop->file->name, prop->lineno); in prop_warn()
37 fprintf(stderr, "\n"); in prop_warn()
Dzconf.tab.c_shipped893 # define YYFPRINTF fprintf
1335 fprintf(stderr, "%s:%d: missing end statement for this entry\n",
1345 fprintf(stderr, "%s:%d: missing end statement for this entry\n",
1355 fprintf(stderr, "%s:%d: missing end statement for this entry\n",
2349 fprintf(stderr, "%s:%d: location of the '%s'\n",
2362 fprintf(stderr, "%s:%d: ", zconf_curname(), zconf_lineno());
2366 fprintf(stderr, "\n");
2374 fprintf(stderr, "%s:%d: ", zconf_curname(), zconf_lineno());
2378 fprintf(stderr, "\n");
2383 fprintf(stderr, "%s:%d: %s\n", zconf_curname(), zconf_lineno() + 1, err);
[all …]
Dlkc.h94 fprintf(stderr, "Error in writing or end of file.\n"); in xfwrite()
/linux-4.1.27/scripts/
Dconmakehash.c29 fprintf(stderr, "Usage: \n" in usage()
68 fprintf(stderr, "ERROR: Only 255 unicodes/glyph permitted!\n"); in addpair()
122 fprintf(stderr, "%s: Warning: line too long\n", tblname); in main()
145 fprintf(stderr, "Bad input line: %s\n", buffer); in main()
158 fprintf(stderr, "Bad input line: %s\n", buffer); in main()
168 fprintf(stderr, in main()
175 fprintf(stderr, in main()
200 fprintf(stderr, in main()
209 fprintf(stderr, in main()
216 fprintf(stderr, in main()
[all …]
Dasn1_compiler.c514 fprintf(stderr, "%s:%u: Unknown character in grammar: '%c'\n", in tokenise()
552 fprintf(stderr, "Format: %s <grammar-file> <c-file> <hdr-file>\n", in main()
592 fprintf(stderr, "%s: Short read\n", filename); in main()
728 fprintf(stderr, "%s: No defined types\n", filename); in build_type_list()
796 fprintf(stderr, "%s:%d: Parse error at token '%*.*s'\n", in parse()
865 fprintf(stderr, "%s:%d: Unrecognised tag class token '%*.*s'\n", in parse_type()
874 fprintf(stderr, "%s:%d: Missing tag number '%*.*s'\n", in parse_type()
889 fprintf(stderr, "%s:%d: Missing closing square bracket '%*.*s'\n", in parse_type()
991 fprintf(stderr, "%s:%d: Type '%*.*s' undefined\n", in parse_type()
1042 fprintf(stderr, "%s:%d: Token '%*.*s' does not introduce a type\n", in parse_type()
[all …]
Dpnmtologo.c242 fprintf(out, " * It was automatically generated from %s\n", filename); in write_header()
244 fprintf(out, " * Linux logo %s\n", logoname); in write_header()
247 fprintf(out, "static unsigned char %s_data[] __initdata = {\n", in write_header()
254 fprintf(out, "const struct linux_logo %s __initconst = {\n", logoname); in write_footer()
255 fprintf(out, "\t.type\t\t= %s,\n", logo_types[logo_type]); in write_footer()
256 fprintf(out, "\t.width\t\t= %d,\n", logo_width); in write_footer()
257 fprintf(out, "\t.height\t\t= %d,\n", logo_height); in write_footer()
259 fprintf(out, "\t.clutsize\t= %d,\n", logo_clutsize); in write_footer()
260 fprintf(out, "\t.clut\t\t= %s_clut,\n", logoname); in write_footer()
262 fprintf(out, "\t.data\t\t= %s_data\n", logoname); in write_footer()
[all …]
Dsortextable.c95 fprintf(stderr, "not a regular file: %s\n", fname); in mmap_file()
102 fprintf(stderr, "Could not mmap file: %s\n", fname); in mmap_file()
243 fprintf(stderr, "unrecognized ELF data encoding %d: %s\n", in do_file()
267 fprintf(stderr, "unrecognized ET_EXEC file %s\n", fname); in do_file()
274 fprintf(stderr, "unrecognized e_machine %d %s\n", in do_file()
294 fprintf(stderr, "unrecognized ELF class %d %s\n", in do_file()
301 fprintf(stderr, in do_file()
311 fprintf(stderr, in do_file()
330 fprintf(stderr, "usage: sortextable vmlinux...\n"); in main()
341 fprintf(stderr, "internal error: %s\n", file); in main()
Drecordmcount.c130 fprintf(stderr, "malloc failed: %zu bytes\n", size); in umalloc()
203 fprintf(stderr, "not a regular file: %s\n", fname); in mmap_file()
328 fprintf(stderr, "unrecognized ELF data encoding %d: %s\n", in do_file()
352 fprintf(stderr, "unrecognized ET_REL file %s\n", fname); in do_file()
359 fprintf(stderr, "unrecognized e_machine %d %s\n", in do_file()
402 fprintf(stderr, "unrecognized ELF class %d %s\n", in do_file()
409 fprintf(stderr, in do_file()
423 fprintf(stderr, in do_file()
460 fprintf(stderr, "usage: recordmcount [-w] file.o...\n"); in main()
466 fprintf(stderr, "usage: recordmcount [-w] file.o...\n"); in main()
[all …]
Ddocproc.c98 fprintf(stderr, "Usage: docproc {doc|depend} file\n"); in usage()
99 fprintf(stderr, "Input is read from file.tmpl. Output is sent to stdout\n"); in usage()
100 fprintf(stderr, "doc: frontend when generating kernel documentation\n"); in usage()
101 fprintf(stderr, "depend: generate list of files referenced within file\n"); in usage()
102 fprintf(stderr, "Environment variable SRCTREE: absolute path to sources.\n"); in usage()
103 fprintf(stderr, " KBUILD_SRC: absolute path to kernel source tree.\n"); in usage()
126 fprintf(stderr, "exec "); in exec_kernel_doc()
210 fprintf(stderr, "docproc: "); in find_export_symbols()
387 fprintf(stderr, "exec "); in find_all_symbols()
519 fprintf(stderr, "docproc: "); in main()
[all …]
Dkallsyms.c74 fprintf(stderr, "Usage: kallsyms [--all-symbols] " in usage()
121 fprintf(stderr, "Read error or end of file.\n"); in read_symbol()
125 fprintf(stderr, "Symbol %s too long for kallsyms (%zu vs %d).\n" in read_symbol()
167 fprintf(stderr, "kallsyms failure: " in read_symbol()
275 fprintf(stderr, "out of memory\n"); in read_map()
379 fprintf(stderr, "kallsyms failure: " in write_src()
585 fprintf(stderr, "No valid symbol.\n"); in optimize_token_table()
Dsortextable.h150 fprintf(stderr, "no .strtab in file: %s\n", fname); in do_func()
154 fprintf(stderr, "no .symtab in file: %s\n", fname); in do_func()
160 fprintf(stderr, "no __ex_table in file: %s\n", fname); in do_func()
192 fprintf(stderr, in do_func()
Drecordmcount.h444 fprintf(stderr, "Cannot find symbol for section %d: %s.\n", in find_secsym_ndx()
462 fprintf(stderr, "warning: __mcount_loc already exists: %s\n", in __has_rel_mcount()
/linux-4.1.27/drivers/zorro/
Dgen-devlist.c21 fprintf(f, "\\\""); in pq()
40 fprintf(stderr, "Cannot create output file!\n"); in main()
63 fprintf(stderr, "Line %d: Product name too long\n", lino); in main()
67 fprintf(devf, "\tPRODUCT(%s,%s,\"", manuf, line+1); in main()
85 fprintf(stderr, "Line %d: manufacturer name too long\n", lino); in main()
88 fprintf(devf, "MANUF(%s,\"", manuf); in main()
94 fprintf(stderr, "Line %d: Syntax error in mode %d: %s\n", lino, mode, line); in main()
/linux-4.1.27/arch/alpha/boot/tools/
Dobjstrip.c44 fprintf(stderr, in usage()
152 fprintf(stderr, "%s: %s is not an ELF executable\n", in main()
157 fprintf(stderr, "%s: is not for this processor (e_machine=%d)\n", in main()
162 fprintf(stderr, in main()
190 fprintf(stderr, "%s: extracting %#016lx-%#016lx (at %lx)\n", in main()
200 fprintf(stderr, "%s: %s is not in executable format\n", in main()
206 fprintf(stderr, "%s: %s has unexpected optional header size\n", in main()
212 fprintf(stderr, "%s: %s is not an OMAGIC file\n", in main()
221 fprintf(stderr, "%s: extracting %#016lx-%#016lx (at %lx)\n", in main()
233 fprintf(stderr, "%s: copying %lu byte from %s\n", in main()
[all …]
Dmkbb.c95 fprintf(stderr, "Usage: %s device lxboot\n", argv[0]); in main()
118 fprintf(stderr, "expected %zd, got %d\n", sizeof(bootblock), nread); in main()
126 fprintf(stderr, "expected %zd, got %d\n", sizeof(bootblock), nread); in main()
/linux-4.1.27/tools/power/x86/turbostat/
Dturbostat.c739 fprintf(stderr, "%s: APERF or MPERF went backwards *\n", progname); in delta_thread()
740 fprintf(stderr, "* Frequency results do not cover entire interval *\n"); in delta_thread()
741 fprintf(stderr, "* fix this by running Linux-2.6.30 or later *\n"); in delta_thread()
776 if (debug > 1) fprintf(stderr, "cpu%d MPERF 0!\n", old->cpu_id); in delta_thread()
976 fprintf(stderr, "Could not migrate to CPU %d\n", cpu); in get_counters()
1160 fprintf(stderr, "cpu0: MSR_NHM_PLATFORM_INFO: 0x%08llx\n", msr); in dump_nhm_platform_info()
1163 fprintf(stderr, "%d * %.0f = %.0f MHz max efficiency frequency\n", in dump_nhm_platform_info()
1167 fprintf(stderr, "%d * %.0f = %.0f MHz base frequency\n", in dump_nhm_platform_info()
1171 fprintf(stderr, "cpu0: MSR_IA32_POWER_CTL: 0x%08llx (C1E auto-promotion: %sabled)\n", in dump_nhm_platform_info()
1185 fprintf(stderr, "cpu0: MSR_TURBO_RATIO_LIMIT2: 0x%08llx\n", msr); in dump_hsw_turbo_ratio_limits()
[all …]
/linux-4.1.27/usr/
Dgen_init_cpio.c143 fprintf(stderr, "Unrecognized dir format '%s'", line); in cpio_mkslink_line()
214 fprintf(stderr, "Unrecognized %s format '%s'", in cpio_mkgeneric_line()
286 fprintf(stderr, "Unrecognized nod format '%s'", line); in cpio_mknod_line()
312 fprintf (stderr, "File %s could not be opened for reading\n", location); in cpio_mkfile()
318 fprintf(stderr, "File %s could not be stat()'ed\n", location); in cpio_mkfile()
324 fprintf (stderr, "out of memory\n"); in cpio_mkfile()
330 fprintf (stderr, "Can not read %s file\n", location); in cpio_mkfile()
364 fprintf(stderr, "writing filebuf failed\n"); in cpio_mkfile()
414 fprintf(stderr, "Unrecognized file format '%s'", line); in cpio_mkfile_line()
423 fprintf (stderr, "out of memory (%d)\n", dname_len); in cpio_mkfile_line()
[all …]
/linux-4.1.27/Documentation/accounting/
Dgetdelays.c43 fprintf(stderr, fmt, ##arg); \
76 fprintf(stderr, "getdelays [-dilv] [-w logfile] [-r bufsize] " in usage()
78 fprintf(stderr, " -d: print delayacct stats\n"); in usage()
79 fprintf(stderr, " -i: print IO accounting (works only with -p)\n"); in usage()
80 fprintf(stderr, " -l: listen forever\n"); in usage()
81 fprintf(stderr, " -v: debug on\n"); in usage()
82 fprintf(stderr, " -C: container path\n"); in usage()
100 fprintf(stderr, "Unable to set socket rcv buf size to %d\n", in create_nl_socket()
385 fprintf(stderr, "Error getting family id, errno %d\n", errno); in main()
396 fprintf(stderr, "error sending register cpumask\n"); in main()
[all …]
/linux-4.1.27/tools/thermal/tmon/
Dtmon.c180 fprintf(tmon_log, "#----------- THERMAL SYSTEM CONFIG -------------\n"); in prepare_logging()
190 fprintf(tmon_log, "#thermal zone %s%02d cdevs binding: %32s\n", in prepare_logging()
195 fprintf(tmon_log, "#\tTP%02d type:%s, temp:%lu\n", j, in prepare_logging()
203 fprintf(tmon_log, "#cooling devices%02d: %s\n", in prepare_logging()
206 fprintf(tmon_log, "#---------- THERMAL DATA LOG STARTED -----------\n"); in prepare_logging()
207 fprintf(tmon_log, "Samples TargetTemp "); in prepare_logging()
209 fprintf(tmon_log, "%s%d ", ptdata.tzi[i].type, in prepare_logging()
213 fprintf(tmon_log, "%s%d ", ptdata.cdi[i].type, in prepare_logging()
216 fprintf(tmon_log, "\n"); in prepare_logging()
262 fprintf(stderr, "error: temperature must be positive\n"); in main()
[all …]
Dsysfs.c54 ret = fprintf(fd, "%lu", val); in sysfs_set_ulong()
353 fprintf(stderr, "No cooling devices found\n"); in scan_cdevs()
398 fprintf(stderr, "\nNo thermal sysfs, exit\n"); in probe_thermal_sysfs()
445 fprintf(stderr, "\nNo thermal zones found, exit\n\n"); in probe_thermal_sysfs()
451 fprintf(stderr, "Err: allocate tz_info\n"); in probe_thermal_sysfs()
461 fprintf(stderr, "Err: allocate cdev_info\n"); in probe_thermal_sysfs()
502 fprintf(tmon_log, "%lu ", ++samples); in update_thermal_data()
503 fprintf(tmon_log, "%3.1f ", p_param.t_target); in update_thermal_data()
512 fprintf(tmon_log, "%lu ", in update_thermal_data()
526 fprintf(tmon_log, "%lu ", val); in update_thermal_data()
[all …]
/linux-4.1.27/arch/arm/boot/compressed/
Ddecompress.c19 # define Trace(x) fprintf x
20 # define Tracev(x) {if (verbose) fprintf x ;}
21 # define Tracevv(x) {if (verbose>1) fprintf x ;}
22 # define Tracec(c,x) {if (verbose && (c)) fprintf x ;}
23 # define Tracecv(c,x) {if (verbose>1 && (c)) fprintf x ;}
/linux-4.1.27/tools/perf/ui/gtk/
Dutil.c37 fprintf(stderr, "Error:\n"); in perf_gtk__error()
39 fprintf(stderr, "\n"); in perf_gtk__error()
62 fprintf(stderr, "Warning:\n"); in perf_gtk__warning_info_bar()
64 fprintf(stderr, "\n"); in perf_gtk__warning_info_bar()
83 fprintf(stderr, "Warning:\n"); in perf_gtk__warning_statusbar()
85 fprintf(stderr, "\n"); in perf_gtk__warning_statusbar()
/linux-4.1.27/arch/mips/boot/
Delf2ecoff.c84 fprintf(stderr, "copy: read: %s\n", in copy()
109 fprintf(stderr, in combine()
137 fprintf(stderr, "%s: fseek: %s\n", name, strerror(errno)); in saveRead()
141 fprintf(stderr, "%s: Can't allocate %ld bytes.\n", name, in saveRead()
147 fprintf(stderr, "%s: read: %s.\n", in saveRead()
287 fprintf(stderr, in main()
299 fprintf(stderr, "Can't open %s for read: %s\n", in main()
307 fprintf(stderr, "ex: %s: %s.\n", in main()
384 fprintf(stderr, in main()
395 fprintf(stderr, in main()
[all …]
/linux-4.1.27/scripts/genksyms/
Dgenksyms.c252 fprintf(stderr, " modversion is " in __add_symbol()
260 fprintf(stderr, "ignoring "); in __add_symbol()
262 fprintf(stderr, " modversion change\n"); in __add_symbol()
306 fprintf(debugfile, "Defn for %s %s == <", in __add_symbol()
309 fprintf(debugfile, "Defn for type%d %s == <", in __add_symbol()
440 fprintf(stderr, "Token too long\n"); in read_node()
460 fprintf(stderr, "Unknown type %c\n", node.string[0]); in read_node()
570 fprintf(debugfile, "%s ", cur->string); in expand_and_crc_sym()
581 fprintf(debugfile, "%s ", cur->string); in expand_and_crc_sym()
612 fprintf(debugfile, "%s %s ", in expand_and_crc_sym()
[all …]
Dgenksyms.h83 fprintf(stderr, "out of memory\n"); \
89 fprintf(stderr, "out of memory\n"); \
/linux-4.1.27/tools/power/cpupower/bench/
Dparse.c76 fprintf(stderr, "error: Cannot create dir %s\n", in prepare_output()
106 fprintf(stderr, "error: unable to open logfile\n"); in prepare_output()
109 fprintf(stdout, "Logfile: %s\n", filename); in prepare_output()
112 fprintf(output, "#round load sleep performance powersave percentage\n"); in prepare_output()
165 fprintf(stderr, "error: config is NULL\n"); in prepare_config()
172 fprintf(stderr, "error: unable to read configfile\n"); in prepare_config()
Dsystem.c65 fprintf(stderr, "error: cpu %u does not exist\n", cpu); in set_cpufreq_governor()
71 fprintf(stderr, "error: unable to set %s governor\n", governor); in set_cpufreq_governor()
98 fprintf(stderr, "warning: unable to set cpu affinity\n"); in set_cpu_affinity()
124 fprintf(stderr, "warning: unable to set scheduler priority\n"); in set_process_priority()
Dbenchmark.c31 fprintf(stdout, "Progress: %02lu %%\r", \
129 fprintf(config->output, "%u %li %li ", in start_benchmark()
151 fprintf(config->output, "%li ", in start_benchmark()
181 fprintf(config->output, "%li ", in start_benchmark()
183 fprintf(config->output, "%.3f\n", in start_benchmark()
/linux-4.1.27/arch/alpha/boot/
Dmisc.c65 # define Trace(x) fprintf x
66 # define Tracev(x) {if (verbose) fprintf x ;}
67 # define Tracevv(x) {if (verbose>1) fprintf x ;}
68 # define Tracec(c,x) {if (verbose && (c)) fprintf x ;}
69 # define Tracecv(c,x) {if (verbose>1 && (c)) fprintf x ;}
/linux-4.1.27/arch/nios2/boot/compressed/
Dmisc.c69 # define Trace(x) fprintf x
70 # define Tracev(x) {if (verbose) fprintf x ; }
71 # define Tracevv(x) {if (verbose > 1) fprintf x ; }
72 # define Tracec(c, x) {if (verbose && (c)) fprintf x ; }
73 # define Tracecv(c, x) {if (verbose > 1 && (c)) fprintf x ; }
/linux-4.1.27/tools/power/acpi/tools/ec/
Dec_access.c95 fprintf(stderr, "Unknown option!\n"); in parse_opts()
102 fprintf(stderr, "Wrong byte offset 0x%.2x, valid: " in parse_opts()
109 fprintf(stderr, "Wrong byte offset 0x%.2x, valid:" in parse_opts()
117 fprintf(stderr, "Wrong byte offset 0x%.2x, valid: " in parse_opts()
138 fprintf(stderr, "Could only read %d bytes\n", bytes_read); in dump_ec()
161 fprintf(stderr, "Could only read %d bytes\n", bytes_read); in dump_ec()
/linux-4.1.27/arch/powerpc/boot/
Dhack-coff.c42 fprintf(stderr, "Usage: hack-coff coff-file\n"); in main()
53 fprintf(stderr, "%s: not an xcoff file\n", av[1]); in main()
75 fprintf(stderr, "%s: write error\n", av[1]); in main()
82 fprintf(stderr, "%s: read error or file too short\n", av[1]); in main()
Dmktree.c50 fprintf(stderr, "usage: %s <zImage-file> <boot-image> <load address> <entry point>\n",argv[0]); in main()
99 fprintf(stderr, "%s is too small to be an ELF image\n", in main()
105 fprintf(stderr, "%s is not an ELF image\n", argv[1]); in main()
110 fprintf(stderr, "%s failed to seek in ELF image\n", argv[1]); in main()
Daddnote.c126 fprintf(stderr, "Usage: %s elf-file\n", av[0]); in main()
165 fprintf(stderr, "%s already has a note entry\n", in main()
233 fprintf(stderr, "%s: write truncated\n", av[1]); in main()
240 fprintf(stderr, "%s does not appear to be an ELF file\n", av[1]); in main()
244 fprintf(stderr, "sorry, I can't find space in %s to put the note\n", in main()
Dstdio.h12 #define fprintf(fmt, args...) printf(args) macro
/linux-4.1.27/arch/cris/boot/tools/
Dbuild.c97 fprintf(stderr,"%s\n",str); in die()
143 fprintf(stderr, "Root device is (%d, %d)\n", major_root, minor_root); in main()
162 fprintf(stderr,"Boot sector %d bytes.\n",i); in main()
219 fprintf(stderr,"Setup is %d bytes.\n",i); in main()
241 fprintf(stderr,"System is %d kB (%d kB code, %d kB data and %d kB bss)\n", in main()
253 fprintf (stderr, "System is %d kB\n", sz/1024); in main()
268 fprintf(stderr, "Unexpected EOF\n"); in main()
/linux-4.1.27/arch/mn10300/boot/tools/
Dbuild.c105 fprintf(stderr, "Root device is (%d, %d)\n", major_root, minor_root); in main()
109 fprintf(stderr, "Boot sector %d bytes.\n", i); in main()
134 fprintf(stderr, "Setup is %d bytes.\n", i); in main()
149 fprintf(stderr, "System is %d kB\n", sz / 1024); in main()
156 fprintf(stderr, in main()
/linux-4.1.27/scripts/basic/
Dfixdep.c129 fprintf(stderr, "Usage: fixdep <depfile> <target> <cmdline>\n"); in usage()
289 fprintf(stderr, "fixdep: error opening config file: "); in do_config_file()
391 fprintf(stderr, "fixdep: parse error; no targets found\n"); in parse_dep_file()
407 fprintf(stderr, "fixdep: error opening depfile: "); in print_deps()
412 fprintf(stderr, "fixdep: error fstat'ing depfile: "); in print_deps()
417 fprintf(stderr,"fixdep: %s is empty\n",depfile); in print_deps()
441 fprintf(stderr, "fixdep: sizeof(int) != 4 or wrong endianness? %#x\n", in traps()
/linux-4.1.27/Documentation/prctl/
Ddisable-tsc-on-off-stress-test.c46 fprintf(stderr, "FATAL ERROR, rdtsc() failed while enabled\n"); in sigsegv_cb()
68 fprintf(stderr, "FATAL ERROR, rdtsc() succeeded while disabled\n"); in task()
85 fprintf(stderr, "[No further output means we're allright]\n"); in main()
Ddisable-tsc-ctxt-sw-stress-test.c53 fprintf(stderr, "FATAL ERROR, rdtsc() succeeded while disabled\n"); in segvtask()
60 fprintf(stderr, "FATAL ERROR, rdtsc() failed while enabled\n"); in sigsegv_fail()
81 fprintf(stderr, "[No further output means we're allright]\n"); in main()
/linux-4.1.27/tools/virtio/linux/
Dkernel.h90 #define pr_err(format, ...) fprintf (stderr, format, ## __VA_ARGS__)
92 #define pr_debug(format, ...) fprintf (stderr, format, ## __VA_ARGS__)
96 #define dev_err(dev, format, ...) fprintf (stderr, format, ## __VA_ARGS__)
97 #define dev_warn(dev, format, ...) fprintf (stderr, format, ## __VA_ARGS__)
/linux-4.1.27/tools/virtio/virtio-trace/
Dtrace-agent.h67 #define pr_err(format, ...) fprintf(stderr, format, ## __VA_ARGS__)
68 #define pr_info(format, ...) fprintf(stdout, format, ## __VA_ARGS__)
70 #define pr_debug(format, ...) fprintf(stderr, format, ## __VA_ARGS__)
/linux-4.1.27/arch/sparc/boot/
Dpiggyback.c77 fprintf(stderr, "Usage: piggyback bits vmlinux.aout System.map fs_img.gz\n"); in usage()
78 fprintf(stderr, "\tKernel image will be modified in place.\n"); in usage()
180 fprintf (stderr, "Couldn't find headers signature in %s\n", filename); in get_hdrs_offset()
201 fprintf(stderr, "Could not determine start and end from %s\n", in main()
210 fprintf (stderr, "Not a.out. Don't blame me.\n"); in main()
/linux-4.1.27/tools/testing/selftests/mqueue/
Dmq_perf_tests.c165 if (fprintf(stream, "%d", value) < 0) in __set()
212 fprintf(stderr, "Caught signal %d in SIGUSR1 handler, " in sig_action_SIGUSR1()
215 fprintf(stderr, "\n\nReturned from shutdown?!?!\n\n"); in sig_action_SIGUSR1()
225 fprintf(stderr, "Caught signal %d, exiting\n", signum); in sig_action()
227 fprintf(stderr, "\n\nReturned from shutdown?!?!\n\n"); in sig_action()
246 if (fprintf(stream, "%d", value) < 0) in set()
259 fprintf(stream, "%d", value); in try_set()
574 fprintf(stderr, "CPU %d exceeds " in main()
587 fprintf(stderr, "Any given CPU may " in main()
619 fprintf(stderr, "Must pass at least one CPU to continuous " in main()
[all …]
Dmq_open_tests.c70 if (fprintf(stream, "%d", value) < 0) in __set()
128 if (fprintf(stream, "%d", value) < 0) in set()
240 fprintf(stderr, "Must pass a valid queue name\n\n"); in main()
241 fprintf(stderr, usage, argv[0]); in main()
264 fprintf(stderr, "Not running as root, but almost all tests " in main()
/linux-4.1.27/tools/power/acpi/os_specific/service_layers/
Dosunixdir.c97 fprintf(stderr, "Cannot open directory - %s\n", dir_pathname); in acpi_os_open_directory()
145 fprintf(stderr, in acpi_os_get_next_filename()
156 fprintf(stderr, in acpi_os_get_next_filename()
Doslinuxtbl.c349 fprintf(stderr, in osl_add_table_to_list()
1064 fprintf(stderr, "Could not map table header at 0x%8.8X%8.8X\n", in osl_map_table()
1098 fprintf(stderr, in osl_map_table()
1204 fprintf(stderr, "Could not open table file: %s\n", filename); in osl_read_table_from_file()
1214 fprintf(stderr, "Could not read table header: %s\n", filename); in osl_read_table_from_file()
1224 fprintf(stderr, in osl_read_table_from_file()
1231 fprintf(stderr, in osl_read_table_from_file()
1249 fprintf(stderr, in osl_read_table_from_file()
1260 fprintf(stderr, "%4.4s: Could not read table content\n", in osl_read_table_from_file()
Dosunixmap.c106 fprintf(stderr, "Cannot open %s\n", SYSTEM_MEMORY); in acpi_os_map_memory()
120 fprintf(stderr, "Cannot map %s\n", SYSTEM_MEMORY); in acpi_os_map_memory()
Dosunixxf.c136 fprintf(stderr, "Could not get terminal attributes!\n"); in os_enter_line_edit_mode()
150 fprintf(stderr, "Could not set terminal attributes!\n"); in os_enter_line_edit_mode()
167 fprintf(stderr, "Could not restore terminal attributes!\n"); in os_exit_line_edit_mode()
/linux-4.1.27/Documentation/sound/oss/
DMultiSound487 X fprintf(stderr, "usage: setdigital <mixer device>\n");
497 X fprintf(stderr, "error: ioctl read recording mask failed\n");
504 X fprintf(stderr, "error: cannot find DIGITAL1 device in mixer\n");
510 X fprintf(stderr, "error: ioctl read recording source failed\n");
519 X fprintf(stderr, "error: ioctl write recording source failed\n");
627 X fprintf(stderr, "error: msnd_write_cfg: I/O error\n");
777 X fprintf(stderr,
848 X fprintf(stderr, "no devices configured\n");
871 X fprintf(stderr, "error: io must be one of "
882 X fprintf(stderr, "error: irq must be one of "
[all …]
DOpti202 fprintf(stderr, "%s: turning off mixer %s\n",
205 fprintf(stderr, "%s: rerouting mixer %s to %s\n",
/linux-4.1.27/tools/power/cpupower/utils/
Dcpupower.c142 fprintf(stderr, _("Error parsing cpu " in handle_options()
162 fprintf(stderr, "Unknown option: %s\n", param); in handle_options()
208 fprintf(stderr, _("MSR access not available.\n")); in main()
218 fprintf(stderr, _("Subcommand %s needs root " in main()
Dcpupower-set.c88 fprintf(stderr, _("Error setting perf-bias " in cmd_set()
Dcpupower-info.c95 fprintf(stderr, in cmd_info()
/linux-4.1.27/samples/seccomp/
Dbpf-helper.c37 fprintf(stderr, "Unresolved label: '%s'\n", in bpf_resolve_jumps()
48 fprintf(stderr, "Duplicate label use: '%s'\n", in bpf_resolve_jumps()
69 fprintf(stderr, "Too many labels\n"); in seccomp_bpf_label()
Ddropper.c55 fprintf(stderr, "Usage:\n" in main()
/linux-4.1.27/tools/testing/selftests/efivarfs/
Dcreate-read.c18 fprintf(stderr, "usage: %s <path>\n", argv[0]); in main()
33 fprintf(stderr, "Reading a new var should return EOF\n"); in main()
Dopen-unlink.c74 fprintf(stderr, "usage: %s <path>\n", argv[0]); in main()
127 fprintf(stderr, "reading from an unlinked variable " in main()
/linux-4.1.27/tools/testing/selftests/powerpc/
Dutils.h29 fprintf(stderr, \
41 fprintf(stderr, \
/linux-4.1.27/arch/mips/boot/compressed/
Dcalc_vmlinuz_load_addr.c23 fprintf(stderr, "Usage: %s <pathname> <vmlinux_load_addr>\n", in main()
39 fprintf(stderr, "No matching characters\n"); in main()
/linux-4.1.27/arch/cris/boot/compressed/
Dmisc.c81 # define Trace(x) fprintf x
84 fprintf x; \
88 fprintf x; \
92 fprintf x; \
96 fprintf x; \
/linux-4.1.27/tools/usb/usbip/libsrc/
Dusbip_common.h58 fprintf(stderr, pr_fmt(fmt), "error", ##args); \
68 fprintf(stderr, pr_fmt(fmt), "info", ##args); \
79 fprintf(stderr, dbg_fmt(fmt), ##args); \
/linux-4.1.27/scripts/mod/
Dmk_elfconfig.c13 fprintf(stderr, "Error: input truncated\n"); in main()
17 fprintf(stderr, "Error: not ELF\n"); in main()
Dmodpost.c55 fprintf(stderr, "FATAL: "); in fatal()
68 fprintf(stderr, "WARNING: "); in warn()
79 fprintf(stderr, "ERROR: "); in merror()
417 fprintf(stderr, "%s: %s (ignored)\n", filename, in parse_elf()
1346 fprintf(stderr, "%s", *s); in print_section_list()
1349 fprintf(stderr, ", "); in print_section_list()
1351 fprintf(stderr, "\n"); in print_section_list()
1398 fprintf(stderr, in report_sec_mismatch()
1411 fprintf(stderr, in report_sec_mismatch()
1424 fprintf(stderr, in report_sec_mismatch()
[all …]
/linux-4.1.27/arch/mn10300/boot/compressed/
Dmisc.c107 # define Trace(x) fprintf x
108 # define Tracev(x) { if (verbose) fprintf x ; }
109 # define Tracevv(x) { if (verbose > 1) fprintf x ; }
110 # define Tracec(c, x) { if (verbose && (c)) fprintf x ; }
111 # define Tracecv(c, x) { if (verbose > 1 && (c)) fprintf x ; }
/linux-4.1.27/tools/lib/api/fd/
Darray.c121 int fd, printed = fprintf(fp, "%d [ ", fda->nr); in fdarray__fprintf()
124 printed += fprintf(fp, "%s%d", fd ? ", " : "", fda->entries[fd].fd); in fdarray__fprintf()
126 return printed + fprintf(fp, " ]"); in fdarray__fprintf()
/linux-4.1.27/tools/perf/ui/
Dutil.c10 fprintf(stderr, "Error:\n"); in perf_stdio__error()
17 fprintf(stderr, "Warning:\n"); in perf_stdio__warning()
/linux-4.1.27/tools/lib/traceevent/
Dparse-utils.c34 fprintf(stderr, " "); in __vwarning()
37 fprintf(stderr, "\n"); in __vwarning()
Dtrace-seq.c240 return fprintf(fp, "%.*s", s->len, s->buffer); in trace_seq_do_fprintf()
242 fprintf(fp, "%s\n", "Usage of trace_seq after it was destroyed"); in trace_seq_do_fprintf()
245 fprintf(fp, "%s\n", "Can't allocate trace_seq buffer memory"); in trace_seq_do_fprintf()
/linux-4.1.27/Documentation/connector/
Ducon.c52 #define ulog(f, a...) fprintf(stdout, f, ##a)
232 fprintf(out, "Error message received.\n"); in main()
239 fprintf(out, "%.24s : [%x.%x] [%08u.%08u].\n", in main()
/linux-4.1.27/sound/oss/
Dhex2hex.c11 #define ABANDON(why) { fprintf(stderr, "%s\n", why); exit(1); }
82 fprintf(stderr,"hex2hex: [-i] filename\n"); in main()
Dbin2hex.c21 fprintf(stderr, "bin2hex: [-i] firmware\n"); in main()
/linux-4.1.27/Documentation/x86/
Dmtrr.txt178 fprintf (stderr, "Error opening /proc/mtrr\t%s\n", ERRSTRING);
186 fprintf (stderr, "Register: %u disabled\n", gentry.regnum);
189 fprintf (stderr, "Register: %u base: 0x%lx size: 0x%lx type: %s\n",
194 fprintf (stderr, "Error doing ioctl(2) on /dev/mtrr\t%s\n", ERRSTRING);
269 fprintf (stderr, "Usage:\tmtrr-add base size type\n");
280 fprintf (stderr, "Illegal type: \"%s\"\n", argv[3]);
291 fprintf (stderr, "Error opening /proc/mtrr\t%s\n", ERRSTRING);
296 fprintf (stderr, "Error doing ioctl(2) on /dev/mtrr\t%s\n", ERRSTRING);
299 fprintf (stderr, "Sleeping for 5 seconds so you can see the new entry\n");
/linux-4.1.27/Documentation/spi/
Dspidev_fdx.c35 fprintf(stderr, "short read\n"); in do_read()
131 fprintf(stderr, in main()
/linux-4.1.27/tools/usb/
Dtestusb.c284 fprintf(stderr, "%s speed\t%s\t%u\n", in find_testdev()
447 fprintf (stderr, in main()
467 fprintf (stderr, "must specify '-a' or '-D dev', " in main()
516 fprintf (stderr, "%s: %s may see only control tests\n", in main()
Dffs-test.c79 fprintf(stderr, "%s: %s ", argv0, levels[level]); in _msg()
87 fprintf(stderr, ": (-%d) %s\n", _errno, buffer); in _msg()
514 fprintf(stderr, "%4zd:", len); in empty_out_buf()
515 fprintf(stderr, " %02x", *p); in empty_out_buf()
517 fprintf(stderr, "\n"); in empty_out_buf()
/linux-4.1.27/arch/um/os-Linux/
Dmem.c103 fprintf(stderr, "Failed to choose tempdir: %s\n", in make_tempfile()
117 fprintf(stderr, "open - cannot create %s: %s\n", tempname, in make_tempfile()
Dexecvp.c139 fprintf(stderr, "Not enough arguments\n"); in main()
Dstart_up.c352 fprintf(stderr, "parse_iomem : failed to parse iomem\n"); in parse_iomem()
/linux-4.1.27/tools/testing/selftests/powerpc/mm/
Dsubpage_prot.c43 fprintf(stderr, "Segfault outside of test !\n"); in segv()
149 fprintf(stderr, "Kernel page size must be 64K!\n"); in test_anon()
/linux-4.1.27/tools/perf/tests/
Dattr.c75 if (fprintf(file, "[event-%d-%llu-%d]\n", in store_event()
174 fprintf(stderr, " (omitted)"); in test__attr()
Dcode-reading.c564 fprintf(stderr, " (no vmlinux)"); in test__code_reading()
567 fprintf(stderr, " (no kcore)"); in test__code_reading()
570 fprintf(stderr, " (no access)"); in test__code_reading()
573 fprintf(stderr, " (no kernel obj)"); in test__code_reading()
Dkeep-tracking.c93 fprintf(stderr, " (not supported)"); in test__keep_tracking()
Dperf-time-to-tsc.c89 fprintf(stderr, " (not supported)"); in test__perf_time_to_tsc()
Dswitch-tracking.c369 fprintf(stderr, " (no sched_switch)"); in test__switch_tracking()
445 fprintf(stderr, " (not supported)"); in test__switch_tracking()
Dfdarray.c24 printed += fprintf(fp, "\n%s: ", prefix); in fdarray__fprintf_prefix()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dmkregtable.c638 fprintf(stderr, "Failed to compile regular expression\n"); in parser_auth()
643 fprintf(stderr, "Failed to open: %s\n", filename); in parser_auth()
674 fprintf(stderr, in parser_auth()
702 fprintf(stderr, "Usage: %s <authfile>\n", argv[0]); in main()
707 fprintf(stderr, "Failed to parse file %s\n", argv[1]); in main()
/linux-4.1.27/tools/include/asm/
Dbug.h6 #define __WARN_printf(arg...) do { fprintf(stderr, arg); } while (0)
/linux-4.1.27/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c125 fprintf(stderr, "invalid value: %s\n", in cmdline()
149 fprintf(stderr, "%.4s%.4s%.4s != GenuineIntel", in validate_cpuid()
/linux-4.1.27/tools/iio/
Diio_event_monitor.c272 fprintf(stdout, "Failed to open %s\n", chrdev_name); in main()
282 fprintf(stdout, "Failed to retrieve event fd\n"); in main()
Dlsiio.c147 fprintf(stderr, "Usage: lsiio [options]...\n" in main()
Diio_utils.c505 fprintf(sysfsfp, "%d", val); in _write_sysfs_int()
556 fprintf(sysfsfp, "%s", val); in _write_sysfs_string()
/linux-4.1.27/Documentation/ptp/
Dtestptp.c114 fprintf(stderr, in usage()
259 fprintf(stderr, "opening %s: %s\n", device, strerror(errno)); in main()
265 fprintf(stderr, "failed to read clock id\n"); in main()
/linux-4.1.27/Documentation/usb/
Dgadget_hid.txt229 fprintf(stderr, "unknown option: %s\n", tok);
268 fprintf(stderr, "Bad value:'%s'\n", tok);
274 fprintf(stderr, "unknown option: %s\n", tok);
320 fprintf(stderr, "Bad value:'%s'\n", tok);
326 fprintf(stderr, "unknown option: %s\n", tok);
376 fprintf(stderr, "Usage: %s devname mouse|keyboard|joystick\n",
Dgadget_printer.txt165 fprintf(stderr,"prn_example: Unknown option \"%s\"!\n",
352 fprintf(stderr, "ERROR: Failed to set printer status\n");
371 fprintf(stderr, "ERROR: Failed to get printer status\n");
392 fprintf(stderr, "ERROR: Failed to set printer status\n");
410 fprintf(stderr, "ERROR: Failed to get printer status\n");
/linux-4.1.27/tools/vm/
Dslabinfo.c195 fprintf(f, "%d\n", n); in set_obj()
695 fprintf(stderr, "%s not empty cannot disable sanity checks\n", s->name); in slab_debug()
701 fprintf(stderr, "%s not empty cannot enable redzoning\n", s->name); in slab_debug()
707 fprintf(stderr, "%s not empty cannot disable redzoning\n", s->name); in slab_debug()
713 fprintf(stderr, "%s not empty cannot enable poisoning\n", s->name); in slab_debug()
719 fprintf(stderr, "%s not empty cannot disable poisoning\n", s->name); in slab_debug()
725 fprintf(stderr, "%s not empty cannot enable tracking\n", s->name); in slab_debug()
731 fprintf(stderr, "%s not empty cannot disable tracking\n", s->name); in slab_debug()
737 fprintf(stderr, "%s can only enable trace for one slab at a time\n", s->name); in slab_debug()
Dpage_owner_sort.c141 fprintf(fout, "%d times:\n%s\n", list2[i].num, list2[i].txt); in main()
Dpage-types.c800 fprintf(stderr, "unexpected line: %s\n", buf); in parse_pid()
806 fprintf(stderr, "too many VMAs\n"); in parse_pid()
881 fprintf(stderr, "got sigbus at offset %lld: %s\n", in walk_file()
930 fprintf(stderr, "cannot read dir: %s\n", name); in walk_tree()
/linux-4.1.27/tools/power/cpupower/utils/idle_monitor/
Dcpupower-monitor.h63 fprintf(stderr, gettext("Measure took %u seconds, but registers could " \
/linux-4.1.27/arch/x86/boot/compressed/
Dmkpiggy.c44 fprintf(stderr, "Usage: %s compressed_file run_size\n", in main()
/linux-4.1.27/tools/firewire/
Dnosy-dump.c892 fprintf(stderr, "Not a terminal.\n"); in set_input_mode()
934 fprintf(stderr, "warning: nosy has only been tested on little " in main()
940 fprintf(stderr, "Could not open %s, %m\n", option_input); in main()
946 fprintf(stderr, "Could not open %s, %m\n", option_nosy_device); in main()
962 fprintf(stderr, "Could not open %s, %m\n", option_output); in main()
/linux-4.1.27/tools/power/cpupower/utils/helpers/
Damd.c100 fprintf(stderr, "HW pstates [%d] exceeding max [%d]\n", in decode_pstates()
Dhelpers.h50 fprintf(stderr, "%s: " fmt, \
/linux-4.1.27/arch/x86/um/os-Linux/
Dtask_size.c107 fprintf(stderr, "Unable to determine bottom of address " in os_get_top_address()
/linux-4.1.27/Documentation/laptops/
Dfreefall.c121 fprintf(stderr, "usage: %s <device> (default: /dev/sda)\n", in main()
/linux-4.1.27/tools/virtio/
Dvirtio_test.c205 fprintf(stderr, "spurious wakeus: 0x%llx\n", spurious); in run_test()
252 fprintf(stderr, "Usage: virtio_test [--help]" in help()
/linux-4.1.27/tools/testing/selftests/powerpc/copyloops/
Dvalidate.c74 fprintf(stderr, "malloc failed\n"); in test_copy_loop()
/linux-4.1.27/tools/perf/bench/
Dsched-pipe.c178 fprintf(stderr, "Unknown format:%d\n", bench_format); in bench_sched_pipe()
Dmem-memcpy.c232 fprintf(stderr, "Invalid options: -o and -n are mutually exclusive\n"); in bench_mem_common()
243 fprintf(stderr, "Invalid length:%s\n", length_str); in bench_mem_common()
Dsched-messaging.c323 fprintf(stderr, "Unknown format:%d\n", bench_format); in bench_sched_messaging()
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/
Devent.c109 fprintf(stderr, "read error on event %p!\n", e); in event_read()
/linux-4.1.27/Documentation/misc-devices/mei/
Dmei-amt-version.c85 fprintf(stderr, fmt, ##ARGS); \
89 fprintf(stderr, "Error: " fmt, ##ARGS); \
/linux-4.1.27/tools/net/
Dbpf_exp.y312 fprintf(stderr, "ldxb offset not supported!\n");
318 fprintf(stderr, "ldxb offset not supported!\n");
599 fprintf(stderr, "only max %u insns allowed!\n", BPF_MAXINSNS); in bpf_assert_max()
649 fprintf(stderr, "no such label \'%s\'!\n", label); in bpf_find_insns_offset()
Dbpf_jit_disasm.c61 init_disassemble_info(&info, stdout, (fprintf_ftype) fprintf); in get_asm_insns()
/linux-4.1.27/tools/hv/
Dhv_fcopy_daemon.c126 fprintf(stderr, "Usage: %s [options]\n" in print_usage()
Dhv_vss_daemon.c175 fprintf(stderr, "Usage: %s [options]\n" in print_usage()
/linux-4.1.27/drivers/acpi/acpica/
Dutfileio.c317 fprintf(stderr, in acpi_ut_read_table_from_file()
/linux-4.1.27/arch/arm/vdso/
Dvdsomunge.c101 fprintf(stderr, "%s: ", argv0); in fail()
/linux-4.1.27/tools/testing/selftests/ptrace/
Dpeeksiginfo.c39 fprintf(stderr, \
/linux-4.1.27/Documentation/cdrom/
Dide-cd384 fprintf (stderr, "usage: %s [-v] <device> [<slot>]\n",
386 fprintf (stderr, " Slots are numbered 1 -- n.\n");
404 fprintf (stderr, "%s: open failed for `%s': %s\n",
412 fprintf (stderr, "%s: Device `%s' is not an ATAPI "
419 fprintf (stderr, "Bad slot number. "
532 fprintf (stderr, "%s: close failed for `%s': %s\n",
/linux-4.1.27/tools/perf/ui/tui/
Dutil.c238 fprintf(stderr, "%s\n", title); in __ui__warning()
/linux-4.1.27/Documentation/zh_CN/arm/
Dkernel_user_helpers.txt78 fprintf(stderr, "can't do atomic operations, kernel too old\n");
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/ebb/
Dtrace.c20 fprintf(stderr, "Error: trace buffer too small\n"); in trace_buffer_allocate()
/linux-4.1.27/lib/zlib_deflate/
Ddeflate.c707 fprintf(stderr, " start %u, match %u, length %d\n", in check_match()
710 fprintf(stderr, "%c%c", s->window[match++], s->window[start++]); in check_match()
715 fprintf(stderr,"\\[%d,%d]", start-match, length); in check_match()

12