/linux-6.6.21/tools/include/nolibc/ |
D | stdio.h | 34 typedef struct FILE { struct 36 } FILE; argument 38 static __attribute__((unused)) FILE* const stdin = (FILE*)(intptr_t)~STDIN_FILENO; 39 static __attribute__((unused)) FILE* const stdout = (FILE*)(intptr_t)~STDOUT_FILENO; 40 static __attribute__((unused)) FILE* const stderr = (FILE*)(intptr_t)~STDERR_FILENO; 44 FILE *fdopen(int fd, const char *mode __attribute__((unused))) in fdopen() 50 return (FILE*)(intptr_t)~fd; in fdopen() 55 int fileno(FILE *stream) in fileno() 68 int fflush(FILE *stream) in fflush() 84 int fclose(FILE *stream) in fclose() [all …]
|
/linux-6.6.21/scripts/ |
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);
|
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);
|
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
|
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);
|
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.6.21/tools/perf/util/ |
D | event.h | 344 size_t perf_event__fprintf_comm(union perf_event *event, FILE *fp); 345 size_t perf_event__fprintf_mmap(union perf_event *event, FILE *fp); 346 size_t perf_event__fprintf_mmap2(union perf_event *event, FILE *fp); 347 size_t perf_event__fprintf_task(union perf_event *event, FILE *fp); 348 size_t perf_event__fprintf_aux(union perf_event *event, FILE *fp); 349 size_t perf_event__fprintf_itrace_start(union perf_event *event, FILE *fp); 350 size_t perf_event__fprintf_aux_output_hw_id(union perf_event *event, FILE *fp); 351 size_t perf_event__fprintf_switch(union perf_event *event, FILE *fp); 352 size_t perf_event__fprintf_thread_map(union perf_event *event, FILE *fp); 353 size_t perf_event__fprintf_cpu_map(union perf_event *event, FILE *fp); [all …]
|
D | evsel_fprintf.h | 18 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,
|
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()
|
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);
|
D | event.c | 174 size_t perf_event__fprintf_comm(union perf_event *event, FILE *fp) in perf_event__fprintf_comm() 186 size_t perf_event__fprintf_namespaces(union perf_event *event, FILE *fp) in perf_event__fprintf_namespaces() 213 size_t perf_event__fprintf_cgroup(union perf_event *event, FILE *fp) in perf_event__fprintf_cgroup() 315 size_t perf_event__fprintf_mmap(union perf_event *event, FILE *fp) in perf_event__fprintf_mmap() 324 size_t perf_event__fprintf_mmap2(union perf_event *event, FILE *fp) in perf_event__fprintf_mmap2() 358 size_t perf_event__fprintf_thread_map(union perf_event *event, FILE *fp) in perf_event__fprintf_thread_map() 374 size_t perf_event__fprintf_cpu_map(union perf_event *event, FILE *fp) in perf_event__fprintf_cpu_map() 406 size_t perf_event__fprintf_task(union perf_event *event, FILE *fp) in perf_event__fprintf_task() 429 size_t perf_event__fprintf_aux(union perf_event *event, FILE *fp) in perf_event__fprintf_aux() 439 size_t perf_event__fprintf_itrace_start(union perf_event *event, FILE *fp) in perf_event__fprintf_itrace_start() [all …]
|
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')
|
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);
|
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() 156 FILE *out = c->out; in process_sample_event() 264 FILE *out = c->out; in output_headers()
|
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.6.21/tools/power/x86/intel-speed-select/ |
D | isst.h | 221 FILE *get_output_file(void); 255 extern void isst_ctdp_display_information(struct isst_id *id, FILE *outf, int tdp_level, 257 extern void isst_ctdp_display_core_info(struct isst_id *id, FILE *outf, char *prefix, 259 extern void isst_ctdp_display_information_start(FILE *outf); 260 extern void isst_ctdp_display_information_end(FILE *outf); 261 extern void isst_pbf_display_information(struct isst_id *id, FILE *outf, int level, 269 extern void isst_fact_display_information(struct isst_id *id, FILE *outf, int level, 284 extern void isst_clos_display_information(struct isst_id *id, FILE *outf, int clos, 286 extern void isst_clos_display_assoc_information(struct isst_id *id, FILE *outf, int clos); 288 extern void isst_display_result(struct isst_id *id, FILE *outf, char *feature, char *cmd, [all …]
|
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() 198 static void _isst_pbf_display_information(struct isst_id *id, FILE *outf, int level, in _isst_pbf_display_information() 241 static void _isst_fact_display_information(struct isst_id *id, FILE *outf, int level, in _isst_fact_display_information() 319 void isst_ctdp_display_core_info(struct isst_id *id, FILE *outf, char *prefix, in isst_ctdp_display_core_info() 338 void isst_ctdp_display_information(struct isst_id *id, FILE *outf, int tdp_level, in isst_ctdp_display_information() 548 void isst_ctdp_display_information_start(FILE *outf) in isst_ctdp_display_information_start() 555 void isst_ctdp_display_information_end(FILE *outf) in isst_ctdp_display_information_end() 561 void isst_pbf_display_information(struct isst_id *id, FILE *outf, int level, in isst_pbf_display_information() [all …]
|
/linux-6.6.21/tools/testing/selftests/resctrl/ |
D | resctrlfs.c | 17 FILE *mounts; in find_resctrl_mount() 106 FILE *fp; in get_resource_id() 144 FILE *fp; in get_cache_size() 207 FILE *fp; in get_cbm_mask() 241 FILE *fp; in get_core_sibling() 311 FILE *fp; in run_benchmark() 398 FILE *fp; in write_pid_to_tasks() 495 FILE *fp; in write_schemata() 555 FILE *inf = fopen("/proc/filesystems", "r"); in check_resctrlfs_support() 590 char *fgrep(FILE *inf, const char *str) in fgrep() [all …]
|
/linux-6.6.21/tools/perf/ui/stdio/ |
D | hist.c | 22 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-6.6.21/tools/bpf/bpftool/Documentation/ |
D | bpftool-prog.rst | 31 | **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* 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* } 91 **bpftool prog dump xlated** *PROG* [{ **file** *FILE* | [**opcodes**] [**linum**] [**visual**] }] 102 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 …]
|
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.6.21/samples/bpf/ |
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.6.21/tools/perf/util/intel-pt-decoder/ |
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.6.21/scripts/dtc/ |
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.6.21/tools/testing/selftests/mqueue/ |
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()
|