Home
last modified time | relevance | path

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

12345678910>>...18

/linux/tools/include/nolibc/
H A Dstdio.h40 typedef struct FILE { struct
42 } FILE; argument
44 static __attribute__((unused)) FILE* const stdin = (FILE*)(intptr_t)~STDIN_FILENO;
45 static __attribute__((unused)) FILE* const stdout = (FILE*)(intptr_t)~STDOUT_FILENO;
46 static __attribute__((unused)) FILE* const stderr = (FILE*)(intptr_t)~STDERR_FILENO;
50 FILE *fdopen(int fd, const char *mode __attribute__((unused))) in fdopen()
56 return (FILE*)(intptr_t)~fd; in fdopen()
60 FILE *fopen(const char *pathname, const char *mode) in fopen()
87 int fileno(FILE *stream) in fileno()
100 int fflush(FILE *stream) in fflush()
[all …]
/linux/scripts/
H A 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);
H A 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);
H A Dspdxcheck-test.sh4 for FILE in Makefile Documentation/images/logo.gif; do
5 python3 scripts/spdxcheck.py $FILE
6 python3 scripts/spdxcheck.py - < $FILE
H A 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);
H A Drecordmcount.pl437 open(FILE, ">$mcount_s") || die "can't create $mcount_s\n";
439 print FILE "\t.section $mcount_section,\"a\",$section_type\n";
440 print FILE "\t.align $alignment\n" if (defined($alignment));
443 printf FILE "\t%s %s + %d\n", $type, $ref_func, $cur_offset - $offset;
534 close(FILE);
/linux/tools/perf/util/
H A Devent.h379 size_t perf_event__fprintf_comm(union perf_event *event, FILE *fp);
380 size_t perf_event__fprintf_mmap(union perf_event *event, FILE *fp);
381 size_t perf_event__fprintf_mmap2(union perf_event *event, FILE *fp);
382 size_t perf_event__fprintf_task(union perf_event *event, FILE *fp);
383 size_t perf_event__fprintf_aux(union perf_event *event, FILE *fp);
384 size_t perf_event__fprintf_itrace_start(union perf_event *event, FILE *fp);
385 size_t perf_event__fprintf_aux_output_hw_id(union perf_event *event, FILE *fp);
386 size_t perf_event__fprintf_switch(union perf_event *event, FILE *fp);
387 size_t perf_event__fprintf_thread_map(union perf_event *event, FILE *fp);
388 size_t perf_event__fprintf_cpu_map(union perf_event *event, FILE *fp);
[all …]
H A 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()
H A Devsel_fprintf.h18 int evsel__fprintf(struct evsel *evsel, struct perf_attr_details *details, FILE *fp);
39 struct strlist *bt_stop_list, FILE *fp);
44 struct strlist *bt_stop_list, FILE *fp);
46 typedef int (*attr__fprintf_f)(FILE *, const char *, const char *, void *);
48 int perf_event_attr__fprintf(FILE *fp, struct perf_event_attr *attr,
H A Devent.c180 size_t perf_event__fprintf_comm(union perf_event *event, FILE *fp) in perf_event__fprintf_comm()
192 size_t perf_event__fprintf_namespaces(union perf_event *event, FILE *fp) in perf_event__fprintf_namespaces()
219 size_t perf_event__fprintf_cgroup(union perf_event *event, FILE *fp) in perf_event__fprintf_cgroup()
321 size_t perf_event__fprintf_mmap(union perf_event *event, FILE *fp) in perf_event__fprintf_mmap()
330 size_t perf_event__fprintf_mmap2(union perf_event *event, FILE *fp) in perf_event__fprintf_mmap2()
364 size_t perf_event__fprintf_thread_map(union perf_event *event, FILE *fp) in perf_event__fprintf_thread_map()
380 size_t perf_event__fprintf_cpu_map(union perf_event *event, FILE *fp) in perf_event__fprintf_cpu_map()
412 size_t perf_event__fprintf_task(union perf_event *event, FILE *fp) in perf_event__fprintf_task()
455 size_t perf_event__fprintf_aux(union perf_event *event, FILE *fp) in perf_event__fprintf_aux()
466 size_t perf_event__fprintf_itrace_start(union perf_event *event, FILE *fp) in perf_event__fprintf_itrace_start()
[all …]
H A Ddata-convert-json.c36 FILE *out;
42 static void output_json_string(FILE *out, const char *s) in output_json_string()
73 static void output_json_delimiters(FILE *out, bool comma, int depth) in output_json_delimiters()
86 static void output_json_format(FILE *out, bool comma, int depth, const char *format, ...) in output_json_format()
97 static void output_json_key_string(FILE *out, bool comma, int depth, in output_json_key_string()
108 static void output_json_key_format(FILE *out, bool comma, int depth, in output_json_key_format()
125 FILE *out = c->out; in output_sample_callchain_entry()
156 FILE *out = c->out; in process_sample_event()
265 FILE *out = c->out; in output_headers()
H A Dsession.h168 size_t perf_session__fprintf(struct perf_session *session, FILE *fp);
170 size_t perf_session__fprintf_dsos(struct perf_session *session, FILE *fp);
172 size_t perf_session__fprintf_dsos_buildid(struct perf_session *session, FILE *fp,
175 size_t perf_session__fprintf_nr_events(struct perf_session *session, FILE *fp);
185 void perf_session__fprintf_info(struct perf_session *s, FILE *fp, bool full);
H A DPERF-VERSION-GEN8 GVF=${OUTPUT}PERF-VERSION-FILE
23 elif test -f ../../PERF-VERSION-FILE
25 TAG=$(cut -d' ' -f3 ../../PERF-VERSION-FILE | sed -e 's/\"//g')
H A Ddebug.c50 static FILE *_debug_file;
54 FILE *debug_file(void) in debug_file()
63 void debug_set_file(FILE *file) in debug_set_file()
73 static int fprintf_time(FILE *file) in fprintf_time()
177 unsigned int val, void *extra, FILE *fp) in trace_event_printer()
309 void __dump_stack(FILE *file, void **stackdump, size_t stackdump_size) in __dump_stack()
/linux/tools/power/x86/intel-speed-select/
H A Disst.h224 FILE *get_output_file(void);
258 extern void isst_ctdp_display_information(struct isst_id *id, FILE *outf, int tdp_level,
260 extern void isst_ctdp_display_core_info(struct isst_id *id, FILE *outf, char *prefix,
262 extern void isst_ctdp_display_information_start(FILE *outf);
263 extern void isst_ctdp_display_information_end(FILE *outf);
264 extern void isst_pbf_display_information(struct isst_id *id, FILE *outf, int level,
272 extern void isst_fact_display_information(struct isst_id *id, FILE *outf, int level,
287 extern void isst_clos_display_information(struct isst_id *id, FILE *outf, int clos,
289 extern void isst_clos_display_assoc_information(struct isst_id *id, FILE *outf, int clos);
291 extern void isst_display_result(struct isst_id *id, FILE *outf, char *feature, char *cmd,
[all …]
H A 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(struct isst_id *id, FILE *outf) in print_package_info()
217 static void _isst_pbf_display_information(struct isst_id *id, FILE *outf, int level, in _isst_pbf_display_information()
260 static void _isst_fact_display_information(struct isst_id *id, FILE *outf, int level, in _isst_fact_display_information()
338 void isst_ctdp_display_core_info(struct isst_id *id, FILE *outf, char *prefix, in isst_ctdp_display_core_info()
357 void isst_ctdp_display_information(struct isst_id *id, FILE *outf, int tdp_level, in isst_ctdp_display_information()
587 void isst_ctdp_display_information_start(FILE *outf) in isst_ctdp_display_information_start()
594 void isst_ctdp_display_information_end(FILE *outf) in isst_ctdp_display_information_end()
600 void isst_pbf_display_information(struct isst_id *id, FILE *outf, int level, in isst_pbf_display_information()
[all …]
/linux/tools/perf/ui/stdio/
H A Dhist.c23 static size_t callchain__fprintf_left_margin(FILE *fp, int left_margin) in callchain__fprintf_left_margin()
37 static size_t ipchain__fprintf_graph_line(FILE *fp, int depth, int depth_mask, in ipchain__fprintf_graph_line()
54 static size_t ipchain__fprintf_graph(FILE *fp, struct callchain_node *node, in ipchain__fprintf_graph()
113 static size_t __callchain__fprintf_graph(FILE *fp, struct rb_root *root, in __callchain__fprintf_graph()
221 static size_t callchain__fprintf_graph(FILE *fp, struct rb_root *root, in callchain__fprintf_graph()
286 static size_t __callchain__fprintf_flat(FILE *fp, struct callchain_node *node, in __callchain__fprintf_flat()
309 static size_t callchain__fprintf_flat(FILE *fp, struct rb_root *tree, in callchain__fprintf_flat()
334 static size_t __callchain__fprintf_folded(FILE *fp, struct callchain_node *node) in __callchain__fprintf_folded()
360 static size_t callchain__fprintf_folded(FILE *fp, struct rb_root *tree, in callchain__fprintf_folded()
387 FILE *fp) in hist_entry_callchain__fprintf()
[all …]
/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-prog.rst31 | **bpftool** **prog dump xlated** *PROG* [{ **file** *FILE* | [**opcodes**] [**linum**] [**visual*…
32 | **bpftool** **prog dump jited** *PROG* [{ **file** *FILE* | [**opcodes**] [**linum**] }]
33 | **bpftool** **prog pin** *PROG* *FILE*
39 …*prog run** *PROG* **data_in** *FILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *F…
43 | *MAP* := { **id** *MAP_ID* | **pinned** *FILE* | **name** *MAP_NAME* }
44 | *PROG* := { **id** *PROG_ID* | **pinned** *FILE* | **tag** *PROG_TAG* | **name** *PROG_NAME* }
91 bpftool prog dump xlated *PROG* [{ file *FILE* | [opcodes] [linum] [visual] }]
102 *FILE*.
112 bpftool prog dump jited *PROG* [{ file *FILE* | [opcodes] [linum] }]
115 If *FILE* is specified image will be written to a file, otherwise it will
[all …]
H A Dbpftool-link.rst27 | **bpftool** **link pin** *LINK* *FILE*
31 | *LINK* := { **id** *LINK_ID* | **pinned** *FILE* }
48 bpftool link pin *LINK* *FILE*
49 Pin link *LINK* as *FILE*.
51 Note: *FILE* must be located in *bpffs* mount. It must not contain a dot
/linux/samples/bpf/
H A 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/tools/testing/selftests/bpf/prog_tests/
H A Duprobe.c8 static FILE *urand_spawn(int *pid) in urand_spawn()
10 FILE *f; in urand_spawn()
26 static int urand_trigger(FILE **urand_pipe) in urand_trigger()
41 FILE *urand_pipe = NULL; in test_uprobe()
/linux/tools/perf/util/intel-pt-decoder/
H A Dintel-pt-log.c32 FILE *backend;
35 static FILE *f;
128 static FILE *log_buf__open(struct log_buf *b, FILE *backend, unsigned int sz) in log_buf__open()
134 FILE *file; in log_buf__open()
158 static void write_lines(const char *p, size_t n, FILE *fp, bool *remove_first) in write_lines()
/linux/drivers/gpu/drm/xe/
H A Dxe_gen_wa_oob.c31 static void print_usage(FILE *f, const char *progname) in print_usage()
55 static int parse(FILE *input, FILE *csource, FILE *cheader, char *prefix) in parse()
171 FILE *f; in main()
/linux/scripts/kconfig/
H A Dconfdata.c301 static ssize_t getline_stripped(char **lineptr, size_t *n, FILE *stream) in getline_stripped()
322 FILE *in = NULL; in conf_read_simple()
550 static void conf_write_heading(FILE *fp, const struct comment_style *cs) in conf_write_heading()
610 static void __print_symbol(FILE *fp, struct symbol *sym, enum output_n output_n, in __print_symbol()
638 static void print_symbol_for_dotconfig(FILE *fp, struct symbol *sym) in print_symbol_for_dotconfig()
643 static void print_symbol_for_autoconf(FILE *fp, struct symbol *sym) in print_symbol_for_autoconf()
653 static void print_symbol_for_c(FILE *fp, struct symbol *sym) in print_symbol_for_c()
695 static void print_symbol_for_rustccfg(FILE *fp, struct symbol *sym) in print_symbol_for_rustccfg()
762 FILE *out; in conf_write_defconfig()
806 FILE *out; in conf_write()
[all …]
/linux/tools/testing/selftests/mqueue/
H A 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()

12345678910>>...18