Home
last modified time | relevance | path

Searched refs:FILE (Results 1 – 25 of 408) sorted by relevance

12345678910>>...17

/linux-5.19.10/tools/include/nolibc/
Dstdio.h25 typedef struct FILE { struct
27 } FILE; typedef
32 static __attribute__((unused)) FILE* const stdin = (FILE*)-3;
33 static __attribute__((unused)) FILE* const stdout = (FILE*)-2;
34 static __attribute__((unused)) FILE* const stderr = (FILE*)-1;
41 int fgetc(FILE* stream) in fgetc()
68 int fputc(int c, FILE* stream) in fputc()
96 int _fwrite(const void *buf, size_t size, FILE *stream) in _fwrite()
117 size_t fwrite(const void *s, size_t size, size_t nmemb, FILE *stream) in fwrite()
130 int fputs(const char *s, FILE *stream) in fputs()
[all …]
/linux-5.19.10/scripts/
Dcleanfile105 if (!open(FILE, '+<', $f)) {
110 binmode FILE;
117 while (read(FILE, $data, 65536) > 0) {
129 seek(FILE, 0, 0);
139 while ( defined($line = <FILE>) ) {
168 seek(FILE, 0, 0);
169 print FILE @lines;
171 if ( !defined($where = tell(FILE)) ||
172 !truncate(FILE, $where) ) {
177 close(FILE);
Dcleanpatch105 if (!open(FILE, '+<', $f)) {
110 binmode FILE;
117 while (read(FILE, $data, 65536) > 0) {
129 seek(FILE, 0, 0);
140 while ( defined($line = <FILE>) ) {
249 seek(FILE, 0, 0);
250 print FILE @lines;
252 if ( !defined($where = tell(FILE)) ||
253 !truncate(FILE, $where) ) {
259 close(FILE);
Dspdxcheck-test.sh4 for FILE in Makefile Documentation/images/logo.gif; do
5 python3 scripts/spdxcheck.py $FILE
6 python3 scripts/spdxcheck.py - < $FILE
Dmarkup_oops.pl202 open(FILE, $cross_compile."objdump -dS $filename |") || die "Cannot start objdump";
203 while (<FILE>) {
209 close(FILE);
235 open(FILE, $cross_compile."objdump -dS --adjust-vma=$vmaoffset --start-address=$decodestart --stop-…
237 while (<FILE>) {
263 close(FILE);
Drecordmcount.pl444 open(FILE, ">$mcount_s") || die "can't create $mcount_s\n";
446 print FILE "\t.section $mcount_section,\"a\",$section_type\n";
447 print FILE "\t.align $alignment\n" if (defined($alignment));
450 printf FILE "\t%s %s + %d\n", $type, $ref_func, $cur_offset - $offset;
541 close(FILE);
/linux-5.19.10/tools/power/x86/intel-speed-select/
Disst.h179 FILE *get_output_file(void);
212 extern void isst_ctdp_display_information(int cpu, FILE *outf, int tdp_level,
214 extern void isst_ctdp_display_core_info(int cpu, FILE *outf, char *prefix,
216 extern void isst_ctdp_display_information_start(FILE *outf);
217 extern void isst_ctdp_display_information_end(FILE *outf);
218 extern void isst_pbf_display_information(int cpu, FILE *outf, int level,
230 extern void isst_fact_display_information(int cpu, FILE *outf, int level,
245 extern void isst_clos_display_information(int cpu, FILE *outf, int clos,
247 extern void isst_clos_display_assoc_information(int cpu, FILE *outf, int clos);
251 extern void isst_display_result(int cpu, FILE *outf, char *feature, char *cmd,
[all …]
Disst-display.c84 static void format_and_print_txt(FILE *outf, int level, char *header, in format_and_print_txt()
112 static void format_and_print(FILE *outf, int level, char *header, char *value) in format_and_print()
169 static int print_package_info(int cpu, FILE *outf) in print_package_info()
191 static void _isst_pbf_display_information(int cpu, FILE *outf, int level, in _isst_pbf_display_information()
234 static void _isst_fact_display_information(int cpu, FILE *outf, int level, in _isst_fact_display_information()
322 void isst_ctdp_display_core_info(int cpu, FILE *outf, char *prefix, in isst_ctdp_display_core_info()
356 void isst_ctdp_display_information(int cpu, FILE *outf, int tdp_level, in isst_ctdp_display_information()
573 void isst_ctdp_display_information_start(FILE *outf) in isst_ctdp_display_information_start()
580 void isst_ctdp_display_information_end(FILE *outf) in isst_ctdp_display_information_end()
586 void isst_pbf_display_information(int cpu, FILE *outf, int level, in isst_pbf_display_information()
[all …]
/linux-5.19.10/tools/perf/util/
Devent.h444 size_t perf_event__fprintf_comm(union perf_event *event, FILE *fp);
445 size_t perf_event__fprintf_mmap(union perf_event *event, FILE *fp);
446 size_t perf_event__fprintf_mmap2(union perf_event *event, FILE *fp);
447 size_t perf_event__fprintf_task(union perf_event *event, FILE *fp);
448 size_t perf_event__fprintf_aux(union perf_event *event, FILE *fp);
449 size_t perf_event__fprintf_itrace_start(union perf_event *event, FILE *fp);
450 size_t perf_event__fprintf_aux_output_hw_id(union perf_event *event, FILE *fp);
451 size_t perf_event__fprintf_switch(union perf_event *event, FILE *fp);
452 size_t perf_event__fprintf_thread_map(union perf_event *event, FILE *fp);
453 size_t perf_event__fprintf_cpu_map(union perf_event *event, FILE *fp);
[all …]
Devsel_fprintf.h18 int evsel__fprintf(struct evsel *evsel, struct perf_attr_details *details, FILE *fp);
38 struct strlist *bt_stop_list, FILE *fp);
43 struct strlist *bt_stop_list, FILE *fp);
45 typedef int (*attr__fprintf_f)(FILE *, const char *, const char *, void *);
47 int perf_event_attr__fprintf(FILE *fp, struct perf_event_attr *attr,
Dsymbol_fprintf.c10 size_t symbol__fprintf(struct symbol *sym, FILE *fp) in symbol__fprintf()
22 bool print_offsets, FILE *fp) in __symbol__fprintf_symname_offs()
45 FILE *fp) in symbol__fprintf_symname_offs()
52 bool unknown_as_addr, FILE *fp) in __symbol__fprintf_symname()
57 size_t symbol__fprintf_symname(const struct symbol *sym, FILE *fp) in symbol__fprintf_symname()
63 FILE *fp) in dso__fprintf_symbols_by_name()
Dcolor.h39 int color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args);
40 int color_fprintf(FILE *fp, const char *color, const char *fmt, ...);
42 int color_fwrite_lines(FILE *fp, const char *color, size_t count, const char *buf);
46 int percent_color_fprintf(FILE *fp, const char *fmt, double percent);
Ddata-convert-json.c32 FILE *out;
38 static void output_json_string(FILE *out, const char *s) in output_json_string()
69 static void output_json_delimiters(FILE *out, bool comma, int depth) in output_json_delimiters()
82 static void output_json_format(FILE *out, bool comma, int depth, const char *format, ...) in output_json_format()
93 static void output_json_key_string(FILE *out, bool comma, int depth, in output_json_key_string()
104 static void output_json_key_format(FILE *out, bool comma, int depth, in output_json_key_format()
121 FILE *out = c->out; in output_sample_callchain_entry()
150 FILE *out = c->out; in process_sample_event()
228 FILE *out = c->out; in output_headers()
Devent.c148 size_t perf_event__fprintf_comm(union perf_event *event, FILE *fp) in perf_event__fprintf_comm()
160 size_t perf_event__fprintf_namespaces(union perf_event *event, FILE *fp) in perf_event__fprintf_namespaces()
187 size_t perf_event__fprintf_cgroup(union perf_event *event, FILE *fp) in perf_event__fprintf_cgroup()
289 size_t perf_event__fprintf_mmap(union perf_event *event, FILE *fp) in perf_event__fprintf_mmap()
298 size_t perf_event__fprintf_mmap2(union perf_event *event, FILE *fp) in perf_event__fprintf_mmap2()
332 size_t perf_event__fprintf_thread_map(union perf_event *event, FILE *fp) in perf_event__fprintf_thread_map()
348 size_t perf_event__fprintf_cpu_map(union perf_event *event, FILE *fp) in perf_event__fprintf_cpu_map()
380 size_t perf_event__fprintf_task(union perf_event *event, FILE *fp) in perf_event__fprintf_task()
403 size_t perf_event__fprintf_aux(union perf_event *event, FILE *fp) in perf_event__fprintf_aux()
413 size_t perf_event__fprintf_itrace_start(union perf_event *event, FILE *fp) in perf_event__fprintf_itrace_start()
[all …]
Dsession.h124 size_t perf_session__fprintf(struct perf_session *session, FILE *fp);
126 size_t perf_session__fprintf_dsos(struct perf_session *session, FILE *fp);
128 size_t perf_session__fprintf_dsos_buildid(struct perf_session *session, FILE *fp,
131 size_t perf_session__fprintf_nr_events(struct perf_session *session, FILE *fp,
140 void perf_session__fprintf_info(struct perf_session *s, FILE *fp, bool full);
Dcolor.c39 static int __color_vfprintf(FILE *fp, const char *color, const char *fmt, in __color_vfprintf()
68 int color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args) in color_vfprintf()
85 int color_fprintf(FILE *fp, const char *color, const char *fmt, ...) in color_fprintf()
101 int color_fwrite_lines(FILE *fp, const char *color, in color_fwrite_lines()
142 int percent_color_fprintf(FILE *fp, const char *fmt, double percent) in percent_color_fprintf()
/linux-5.19.10/tools/bpf/bpftool/Documentation/
Dbpftool-prog.rst31 | **bpftool** **prog dump xlated** *PROG* [{**file** *FILE* | **opcodes** | **visual** | **linum**}]
32 | **bpftool** **prog dump jited** *PROG* [{**file** *FILE* | **opcodes** | **linum**}]
33 | **bpftool** **prog pin** *PROG* *FILE*
38 …*prog run** *PROG* **data_in** *FILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *F…
42 | *MAP* := { **id** *MAP_ID* | **pinned** *FILE* }
43 | *PROG* := { **id** *PROG_ID* | **pinned** *FILE* | **tag** *PROG_TAG* | **name** *PROG_NAME* }
90 **bpftool prog dump xlated** *PROG* [{ **file** *FILE* | **opcodes** | **visual** | **linum** }]
101 written to *FILE*.
112 **bpftool prog dump jited** *PROG* [{ **file** *FILE* | **opcodes** | **linum** }]
115 If *FILE* is specified image will be written to a file,
[all …]
Dbpftool-link.rst27 | **bpftool** **link pin** *LINK* *FILE*
31 | *LINK* := { **id** *LINK_ID* | **pinned** *FILE* }
50 **bpftool link pin** *LINK* *FILE*
51 Pin link *LINK* as *FILE*.
53 Note: *FILE* must be located in *bpffs* mount. It must not
/linux-5.19.10/tools/perf/ui/stdio/
Dhist.c22 static size_t callchain__fprintf_left_margin(FILE *fp, int left_margin) in callchain__fprintf_left_margin()
33 static size_t ipchain__fprintf_graph_line(FILE *fp, int depth, int depth_mask, in ipchain__fprintf_graph_line()
50 static size_t ipchain__fprintf_graph(FILE *fp, struct callchain_node *node, in ipchain__fprintf_graph()
109 static size_t __callchain__fprintf_graph(FILE *fp, struct rb_root *root, in __callchain__fprintf_graph()
217 static size_t callchain__fprintf_graph(FILE *fp, struct rb_root *root, in callchain__fprintf_graph()
282 static size_t __callchain__fprintf_flat(FILE *fp, struct callchain_node *node, in __callchain__fprintf_flat()
305 static size_t callchain__fprintf_flat(FILE *fp, struct rb_root *tree, in callchain__fprintf_flat()
330 static size_t __callchain__fprintf_folded(FILE *fp, struct callchain_node *node) in __callchain__fprintf_folded()
356 static size_t callchain__fprintf_folded(FILE *fp, struct rb_root *tree, in callchain__fprintf_folded()
383 FILE *fp) in hist_entry_callchain__fprintf()
[all …]
/linux-5.19.10/tools/testing/selftests/resctrl/
Dresctrlfs.c15 FILE *mounts; in find_resctrl_mount()
107 FILE *fp; in get_resource_id()
145 FILE *fp; in get_cache_size()
208 FILE *fp; in get_cbm_mask()
242 FILE *fp; in get_core_sibling()
312 FILE *fp; in run_benchmark()
401 FILE *fp; in write_pid_to_tasks()
498 FILE *fp; in write_schemata()
556 FILE *inf = fopen("/proc/filesystems", "r"); in check_resctrlfs_support()
591 char *fgrep(FILE *inf, const char *str) in fgrep()
[all …]
/linux-5.19.10/samples/bpf/
Dxdp2skb_meta.sh131 FILE="$DIR/$BPF_FILE"
132 if [[ ! -e $FILE ]]; then
133 err 3 "Missing BPF object file ($FILE)"
219 attach_tc_mark $DEV $FILE
220 attach_xdp_mark $DEV $FILE
/linux-5.19.10/scripts/dtc/
Dtreesource.c9 extern FILE *yyin;
34 static void write_prefix(FILE *f, int level) in write_prefix()
49 static void write_propval_string(FILE *f, const char *s, size_t len) in write_propval_string()
102 static void write_propval_int(FILE *f, const char *p, size_t len, size_t width) in write_propval_int()
175 static void write_propval(FILE *f, struct property *prop) in write_propval()
273 static void write_tree_source_node(FILE *f, struct node *tree, int level) in write_tree_source_node()
320 void dt_to_source(FILE *f, struct dt_info *dti) in dt_to_source()
Dsrcpos.h14 FILE *f;
21 extern FILE *depfile; /* = NULL */
43 FILE *srcfile_relative_open(const char *fname, char **fullnamep);
/linux-5.19.10/tools/testing/selftests/mqueue/
Dmq_open_tests.c56 FILE *def_msgs, *def_msgsize, *max_msgs, *max_msgsize;
61 static inline void __set(FILE *stream, int value, char *err_msg);
63 static inline int get(FILE *stream);
64 static inline void set(FILE *stream, int value);
71 static inline void __set(FILE *stream, int value, char *err_msg) in __set()
118 static inline int get(FILE *stream) in get()
127 static inline void set(FILE *stream, int value) in set()
/linux-5.19.10/tools/testing/selftests/kvm/lib/
Dkvm_util_internal.h89 void virt_dump(FILE *stream, struct kvm_vm *vm, uint8_t indent);
106 void regs_dump(FILE *stream, struct kvm_regs *regs, uint8_t indent);
123 void sregs_dump(FILE *stream, struct kvm_sregs *sregs, uint8_t indent);

12345678910>>...17