Searched refs:fprintf (Results 1 - 25 of 539) sorted by relevance

1234567891011>>

/linux-master/scripts/selinux/mdp/
H A Dmdp.c68 fprintf(fout, "class %s\n", secclass_map[i].name);
69 fprintf(fout, "\n");
77 fprintf(fout, "sid %s\n", name);
79 fprintf(fout, "sid unused%d\n", i);
81 fprintf(fout, "\n");
86 fprintf(fout, "class %s\n", map->name);
87 fprintf(fout, "{\n");
89 fprintf(fout, "\t%s\n", map->perms[j]);
90 fprintf(fout, "}\n\n");
92 fprintf(fou
[all...]
/linux-master/scripts/selinux/genheaders/
H A Dgenheaders.c35 fprintf(stderr, "%s: out of memory\n", progname);
57 fprintf(stderr, "Could not open %s for writing: %s\n",
62 fprintf(fout, "/* This file is automatically generated. Do not edit. */\n");
63 fprintf(fout, "#ifndef _SELINUX_FLASK_H_\n#define _SELINUX_FLASK_H_\n\n");
68 fprintf(fout, "#define SECCLASS_%-39s %2d\n", name, i+1);
72 fprintf(fout, "\n");
80 fprintf(fout, "#define SECINITSID_%-39s %2d\n", sidname, i);
84 fprintf(fout, "\n#define SECINITSID_NUM %d\n", i-1);
85 fprintf(fout, "\nstatic inline bool security_is_socket_class(u16 kern_tclass)\n");
86 fprintf(fou
[all...]
/linux-master/tools/perf/util/
H A Dsvghelper.c91 fprintf(stderr, "Cannot open %s for output\n", filename);
108 fprintf(svgfile, "<?xml version=\"1.0\" standalone=\"no\"?> \n");
109 fprintf(svgfile, "<!DOCTYPE svg SYSTEM \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n");
110 fprintf(svgfile, "<svg width=\"%i\" height=\"%" PRIu64 "\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\">\n", svg_page_width, total_height);
112 fprintf(svgfile, "<defs>\n <style type=\"text/css\">\n <![CDATA[\n");
114 fprintf(svgfile, " rect { stroke-width: 1; }\n");
115 fprintf(svgfile, " rect.process { fill:rgb(180,180,180); fill-opacity:0.9; stroke-width:1; stroke:rgb( 0, 0, 0); } \n");
116 fprintf(svgfile, " rect.process2 { fill:rgb(180,180,180); fill-opacity:0.9; stroke-width:0; stroke:rgb( 0, 0, 0); } \n");
117 fprintf(svgfile, " rect.process3 { fill:rgb(180,180,180); fill-opacity:0.5; stroke-width:0; stroke:rgb( 0, 0, 0); } \n");
118 fprintf(svgfil
[all...]
/linux-master/tools/testing/selftests/tmpfs/
H A Dbug-link-o-tmpfile.c32 fprintf(stderr, "error: unshare, errno %d\n", errno);
35 fprintf(stderr, "error: unshare, errno %d\n", errno);
39 fprintf(stderr, "error: mount '/', errno %d\n", errno);
45 fprintf(stderr, "error: mount tmpfs, errno %d\n", errno);
51 fprintf(stderr, "error: open 1, errno %d\n", errno);
55 fprintf(stderr, "error: linkat, errno %d\n", errno);
62 fprintf(stderr, "error: open 2, errno %d\n", errno);
/linux-master/drivers/comedi/drivers/ni_routing/tools/
H A Dconvert_c_to_py.c38 fprintf(fp,
54 fprintf(fp, " %u : {\n", dest);
69 fprintf(stderr,
75 fprintf(fp, " %u : \"%s(%u)\",\n",
78 fprintf(fp, " },\n");
80 fprintf(fp, " },\n\n");
101 fprintf(fp,
110 fprintf(stderr,
116 fprintf(fp, " %u : [", dR->routes[i].dest);
122 fprintf(stder
[all...]
/linux-master/arch/mips/vdso/
H A Dgenvdso.c117 fprintf(stderr, "%s: Failed to open '%s': %s\n", program_name,
123 fprintf(stderr, "%s: Failed to stat '%s': %s\n", program_name,
132 fprintf(stderr, "%s: Failed to map '%s': %s\n", program_name,
142 fprintf(stderr, "%s: '%s' is not an ELF file\n", program_name,
154 fprintf(stderr, "%s: '%s' has invalid ELF class\n",
166 fprintf(stderr, "%s: '%s' has invalid ELF data order\n",
173 fprintf(stderr,
179 fprintf(stderr,
216 fprintf(stderr,
242 fprintf(stder
[all...]
/linux-master/tools/bpf/bpftool/
H A Dnetlink_dumper.h19 fprintf(stdout, "%s {", name); \
28 fprintf(stdout, "{"); \
36 fprintf(stdout, "}"); \
50 fprintf(stdout, "\n"); \
59 fprintf(stdout, fmt_str, name); \
68 fprintf(stdout, "%s", endstr); \
76 fprintf(stdout, fmt_str, val); \
84 fprintf(stdout, fmt_str, str); \
92 fprintf(stdout, "%s ", str); \
/linux-master/tools/gpio/
H A Dgpio-hammer.c55 fprintf(stdout, "Hammer lines [");
57 fprintf(stdout, "%d", lines[i]);
59 fprintf(stdout, ", ");
61 fprintf(stdout, "] on %s, initial states: [", device_name);
63 fprintf(stdout, "%d", gpiotools_test_bit(values.bits, i));
65 fprintf(stdout, ", ");
67 fprintf(stdout, "]\n");
85 fprintf(stdout, "[%c] ", swirr[j]);
90 fprintf(stdout, "[");
92 fprintf(stdou
[all...]
H A Dgpio-event-mon.c47 fprintf(stderr, "Failed to open %s\n", chrdev_name);
65 fprintf(stderr,
72 fprintf(stdout, "Monitoring line %d on %s\n", lines[0], device_name);
73 fprintf(stdout, "Initial line value: %d\n",
76 fprintf(stdout, "Monitoring lines %d", lines[0]);
78 fprintf(stdout, ", %d", lines[i]);
79 fprintf(stdout, " and %d on %s\n", lines[i], device_name);
80 fprintf(stdout, "Initial line values: %d",
83 fprintf(stdout, ", %d",
85 fprintf(stdou
[all...]
H A Dlsgpio.c81 fprintf(stdout, field_format, flagnames[i].name);
88 fprintf(stdout, field_format, "both-edges");
90 fprintf(stdout, field_format, "rising-edge");
92 fprintf(stdout, field_format, "falling-edge");
96 fprintf(stdout, ", debounce_period=%dusec",
116 fprintf(stderr, "Failed to open %s\n", chrdev_name);
127 fprintf(stdout, "GPIO chip: %s, \"%s\", %u GPIO lines\n",
143 fprintf(stdout, "\tline %2d:", linfo.offset);
145 fprintf(stdout, " \"%s\"", linfo.name);
147 fprintf(stdou
[all...]
/linux-master/scripts/dtc/
H A Dtreesource.c58 fprintf(f, "\"");
63 fprintf(f, "\\a");
66 fprintf(f, "\\b");
69 fprintf(f, "\\t");
72 fprintf(f, "\\n");
75 fprintf(f, "\\v");
78 fprintf(f, "\\f");
81 fprintf(f, "\\r");
84 fprintf(f, "\\\\");
87 fprintf(
[all...]
/linux-master/samples/timers/
H A Dhpet_example.c59 fprintf(stderr, "-hpet: requires command\n");
68 fprintf(stderr, "-hpet: executing %s\n",
74 fprintf(stderr, "do_hpet: command %s not implemented\n", argv[0]);
85 fprintf(stderr, "hpet_open_close: device-name\n");
91 fprintf(stderr, "hpet_open_close: open failed\n");
105 fprintf(stderr, "hpet_info: device-name\n");
111 fprintf(stderr, "hpet_info: open of %s failed\n", argv[0]);
116 fprintf(stderr, "hpet_info: failed to get info\n");
120 fprintf(stderr, "hpet_info: hi_irqfreq 0x%lx hi_flags 0x%lx ",
122 fprintf(stder
[all...]
/linux-master/tools/perf/util/intel-pt-decoder/
H A Dintel-pt-log.c54 fprintf(f, " ");
56 fprintf(f, " %08" PRIx64 ": ", pos);
58 fprintf(f, " %02x", buf[i]);
60 fprintf(f, " ");
61 fprintf(f, " ");
69 fprintf(f, " ");
71 fprintf(f, " %08" PRIx64 ": ", pos);
73 fprintf(f, " ");
74 fprintf(f, " ");
107 fprintf(
[all...]
/linux-master/samples/bpf/
H A Dtracex7_user.c18 fprintf(stderr, "ERROR: Run with the btrfs device argument!\n");
25 fprintf(stderr, "ERROR: opening BPF object file failed\n");
31 fprintf(stderr, "ERROR: finding a prog in obj file failed\n");
37 fprintf(stderr, "ERROR: loading BPF object file failed\n");
43 fprintf(stderr, "ERROR: bpf_program__attach failed\n");
H A Dtracex1_user.c18 fprintf(stderr, "ERROR: opening BPF object file failed\n");
24 fprintf(stderr, "ERROR: finding a prog in obj file failed\n");
30 fprintf(stderr, "ERROR: loading BPF object file failed\n");
36 fprintf(stderr, "ERROR: bpf_program__attach failed\n");
/linux-master/tools/lib/perf/include/internal/
H A Dtests.h34 fprintf(stdout, "- running %s...", __FILE__); \
42 fprintf(stdout, " FAILED (%d)\n", tests_failed); \
44 fprintf(stdout, "OK\n"); \
50 fprintf(stderr, "FAILED %s:%d %s\n", __FILE__, __LINE__, text); \
63 fprintf(stderr, ##__VA_ARGS__); \
/linux-master/tools/pci/
H A Dpcitest.c55 fprintf(stdout, "BAR%d:\t\t", test->barnum);
57 fprintf(stdout, "TEST FAILED\n");
59 fprintf(stdout, "%s\n", result[ret]);
64 fprintf(stdout, "SET IRQ TYPE TO %s:\t\t", irq[test->irqtype]);
66 fprintf(stdout, "FAILED\n");
68 fprintf(stdout, "%s\n", result[ret]);
73 fprintf(stdout, "GET IRQ TYPE:\t\t");
75 fprintf(stdout, "FAILED\n");
77 fprintf(stdout, "%s\n", irq[ret]);
82 fprintf(stdou
[all...]
/linux-master/drivers/zorro/
H A Dgen-devlist.c22 fprintf(f, "\\\"");
41 fprintf(stderr, "Cannot create output file!\n");
64 fprintf(stderr, "Line %d: Product name too long\n", lino);
68 fprintf(devf, "\tPRODUCT(%s,%s,\"", manuf, line+1);
86 fprintf(stderr, "Line %d: manufacturer name too long\n", lino);
89 fprintf(devf, "MANUF(%s,\"", manuf);
95 fprintf(stderr, "Line %d: Syntax error in mode %d: %s\n", lino, mode, line);
/linux-master/tools/testing/selftests/exec/
H A Drecursion-depth.c31 fprintf(stderr, "error: unshare, errno %d\n", errno);
34 fprintf(stderr, "error: unshare, errno %d\n", errno);
38 fprintf(stderr, "error: mount '/', errno %d\n", errno);
43 fprintf(stderr, "error: mount ramfs, errno %d\n", errno);
51 fprintf(stderr, "error: creat, errno %d\n", errno);
56 fprintf(stderr, "error: write, errno %d\n", errno);
65 fprintf(stderr, "error: execve, rv %d, errno %d\n", rv, errno);
/linux-master/tools/testing/selftests/powerpc/dscr/
H A Ddscr_inherit_test.c55 fprintf(stderr, "Child didn't exit cleanly\n");
60 fprintf(stderr, "Child didn't exit cleanly\n");
66 fprintf(stderr, "Kernel DSCR should be %ld "
73 fprintf(stderr, "User DSCR should be %ld "
/linux-master/tools/testing/selftests/arm64/signal/
H A Dtest_signals_utils.c68 fprintf(stderr, "==>> completed. SKIP.\n");
70 fprintf(stderr, "==>> completed. PASS(1)\n");
73 fprintf(stdout, "==>> completed. FAIL(0)\n");
99 fprintf(stderr,
102 fprintf(stderr,
129 fprintf(stderr,
140 fprintf(stdout,
151 fprintf(stdout,
175 fprintf(stderr,
185 fprintf(stder
[all...]
/linux-master/tools/testing/selftests/bpf/
H A Dbtf_helpers.c101 fprintf(out, "[%u] %s '%s'", id, btf_kind_str(kind), btf_str(btf, t->name_off));
105 fprintf(out, " size=%u bits_offset=%u nr_bits=%u encoding=%s",
115 fprintf(out, " type_id=%u", t->type);
120 fprintf(out, " type_id=%u index_type_id=%u nr_elems=%u",
128 fprintf(out, " size=%u vlen=%u", t->size, vlen);
134 fprintf(out, "\n\t'%s' type_id=%u bits_offset=%u",
137 fprintf(out, " bitfield_size=%u", bit_sz);
146 fprintf(out, " encoding=%s size=%u vlen=%u",
149 fprintf(out, fmt_str,
160 fprintf(ou
[all...]
/linux-master/tools/perf/util/scripting-engines/
H A Dtrace-event-perl.c556 fprintf(stderr, "couldn't open %s\n", fname);
560 fprintf(ofp, "# perf script event handlers, "
563 fprintf(ofp, "# Licensed under the terms of the GNU GPL"
566 fprintf(ofp, "# The common_* event handler fields are the most useful "
569 fprintf(ofp, "# all events. They don't necessarily correspond to "
572 fprintf(ofp, "# in the format files. Those fields not available as "
575 fprintf(ofp, "# be retrieved using Perl functions of the form "
578 fprintf(ofp, "# See Context.pm for the list of available "
581 fprintf(ofp, "use lib \"$ENV{'PERF_EXEC_PATH'}/scripts/perl/"
584 fprintf(of
[all...]
/linux-master/arch/x86/entry/vdso/
H A Dvdso2c.h14 fprintf(outfile, "\n\t");
15 fprintf(outfile, "0x%02X, ", (int)(data)[i]);
38 fprintf(outfile, "static const unsigned char %s[%zu] = {", name, len);
40 fprintf(outfile, "\n};\n\n");
180 fprintf(outfile, "/* AUTOMATICALLY GENERATED -- DO NOT EDIT */\n\n");
181 fprintf(outfile, "#include <linux/linkage.h>\n");
182 fprintf(outfile, "#include <asm/page_types.h>\n");
183 fprintf(outfile, "#include <asm/vdso.h>\n");
184 fprintf(outfile, "\n");
185 fprintf(outfil
[all...]
/linux-master/arch/x86/tools/
H A Dinsn_sanity.c41 fprintf(stderr, "%s: Error: %s\n\n", prog, err);
42 fprintf(stderr, "Usage: %s [-y|-n|-v] [-s seed[,no]] [-m max] [-i input]\n", prog);
43 fprintf(stderr, "\t-y 64bit mode\n");
44 fprintf(stderr, "\t-n 32bit mode\n");
45 fprintf(stderr, "\t-v Verbosity(-vv dumps any decoded result)\n");
46 fprintf(stderr, "\t-s Give a random seed (and iteration number)\n");
47 fprintf(stderr, "\t-m Give a maximum iteration number\n");
48 fprintf(stderr, "\t-i Give an input file with decoded binary\n");
55 fprintf(fp, "%s.%s = {\n", indent, name);
56 fprintf(f
[all...]

Completed in 161 milliseconds

1234567891011>>