Home
last modified time | relevance | path

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

12345678910>>...16

/linux/scripts/
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);
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);
A Dspdxcheck-test.sh4 for FILE in Makefile Documentation/logo.gif; do
5 python3 scripts/spdxcheck.py $FILE
6 python3 scripts/spdxcheck.py - < $FILE
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);
A Drecordmcount.pl447 open(FILE, ">$mcount_s") || die "can't create $mcount_s\n";
449 print FILE "\t.section $mcount_section,\"a\",$section_type\n";
450 print FILE "\t.align $alignment\n" if (defined($alignment));
453 printf FILE "\t%s %s + %d\n", $type, $ref_func, $cur_offset - $offset;
544 close(FILE);
/linux/tools/power/x86/intel-speed-select/
A Disst.h176 FILE *get_output_file(void);
209 extern void isst_ctdp_display_information(int cpu, FILE *outf, int tdp_level,
211 extern void isst_ctdp_display_core_info(int cpu, FILE *outf, char *prefix,
213 extern void isst_ctdp_display_information_start(FILE *outf);
214 extern void isst_ctdp_display_information_end(FILE *outf);
215 extern void isst_pbf_display_information(int cpu, FILE *outf, int level,
227 extern void isst_fact_display_information(int cpu, FILE *outf, int level,
242 extern void isst_clos_display_information(int cpu, FILE *outf, int clos,
244 extern void isst_clos_display_assoc_information(int cpu, FILE *outf, int clos);
248 extern void isst_display_result(int cpu, FILE *outf, char *feature, char *cmd,
[all …]
A Disst-display.c84 static void format_and_print_txt(FILE *outf, int level, char *header, in format_and_print_txt()
169 static int print_package_info(int cpu, FILE *outf) in print_package_info()
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()
596 void isst_fact_display_information(int cpu, FILE *outf, int level, in isst_fact_display_information()
608 void isst_clos_display_information(int cpu, FILE *outf, int clos, in isst_clos_display_information()
650 void isst_clos_display_clos_information(int cpu, FILE *outf, in isst_clos_display_clos_information()
[all …]
/linux/tools/perf/util/
A Devent.h401 size_t perf_event__fprintf_comm(union perf_event *event, FILE *fp);
402 size_t perf_event__fprintf_mmap(union perf_event *event, FILE *fp);
403 size_t perf_event__fprintf_mmap2(union perf_event *event, FILE *fp);
404 size_t perf_event__fprintf_task(union perf_event *event, FILE *fp);
405 size_t perf_event__fprintf_aux(union perf_event *event, FILE *fp);
408 size_t perf_event__fprintf_switch(union perf_event *event, FILE *fp);
409 size_t perf_event__fprintf_thread_map(union perf_event *event, FILE *fp);
410 size_t perf_event__fprintf_cpu_map(union perf_event *event, FILE *fp);
412 size_t perf_event__fprintf_cgroup(union perf_event *event, FILE *fp);
413 size_t perf_event__fprintf_ksymbol(union perf_event *event, FILE *fp);
[all …]
A 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,
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()
A 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);
A Devent.c148 size_t perf_event__fprintf_comm(union perf_event *event, FILE *fp) in perf_event__fprintf_comm()
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()
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()
425 size_t perf_event__fprintf_switch(union perf_event *event, FILE *fp) in perf_event__fprintf_switch()
446 size_t perf_event__fprintf_ksymbol(union perf_event *event, FILE *fp) in perf_event__fprintf_ksymbol()
454 size_t perf_event__fprintf_bpf(union perf_event *event, FILE *fp) in perf_event__fprintf_bpf()
[all …]
A 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()
A Dsession.h123 size_t perf_session__fprintf(struct perf_session *session, FILE *fp);
125 size_t perf_session__fprintf_dsos(struct perf_session *session, FILE *fp);
127 size_t perf_session__fprintf_dsos_buildid(struct perf_session *session, FILE *fp,
130 size_t perf_session__fprintf_nr_events(struct perf_session *session, FILE *fp,
139 void perf_session__fprintf_info(struct perf_session *s, FILE *fp, bool full);
A 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()
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')
/linux/tools/bpf/bpftool/Documentation/
A Dbpftool-prog.rst29 | **bpftool** **prog pin** *PROG* *FILE*
34 …*prog run** *PROG* **data_in** *FILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *F…
38 | *MAP* := { **id** *MAP_ID* | **pinned** *FILE* }
97 written to *FILE*.
111 If *FILE* is specified image will be written to a file,
122 **bpftool prog pin** *PROG* *FILE*
123 Pin program *PROG* as *FILE*.
125 Note: *FILE* must be located in *bpffs* mount. It must not
172 … prog run** *PROG* **data_in** *FILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *F…
179 Input data is read from the *FILE* passed with **data_in**.
[all …]
A Dbpftool-link.rst24 | **bpftool** **link pin** *LINK* *FILE*
28 | *LINK* := { **id** *LINK_ID* | **pinned** *FILE* }
47 **bpftool link pin** *LINK* *FILE*
48 Pin link *LINK* as *FILE*.
50 Note: *FILE* must be located in *bpffs* mount. It must not
/linux/tools/perf/ui/stdio/
A Dhist.c383 FILE *fp) in hist_entry_callchain__fprintf()
460 FILE *fp) in hist_entry__hierarchy_fprintf()
540 FILE *fp) in hist_entry__block_fprintf()
564 FILE *fp) in hist_entry__individual_block_fprintf()
582 char *bf, size_t bfsz, FILE *fp, in hist_entry__fprintf()
620 const char *line, FILE *fp) in print_hierarchy_indent()
633 struct perf_hpp *hpp, FILE *fp) in hists__fprintf_hierarchy_headers()
729 int line, FILE *fp) in fprintf_line()
755 FILE *fp) in hists__fprintf_standard_headers()
800 int hists__fprintf_headers(struct hists *hists, FILE *fp) in hists__fprintf_headers()
[all …]
/linux/tools/testing/selftests/resctrl/
A 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()
591 char *fgrep(FILE *inf, const char *str) in fgrep()
619 FILE *inf; in validate_resctrl_feature_request()
[all …]
/linux/samples/bpf/
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/scripts/dtc/
A Ddtc-lexer.lex.c157 extern FILE *yyin, *yyout;
185 FILE *yy_input_file;
280 void yyrestart ( FILE *input_file );
328 FILE *yyin = NULL, *yyout = NULL;
671 FILE *yyget_in ( void );
673 void yyset_in ( FILE * _in_str );
675 FILE *yyget_out ( void );
2009 FILE *yyget_in (void) in yyget_in()
2017 FILE *yyget_out (void) in yyget_out()
2055 void yyset_in (FILE * _in_str ) in yyset_in()
[all …]
A 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()
/linux/scripts/kconfig/
A Dlexer.lex.c157 extern FILE *yyin, *yyout;
204 FILE *yy_input_file;
299 void yyrestart ( FILE *input_file );
347 FILE *yyin = NULL, *yyout = NULL;
2334 FILE *yyget_in ( void );
2338 FILE *yyget_out ( void );
3735 FILE *yyget_in (void) in yyget_in()
3743 FILE *yyget_out (void) in yyget_out()
3781 void yyset_in (FILE * _in_str ) in yyset_in()
3786 void yyset_out (FILE * _out_str ) in yyset_out()
[all …]
/linux/tools/testing/selftests/mqueue/
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()

Completed in 48 milliseconds

12345678910>>...16