Home
last modified time | relevance | path

Searched refs:FILE (Results 1 - 25 of 736) sorted by relevance

12345678910>>...30

/kernel/linux/linux-6.6/tools/include/nolibc/
H A Dstdio.h29 /* just define FILE as a non-empty type. The value of the pointer gives
30 * the FD: FILE=~fd for fd>=0 or NULL for fd<0. This way positive FILE
34 typedef struct FILE { struct
36 } FILE; typedef
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* cons
[all...]
/kernel/linux/linux-5.10/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);
[all...]
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);
[all...]
/kernel/linux/linux-6.6/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);
[all...]
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);
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Devent.h344 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 *f
[all...]
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 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 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);
H A Devent.c174 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 *f
[all...]
/kernel/linux/linux-5.10/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_switch(union perf_event *event, FILE *fp);
386 size_t perf_event__fprintf_thread_map(union perf_event *event, FILE *fp);
387 size_t perf_event__fprintf_cpu_map(union perf_event *event, FILE *fp);
388 size_t perf_event__fprintf_namespaces(union perf_event *event, FILE *f
[all...]
H 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,
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 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);
H A Dsession.h109 size_t perf_session__fprintf(struct perf_session *session, FILE *fp);
111 size_t perf_session__fprintf_dsos(struct perf_session *session, FILE *fp);
113 size_t perf_session__fprintf_dsos_buildid(struct perf_session *session, FILE *fp,
116 size_t perf_session__fprintf_nr_events(struct perf_session *session, FILE *fp);
124 void perf_session__fprintf_info(struct perf_session *s, FILE *fp, bool full);
/kernel/linux/linux-5.10/tools/power/x86/intel-speed-select/
H 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,
241 extern void isst_clos_display_information(int cpu, FILE *outf, int clos,
243 extern void isst_clos_display_assoc_information(int cpu, FILE *outf, int clos);
247 extern void isst_display_result(int cpu, FILE *out
[all...]
/kernel/linux/linux-6.6/tools/power/x86/intel-speed-select/
H A Disst.h221 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 *out
[all...]
/kernel/liteos_m/testsuites/unittest/posix/src/fs/
H A Dposix_fs_func_test.c73 FILE *fp = NULL;
90 FILE *fp = NULL;
107 FILE *fp = NULL;
124 FILE *fp = NULL;
140 FILE *fp = NULL;
154 FILE *fp = NULL;
173 FILE *fp = NULL;
192 FILE *fp = NULL;
211 FILE *fp = NULL;
230 FILE *f
[all...]
/kernel/linux/linux-5.10/tools/perf/ui/stdio/
H A 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 *f in hist_entry_callchain__fprintf()
[all...]
/kernel/linux/linux-6.6/tools/perf/ui/stdio/
H A 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 *f in hist_entry_callchain__fprintf()
[all...]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/tools/testing/selftests/resctrl/
H A Dresctrlfs.c17 FILE *mounts; in find_resctrl_mount()
112 FILE *fp; in get_resource_id()
150 FILE *fp; in get_cache_size()
213 FILE *fp; in get_cbm_mask()
247 FILE *fp; in get_core_sibling()
317 FILE *fp; in run_benchmark()
406 FILE *fp; in write_pid_to_tasks()
506 FILE *fp; in write_schemata()
565 FILE *inf = fopen("/proc/filesystems", "r"); in check_resctrlfs_support()
598 char *fgrep(FILE *in
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/resctrl/
H A Dresctrlfs.c17 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 *in
[all...]
/kernel/linux/linux-5.10/arch/loongarch/boot/tools/
H A Drelocs.c140 static void read_ehdr(FILE *fp) in read_ehdr()
179 static void read_shdrs(FILE *fp) in read_shdrs()
203 static void read_strtabs(FILE *fp) in read_strtabs()
228 static void read_symtabs(FILE *fp) in read_symtabs()
252 static void read_relocs(FILE *fp) in read_relocs()
294 static void remove_relocs(FILE *fp) in remove_relocs()
443 static int write_reloc_as_bin(uint32_t v, FILE *f) in write_reloc_as_bin()
448 static int write_reloc_as_text(uint32_t v, FILE *f) in write_reloc_as_text()
459 static void emit_relocs(int as_text, int as_bin, FILE *outf) in emit_relocs()
462 int (*write_reloc)(uint32_t, FILE *) in emit_relocs()
[all...]

Completed in 13 milliseconds

12345678910>>...30