/linux-master/scripts/selinux/mdp/ |
H A D | mdp.c | 68 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 D | genheaders.c | 35 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 D | svghelper.c | 91 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 D | bug-link-o-tmpfile.c | 32 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/tools/bpf/bpftool/ |
H A D | netlink_dumper.h | 19 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, "%u ", str); \ 92 fprintf(stdout, fmt_str, str); \ 100 fprintf(stdou [all...] |
/linux-master/drivers/comedi/drivers/ni_routing/tools/ |
H A D | convert_c_to_py.c | 38 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 D | genvdso.c | 117 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/gpio/ |
H A D | gpio-hammer.c | 55 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 D | gpio-event-mon.c | 47 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 D | lsgpio.c | 81 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 D | treesource.c | 58 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 D | hpet_example.c | 59 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/testing/vsock/ |
H A D | msg_zerocopy_common.c | 40 fprintf(stderr, "failed to read error queue: %zi\n", res); 46 fprintf(stderr, "cmsg: no cmsg\n"); 51 fprintf(stderr, "cmsg: unexpected 'cmsg_level'\n"); 56 fprintf(stderr, "cmsg: unexpected 'cmsg_type'\n"); 62 fprintf(stderr, "serr: wrong origin: %u\n", serr->ee_origin); 67 fprintf(stderr, "serr: wrong error code: %u\n", serr->ee_errno); 79 fprintf(stderr, "serr: was copy instead of zerocopy\n"); 84 fprintf(stderr, "serr: was zerocopy instead of copy\n");
|
/linux-master/tools/lib/perf/include/internal/ |
H A D | tests.h | 34 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/samples/bpf/ |
H A D | tracex7_user.c | 18 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 D | tracex1_user.c | 18 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/pci/ |
H A D | pcitest.c | 55 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 D | gen-devlist.c | 22 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/arch/x86/entry/vdso/ |
H A D | vdso2c.h | 14 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 <linux/init.h>\n"); 183 fprintf(outfile, "#include <asm/page_types.h>\n"); 184 fprintf(outfile, "#include <asm/vdso.h>\n"); 185 fprintf(outfil [all...] |
/linux-master/tools/testing/selftests/powerpc/dscr/ |
H A D | dscr_inherit_test.c | 55 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/bpf/benchs/ |
H A D | bench_local_storage_rcu_tasks_trace.c | 41 fprintf(stderr, "invalid nr_procs\n"); 49 fprintf(stderr, "invalid kthread_pid\n"); 72 fprintf(stderr, "benchmark doesn't support multi-producer!\n"); 76 fprintf(stderr, "benchmark doesn't support consumer!\n"); 81 fprintf(stderr, "benchmark supports up to %u sleeper procs!\n", 99 fprintf(stderr, "couldn't open %s, exiting\n", procfs_path); 103 fprintf(stderr, "fscanf of %s failed, exiting\n", procfs_path); 138 fprintf(stderr, "Error forking sleeper proc %u of %u, exiting\n", i, 146 fprintf(stderr, "prctl failed with err %d, exiting\n", errno); 151 fprintf(stder [all...] |
/linux-master/tools/testing/selftests/arm64/signal/testcases/ |
H A D | ssve_za_regs.c | 49 fprintf(stderr, "Only %d VL supported\n", nvls); 77 fprintf(stderr, "Testing VL %d\n", vl); 81 fprintf(stderr, "Failed to set VL, got %d\n", ret); 96 fprintf(stderr, "No SVE context\n"); 102 fprintf(stderr, "Got SSVE VL %d, expected %d\n", ssve->vl, vl); 107 fprintf(stderr, "SVE_SIG_FLAG_SM not set in SVE record\n"); 111 fprintf(stderr, "Got expected SSVE size %u and VL %d\n", 117 fprintf(stderr, "No ZA context\n"); 123 fprintf(stderr, "Got ZA VL %d, expected %d\n", za->vl, vl); 127 fprintf(stder [all...] |
H A D | za_regs.c | 49 fprintf(stderr, "Only %d VL supported\n", nvls); 71 fprintf(stderr, "Testing VL %d\n", vl); 74 fprintf(stderr, "Failed to set VL\n"); 88 fprintf(stderr, "No ZA context\n"); 94 fprintf(stderr, "Got VL %d, expected %d\n", za->vl, vl); 99 fprintf(stderr, "ZA context size %u, expected %lu\n", 104 fprintf(stderr, "Got expected size %u and VL %d\n", 110 fprintf(stderr, "ZA data invalid\n");
|
/linux-master/tools/verification/rv/src/ |
H A D | rv.c | 54 fprintf(stderr, "rv version %s\n", VERSION); 58 fprintf(stderr, "%s\n", usage[i]); 95 fprintf(stderr, "rv version %s\n", VERSION); 98 fprintf(stderr, "%s\n", usage[i]); 102 fprintf(stderr, "rv version %s\n", VERSION); 105 fprintf(stderr, "%s\n", usage[i]); 146 fprintf(stderr, "rv version %s: %s\n", VERSION, message); 149 fprintf(stderr, "%s\n", usage[i]);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | btf_helpers.c | 101 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...] |