/linux-6.3-rc2/tools/include/nolibc/ |
A D | stdio.h | 25 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() 130 int fputs(const char *s, FILE *stream) in fputs() 146 char *fgets(char *s, int size, FILE *stream) in fgets() [all …]
|
/linux-6.3-rc2/scripts/ |
A D | cleanfile | 105 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 D | cleanpatch | 105 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 D | spdxcheck-test.sh | 4 for FILE in Makefile Documentation/images/logo.gif; do 5 python3 scripts/spdxcheck.py $FILE 6 python3 scripts/spdxcheck.py - < $FILE
|
A D | markup_oops.pl | 202 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 D | recordmcount.pl | 444 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-6.3-rc2/tools/perf/util/ |
A D | event.h | 343 size_t perf_event__fprintf_comm(union perf_event *event, FILE *fp); 344 size_t perf_event__fprintf_mmap(union perf_event *event, FILE *fp); 345 size_t perf_event__fprintf_mmap2(union perf_event *event, FILE *fp); 346 size_t perf_event__fprintf_task(union perf_event *event, FILE *fp); 347 size_t perf_event__fprintf_aux(union perf_event *event, FILE *fp); 350 size_t perf_event__fprintf_switch(union perf_event *event, FILE *fp); 351 size_t perf_event__fprintf_thread_map(union perf_event *event, FILE *fp); 352 size_t perf_event__fprintf_cpu_map(union perf_event *event, FILE *fp); 354 size_t perf_event__fprintf_cgroup(union perf_event *event, FILE *fp); 355 size_t perf_event__fprintf_ksymbol(union perf_event *event, FILE *fp); [all …]
|
A D | evsel_fprintf.h | 18 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 D | symbol_fprintf.c | 10 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 D | color.h | 39 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 D | event.c | 149 size_t perf_event__fprintf_comm(union perf_event *event, FILE *fp) in perf_event__fprintf_comm() 188 size_t perf_event__fprintf_cgroup(union perf_event *event, FILE *fp) in perf_event__fprintf_cgroup() 290 size_t perf_event__fprintf_mmap(union perf_event *event, FILE *fp) in perf_event__fprintf_mmap() 299 size_t perf_event__fprintf_mmap2(union perf_event *event, FILE *fp) in perf_event__fprintf_mmap2() 349 size_t perf_event__fprintf_cpu_map(union perf_event *event, FILE *fp) in perf_event__fprintf_cpu_map() 381 size_t perf_event__fprintf_task(union perf_event *event, FILE *fp) in perf_event__fprintf_task() 404 size_t perf_event__fprintf_aux(union perf_event *event, FILE *fp) in perf_event__fprintf_aux() 426 size_t perf_event__fprintf_switch(union perf_event *event, FILE *fp) in perf_event__fprintf_switch() 447 size_t perf_event__fprintf_ksymbol(union perf_event *event, FILE *fp) in perf_event__fprintf_ksymbol() 455 size_t perf_event__fprintf_bpf(union perf_event *event, FILE *fp) in perf_event__fprintf_bpf() [all …]
|
A D | PERF-VERSION-GEN | 8 GVF=${OUTPUT}PERF-VERSION-FILE 23 elif test -f ../../PERF-VERSION-FILE 25 TAG=$(cut -d' ' -f3 ../../PERF-VERSION-FILE | sed -e 's/\"//g')
|
A D | session.h | 126 size_t perf_session__fprintf(struct perf_session *session, FILE *fp); 128 size_t perf_session__fprintf_dsos(struct perf_session *session, FILE *fp); 130 size_t perf_session__fprintf_dsos_buildid(struct perf_session *session, FILE *fp, 133 size_t perf_session__fprintf_nr_events(struct perf_session *session, FILE *fp, 142 void perf_session__fprintf_info(struct perf_session *s, FILE *fp, bool full);
|
A D | data-convert-json.c | 36 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() 154 FILE *out = c->out; in process_sample_event() 256 FILE *out = c->out; in output_headers()
|
A D | color.c | 39 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-6.3-rc2/tools/power/x86/intel-speed-select/ |
A D | isst.h | 187 FILE *get_output_file(void); 219 extern void isst_ctdp_display_information(struct isst_id *id, FILE *outf, int tdp_level, 221 extern void isst_ctdp_display_core_info(struct isst_id *id, FILE *outf, char *prefix, 223 extern void isst_ctdp_display_information_start(FILE *outf); 224 extern void isst_ctdp_display_information_end(FILE *outf); 225 extern void isst_pbf_display_information(struct isst_id *id, FILE *outf, int level, 236 extern void isst_fact_display_information(struct isst_id *id, FILE *outf, int level, 251 extern void isst_clos_display_information(struct isst_id *id, FILE *outf, int clos, 253 extern void isst_clos_display_assoc_information(struct isst_id *id, FILE *outf, int clos); 255 extern void isst_display_result(struct isst_id *id, FILE *outf, char *feature, char *cmd, [all …]
|
A D | isst-display.c | 84 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() 320 void isst_ctdp_display_core_info(struct isst_id *id, FILE *outf, char *prefix, in isst_ctdp_display_core_info() 574 void isst_ctdp_display_information_start(FILE *outf) in isst_ctdp_display_information_start() 581 void isst_ctdp_display_information_end(FILE *outf) in isst_ctdp_display_information_end() 587 void isst_pbf_display_information(struct isst_id *id, FILE *outf, int level, in isst_pbf_display_information() 597 void isst_fact_display_information(struct isst_id *id, FILE *outf, int level, in isst_fact_display_information() 609 void isst_clos_display_information(struct isst_id *id, FILE *outf, int clos, in isst_clos_display_information() 651 void isst_clos_display_clos_information(struct isst_id *id, FILE *outf, in isst_clos_display_clos_information() [all …]
|
/linux-6.3-rc2/tools/perf/ui/stdio/ |
A D | hist.c | 383 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-6.3-rc2/tools/testing/selftests/resctrl/ |
A D | resctrlfs.c | 15 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-6.3-rc2/tools/bpf/bpftool/Documentation/ |
A D | bpftool-prog.rst | 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* } 102 written to *FILE*. 116 If *FILE* is specified image will be written to a file, 127 **bpftool prog pin** *PROG* *FILE* 128 Pin program *PROG* as *FILE*. 130 Note: *FILE* must be located in *bpffs* mount. It must not 188 … prog run** *PROG* **data_in** *FILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *F… 195 Input data is read from the *FILE* passed with **data_in**. [all …]
|
A D | bpftool-link.rst | 27 | **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-6.3-rc2/samples/bpf/ |
A D | xdp2skb_meta.sh | 131 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-6.3-rc2/tools/perf/util/intel-pt-decoder/ |
A D | intel-pt-log.c | 32 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-6.3-rc2/scripts/dtc/ |
A D | treesource.c | 9 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-6.3-rc2/tools/testing/selftests/mqueue/ |
A D | mq_open_tests.c | 56 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()
|