arch/alpha/kernel/smc37c669.c
2344
int __init smcc669_open( struct FILE *fp, char *info, char *next, char *mode )
arch/alpha/kernel/smc37c669.c
2369
int __init smcc669_close( struct FILE *fp )
arch/alpha/kernel/smc37c669.c
2382
int __init smcc669_read( struct FILE *fp, int size, int number, unsigned char *buf )
arch/alpha/kernel/smc37c669.c
2408
int __init smcc669_write( struct FILE *fp, int size, int number, unsigned char *buf )
arch/mips/boot/tools/relocs.c
206
static void read_ehdr(FILE *fp)
arch/mips/boot/tools/relocs.c
261
static void read_shdrs(FILE *fp)
arch/mips/boot/tools/relocs.c
295
static void read_strtabs(FILE *fp)
arch/mips/boot/tools/relocs.c
320
static void read_symtabs(FILE *fp)
arch/mips/boot/tools/relocs.c
353
static void read_relocs(FILE *fp)
arch/mips/boot/tools/relocs.c
408
static void remove_relocs(FILE *fp)
arch/mips/boot/tools/relocs.c
558
static int write_reloc_as_bin(uint32_t v, FILE *f)
arch/mips/boot/tools/relocs.c
568
static int write_reloc_as_text(uint32_t v, FILE *f)
arch/mips/boot/tools/relocs.c
579
static void emit_relocs(int as_text, int as_bin, FILE *outf)
arch/mips/boot/tools/relocs.c
582
int (*write_reloc)(uint32_t, FILE *) = write_reloc_as_bin;
arch/mips/boot/tools/relocs.c
672
void process(FILE *fp, int as_text, int as_bin,
arch/mips/boot/tools/relocs.h
49
void process_32(FILE *fp, int as_text, int as_bin,
arch/mips/boot/tools/relocs.h
51
void process_64(FILE *fp, int as_text, int as_bin,
arch/mips/boot/tools/relocs_main.c
33
FILE *fp;
arch/mips/tools/elf-entry.c
36
FILE *file;
arch/mips/tools/loongson3-llsc-check.c
58
static void usage(FILE *f)
arch/mips/vdso/genvdso.c
69
static FILE *out_file;
arch/s390/tools/relocs.c
118
static void read_ehdr(FILE *fp)
arch/s390/tools/relocs.c
182
static void read_shdrs(FILE *fp)
arch/s390/tools/relocs.c
219
static void read_relocs(FILE *fp)
arch/s390/tools/relocs.c
348
static void process(FILE *fp)
arch/s390/tools/relocs.c
365
FILE *fp;
arch/sparc/boot/piggyback.c
103
FILE *map;
arch/sparc/vdso/vdso2c.c
120
FILE *outfile, const char *name)
arch/sparc/vdso/vdso2c.c
160
FILE *outfile;
arch/sparc/vdso/vdso2c.h
13
FILE *outfile, const char *name)
arch/um/os-Linux/start_up.c
397
FILE *cpuinfo;
arch/x86/boot/compressed/mkpiggy.c
23
FILE *f = NULL;
arch/x86/tools/insn_decoder_test.c
58
static void dump_field(FILE *fp, const char *name, const char *indent,
arch/x86/tools/insn_decoder_test.c
69
static void dump_insn(FILE *fp, struct insn *insn)
arch/x86/tools/insn_sanity.c
36
static FILE *input_file; /* Input file name */
arch/x86/tools/insn_sanity.c
52
static void dump_field(FILE *fp, const char *name, const char *indent,
arch/x86/tools/insn_sanity.c
63
static void dump_insn(FILE *fp, struct insn *insn)
arch/x86/tools/insn_sanity.c
81
static void dump_stream(FILE *fp, const char *msg, unsigned long nr_iter,
arch/x86/tools/relocs.c
1052
void process(FILE *fp, int use_real_mode, int as_text,
arch/x86/tools/relocs.c
346
static void read_ehdr(FILE *fp)
arch/x86/tools/relocs.c
411
static void read_shdrs(FILE *fp)
arch/x86/tools/relocs.c
445
static void read_strtabs(FILE *fp)
arch/x86/tools/relocs.c
467
static void read_symtabs(FILE *fp)
arch/x86/tools/relocs.c
521
static void read_relocs(FILE *fp)
arch/x86/tools/relocs.c
939
static int write32(uint32_t v, FILE *f)
arch/x86/tools/relocs.c
948
static int write32_as_text(uint32_t v, FILE *f)
arch/x86/tools/relocs.c
956
int (*write_reloc)(uint32_t, FILE *) = write32;
arch/x86/tools/relocs.h
33
void process_32(FILE *fp, int use_real_mode, int as_text,
arch/x86/tools/relocs.h
36
void process_64(FILE *fp, int use_real_mode, int as_text,
arch/x86/tools/relocs_common.c
24
FILE *fp;
arch/x86/tools/vdso2c.c
153
FILE *outfile, const char *name)
arch/x86/tools/vdso2c.c
192
FILE *outfile;
arch/x86/tools/vdso2c.h
27
FILE *outfile, ELF(Shdr) *sec, const char *name)
arch/x86/tools/vdso2c.h
45
FILE *outfile, const char *image_name)
arch/x86/tools/vdso2c.h
8
static void BITSFUNC(copy)(FILE *outfile, const unsigned char *data, size_t len)
certs/extract-cert.c
150
FILE *f = fopen(cert_dst, "wb");
drivers/accel/ivpu/ivpu_drv.c
153
ivpu_dbg(vdev, FILE, "file_priv unbind: ctx %u\n", file_priv->ctx.id);
drivers/accel/ivpu/ivpu_drv.c
169
ivpu_dbg(vdev, FILE, "file_priv release: ctx %u bound %d\n",
drivers/accel/ivpu/ivpu_drv.c
353
ivpu_dbg(vdev, FILE, "file_priv create: ctx %u process %s pid %d\n",
drivers/accel/ivpu/ivpu_drv.c
375
ivpu_dbg(vdev, FILE, "file_priv close: ctx %u process %s pid %d\n",
drivers/accessibility/speakup/utils.h
27
FILE *infile;
drivers/acpi/acpica/acapps.h
88
u8 ac_is_file_binary(FILE * file);
drivers/acpi/acpica/acapps.h
90
acpi_status ac_validate_table_header(FILE * file, long table_offset);
drivers/acpi/acpica/acconvert.h
68
void cv_init_file_tree(struct acpi_table_header *table, FILE * root_file);
drivers/acpi/acpica/acutils.h
70
FILE *output_file = acpi_gbl_output_file; \
drivers/acpi/acpica/utprint.c
672
int vfprintf(FILE * file, const char *format, va_list args)
drivers/acpi/acpica/utprint.c
700
int fprintf(FILE * file, const char *format, ...)
drivers/comedi/drivers/ni_routing/tools/convert_c_to_py.c
141
FILE *fp = fopen("ni_values.py", "w");
drivers/comedi/drivers/ni_routing/tools/convert_c_to_py.c
36
void family_write(const struct family_route_values *rv, FILE *fp)
drivers/comedi/drivers/ni_routing/tools/convert_c_to_py.c
99
void device_write(const struct ni_device_routes *dR, FILE *fp)
drivers/gpu/drm/radeon/mkregtable.c
191
FILE *file;
drivers/gpu/drm/xe/xe_gen_wa_oob.c
171
FILE *f;
drivers/gpu/drm/xe/xe_gen_wa_oob.c
31
static void print_usage(FILE *f, const char *progname)
drivers/gpu/drm/xe/xe_gen_wa_oob.c
55
static int parse(FILE *input, FILE *csource, FILE *cheader, char *prefix)
drivers/scsi/aic7xxx/aicasm/aicasm.c
111
extern FILE *yyin;
drivers/scsi/aic7xxx/aicasm/aicasm.c
522
FILE *ifile;
drivers/scsi/aic7xxx/aicasm/aicasm.c
89
FILE *ofile;
drivers/scsi/aic7xxx/aicasm/aicasm.c
92
FILE *regfile;
drivers/scsi/aic7xxx/aicasm/aicasm.c
94
FILE *listfile;
drivers/scsi/aic7xxx/aicasm/aicasm.c
96
FILE *regdiagfile;
drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c
329
aic_print_file_prologue(FILE *ofile)
drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c
345
aic_print_include(FILE *dfile, char *include_file)
drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c
354
aic_print_reg_dump_types(FILE *ofile)
drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c
371
aic_print_reg_dump_start(FILE *dfile, symbol_node_t *regnode)
drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c
383
aic_print_reg_dump_end(FILE *ofile, FILE *dfile,
drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c
440
aic_print_reg_dump_entry(FILE *dfile, symbol_node_t *curnode)
drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c
461
symtable_dump(FILE *ofile, FILE *dfile)
drivers/scsi/aic7xxx/aicasm/aicasm_symbol.h
205
void symtable_dump(FILE *ofile, FILE *dfile);
drivers/tty/vt/conmakehash.c
78
FILE *ctbl;
drivers/video/logo/pnmtologo.c
114
static unsigned int get_number255(FILE *fp, unsigned int maxval)
drivers/video/logo/pnmtologo.c
123
FILE *fp;
drivers/video/logo/pnmtologo.c
22
static FILE *out;
drivers/video/logo/pnmtologo.c
78
static unsigned int get_number(FILE *fp)
drivers/zorro/gen-devlist.c
18
pq(FILE *f, const char *c)
drivers/zorro/gen-devlist.c
37
FILE *devf;
fs/binfmt_elf.c
1675
fill_note(note, FILE, size, data);
fs/nfs/delegation.c
493
dfprintk(FILE, "%s: server %s handed out "
fs/nfs/dir.c
117
dfprintk(FILE, "NFS: open dir(%pD2)\n", filp);
fs/nfs/dir.c
1233
dfprintk(FILE, "NFS: readdir(%pD2) starting at cookie %llu\n",
fs/nfs/dir.c
1321
dfprintk(FILE, "NFS: readdir(%pD2) returns %d\n", file, res);
fs/nfs/dir.c
1329
dfprintk(FILE, "NFS: llseek dir(%pD2, %lld, %d)\n",
fs/nfs/dir.c
1373
dfprintk(FILE, "NFS: fsync dir(%pD2) datasync %d\n", filp, datasync);
fs/nfs/direct.c
1008
dfprintk(FILE, "NFS: direct write(%pD2, %zd@%Ld)\n",
fs/nfs/direct.c
444
dfprintk(FILE, "NFS: direct read(%pD2, %zd@%Ld)\n",
fs/ntfs/layout.h
187
#define ntfs_is_file_record(x) (ntfs_is_magic(x, FILE))
fs/ntfs/layout.h
188
#define ntfs_is_file_recordp(p) (ntfs_is_magicp(p, FILE))
fs/unicode/mkutf8data.c
1933
FILE *file;
fs/unicode/mkutf8data.c
2054
FILE *file;
fs/unicode/mkutf8data.c
2118
FILE *file;
fs/unicode/mkutf8data.c
2179
FILE *file;
fs/unicode/mkutf8data.c
2235
FILE *file;
fs/unicode/mkutf8data.c
2304
FILE *file;
fs/unicode/mkutf8data.c
3214
FILE *file;
fs/unicode/mkutf8data.c
3277
FILE *file;
include/acpi/platform/acenv.h
359
#define ACPI_FILE FILE *
samples/bpf/hbm.c
216
FILE *fin;
samples/bpf/hbm.c
309
FILE *fout;
samples/bpf/hbm.c
328
FILE *fout;
samples/bpf/hbm.c
77
FILE *outf;
samples/bpf/sock_example.c
105
FILE *f;
samples/bpf/sockex1_user.c
18
FILE *f;
samples/bpf/sockex2_user.c
23
FILE *f;
samples/bpf/sockex3_user.c
31
FILE *f;
samples/bpf/trace_output_user.c
52
FILE *f;
samples/bpf/tracex1_user.c
13
FILE *f;
samples/bpf/tracex5_user.c
43
FILE *f;
samples/cgroup/memcg_event_listener.c
100
FILE *fp = fopen(events->path, "re");
samples/check-exec/inc.c
114
FILE *script_file = NULL;
samples/check-exec/inc.c
75
static int interpret_stream(FILE *script, char *const script_name,
samples/connector/ucon.c
105
FILE *out;
scripts/asn1_compiler.c
1256
static void render_element(FILE *out, struct element *e, struct element *tag);
scripts/asn1_compiler.c
1257
static void render_out_of_line_list(FILE *out);
scripts/asn1_compiler.c
1264
static void render_opcode(FILE *out, const char *fmt, ...)
scripts/asn1_compiler.c
1278
static void render_more(FILE *out, const char *fmt, ...)
scripts/asn1_compiler.c
1292
static void render(FILE *out, FILE *hdr)
scripts/asn1_compiler.c
1392
static void render_out_of_line_list(FILE *out)
scripts/asn1_compiler.c
1439
static void render_element(FILE *out, struct element *e, struct element *tag)
scripts/asn1_compiler.c
555
static void render(FILE *out, FILE *hdr);
scripts/asn1_compiler.c
564
FILE *out, *hdr;
scripts/dtc/data.c
79
struct data data_copy_file(FILE *f, size_t maxlen)
scripts/dtc/dtc-parser.y
326
FILE *f = srcfile_relative_open($4.val, NULL);
scripts/dtc/dtc-parser.y
342
FILE *f = srcfile_relative_open($4.val, NULL);
scripts/dtc/dtc.c
138
FILE *f;
scripts/dtc/dtc.c
174
FILE *outf = NULL;
scripts/dtc/dtc.h
172
struct data data_copy_file(FILE *f, size_t len);
scripts/dtc/dtc.h
356
void dt_to_blob(FILE *f, struct dt_info *dti, int version);
scripts/dtc/dtc.h
357
void dt_to_asm(FILE *f, struct dt_info *dti, int version);
scripts/dtc/dtc.h
366
void dt_to_source(FILE *f, struct dt_info *dti);
scripts/dtc/dtc.h
371
void dt_to_yaml(FILE *f, struct dt_info *dti);
scripts/dtc/flattree.c
102
static void emit_label(FILE *f, const char *prefix, const char *label)
scripts/dtc/flattree.c
109
static void emit_offset_label(FILE *f, const char *label, int offset)
scripts/dtc/flattree.c
125
FILE *f = e;
scripts/dtc/flattree.c
135
FILE *f = e;
scripts/dtc/flattree.c
145
FILE *f = e;
scripts/dtc/flattree.c
152
FILE *f = e;
scripts/dtc/flattree.c
174
FILE *f = e;
scripts/dtc/flattree.c
187
FILE *f = e;
scripts/dtc/flattree.c
200
FILE *f = e;
scripts/dtc/flattree.c
346
void dt_to_blob(FILE *f, struct dt_info *dti, int version)
scripts/dtc/flattree.c
433
static void dump_stringtable_asm(FILE *f, struct data strbuf)
scripts/dtc/flattree.c
447
void dt_to_asm(FILE *f, struct dt_info *dti, int version)
scripts/dtc/flattree.c
795
FILE *f;
scripts/dtc/fstree.c
38
FILE *pfile;
scripts/dtc/srcpos.c
122
static char *try_open(const char *dirname, const char *fname, FILE **fp)
scripts/dtc/srcpos.c
149
static char *fopen_any_on_path(const char *fname, FILE **fp)
scripts/dtc/srcpos.c
168
FILE *srcfile_relative_open(const char *fname, char **fullnamep)
scripts/dtc/srcpos.c
170
FILE *f;
scripts/dtc/srcpos.c
43
FILE *depfile; /* = NULL */
scripts/dtc/srcpos.h
14
FILE *f;
scripts/dtc/srcpos.h
21
extern FILE *depfile; /* = NULL */
scripts/dtc/srcpos.h
43
FILE *srcfile_relative_open(const char *fname, char **fullnamep);
scripts/dtc/treesource.c
102
static void write_propval_int(FILE *f, const char *p, size_t len, size_t width)
scripts/dtc/treesource.c
277
static void write_propval(FILE *f, struct property *prop)
scripts/dtc/treesource.c
34
static void write_prefix(FILE *f, int level)
scripts/dtc/treesource.c
370
static void write_tree_source_node(FILE *f, struct node *tree, int level)
scripts/dtc/treesource.c
417
void dt_to_source(FILE *f, struct dt_info *dti)
scripts/dtc/treesource.c
49
static void write_propval_string(FILE *f, const char *s, size_t len)
scripts/dtc/treesource.c
9
extern FILE *yyin;
scripts/dtc/util.c
26
void fprint_path_escaped(FILE *fp, const char *path)
scripts/dtc/util.c
447
FILE *fp = errmsg ? stderr : stdout;
scripts/dtc/util.h
48
void fprint_path_escaped(FILE *fp, const char *path);
scripts/dtc/yamltree.c
207
void dt_to_yaml(FILE *f, struct dt_info *dti)
scripts/gendwarfksyms/gendwarfksyms.c
57
FILE *symfile = arg;
scripts/gendwarfksyms/gendwarfksyms.c
94
FILE *symfile = NULL;
scripts/gendwarfksyms/gendwarfksyms.h
126
int symbol_read_exports(FILE *file);
scripts/gendwarfksyms/gendwarfksyms.h
274
void generate_symtypes_and_versions(FILE *file);
scripts/gendwarfksyms/symbols.c
132
int symbol_read_exports(FILE *file)
scripts/gendwarfksyms/types.c
192
static void type_map_write(FILE *file)
scripts/gendwarfksyms/types.c
559
void generate_symtypes_and_versions(FILE *file)
scripts/gendwarfksyms/types.c
56
static void type_list_write(struct list_head *list, FILE *file)
scripts/genksyms/genksyms.c
28
static FILE *debugfile;
scripts/genksyms/genksyms.c
412
static struct string_list *read_node(FILE *f)
scripts/genksyms/genksyms.c
460
static void read_reference(FILE *f)
scripts/genksyms/genksyms.c
496
static void print_node(FILE * f, struct string_list *list)
scripts/genksyms/genksyms.c
505
static void print_list(FILE * f, struct string_list *list)
scripts/genksyms/genksyms.c
56
static void print_list(FILE * f, struct string_list *list);
scripts/genksyms/genksyms.c
740
FILE *dumpfile = NULL, *ref_file = NULL;
scripts/insert-sys-cert.c
282
FILE *system_map;
scripts/insert-sys-cert.c
93
static void get_symbol_from_map(Elf_Ehdr *hdr, FILE *f, char *name,
scripts/ipe/polgen/polgen.c
24
FILE *fd;
scripts/ipe/polgen/polgen.c
64
FILE *fd;
scripts/kallsyms.c
115
static struct sym_entry *read_symbol(FILE *in, char **buf, size_t *buf_len)
scripts/kallsyms.c
250
FILE *fp;
scripts/kconfig/conf.c
78
static void xfgets(char *str, int size, FILE *in)
scripts/kconfig/confdata.c
1021
FILE *out;
scripts/kconfig/confdata.c
1135
void (*print_symbol)(FILE *, struct symbol *),
scripts/kconfig/confdata.c
1139
FILE *file;
scripts/kconfig/confdata.c
373
static ssize_t getline_stripped(char **lineptr, size_t *n, FILE *stream)
scripts/kconfig/confdata.c
394
FILE *in = NULL;
scripts/kconfig/confdata.c
622
static void conf_write_heading(FILE *fp, const struct comment_style *cs)
scripts/kconfig/confdata.c
682
static void __print_symbol(FILE *fp, struct symbol *sym, enum output_n output_n,
scripts/kconfig/confdata.c
710
static void print_symbol_for_dotconfig(FILE *fp, struct symbol *sym)
scripts/kconfig/confdata.c
715
static void print_symbol_for_autoconf(FILE *fp, struct symbol *sym)
scripts/kconfig/confdata.c
725
static void print_symbol_for_c(FILE *fp, struct symbol *sym)
scripts/kconfig/confdata.c
767
static void print_symbol_for_rustccfg(FILE *fp, struct symbol *sym)
scripts/kconfig/confdata.c
835
FILE *out;
scripts/kconfig/confdata.c
893
FILE *out;
scripts/kconfig/expr.c
1112
void expr_fprint(struct expr *e, FILE *out)
scripts/kconfig/expr.h
313
void expr_fprint(struct expr *e, FILE *out);
scripts/kconfig/lkc.h
34
void zconfdump(FILE *out);
scripts/kconfig/lkc.h
36
FILE *zconf_fopen(const char *name);
scripts/kconfig/lkc.h
45
static inline void xfwrite(const void *str, size_t len, size_t count, FILE *out)
scripts/kconfig/parser.y
651
static void print_quoted_string(FILE *out, const char *str)
scripts/kconfig/parser.y
668
static void print_symbol(FILE *out, const struct menu *menu)
scripts/kconfig/parser.y
752
void zconfdump(FILE *out)
scripts/kconfig/preprocess.c
148
FILE *p;
scripts/mod/modpost.c
1672
FILE *in = stdin;
scripts/mod/modpost.c
2049
FILE *file;
scripts/mod/modpost.c
2072
FILE *file;
scripts/selinux/mdp/mdp.c
44
FILE *fout;
scripts/sorttable.c
314
FILE *fp;
scripts/unifdef.c
182
static FILE *input; /* input file pointer */
scripts/unifdef.c
185
static FILE *output; /* output file pointer */
security/selinux/genheaders.c
45
FILE *fout;
tools/accounting/delaytop.c
502
FILE *fp;
tools/accounting/delaytop.c
635
FILE *fp;
tools/accounting/delaytop.c
872
FILE *out = stdout;
tools/arch/x86/intel_sdsi/intel_sdsi.c
219
FILE *regs_ptr;
tools/arch/x86/intel_sdsi/intel_sdsi.c
343
FILE *cert_ptr;
tools/arch/x86/intel_sdsi/intel_sdsi.c
434
FILE *cert_ptr;
tools/arch/x86/intel_sdsi/intel_sdsi.c
653
FILE *fp;
tools/arch/x86/kcpuid/kcpuid.c
431
FILE *file;
tools/bpf/bpf_asm.c
26
extern void bpf_asm_compile(FILE *fp, bool cstyle);
tools/bpf/bpf_asm.c
30
FILE *fp = stdin;
tools/bpf/bpf_dbg.c
1318
static void init_shell(FILE *fin, FILE *fout)
tools/bpf/bpf_dbg.c
1350
static void exit_shell(FILE *fin, FILE *fout)
tools/bpf/bpf_dbg.c
1368
static int run_shell_loop(FILE *fin, FILE *fout)
tools/bpf/bpf_dbg.c
1390
FILE *fin = NULL, *fout = NULL;
tools/bpf/bpf_exp.y
37
extern FILE *yyin;
tools/bpf/bpf_exp.y
42
extern void bpf_asm_compile(FILE *fp, bool cstyle);
tools/bpf/bpf_exp.y
646
void bpf_asm_compile(FILE *fp, bool cstyle)
tools/bpf/bpftool/cgroup.c
475
FILE *f;
tools/bpf/bpftool/common.c
491
FILE *fdi;
tools/bpf/bpftool/common.c
599
FILE *mntfile = NULL;
tools/bpf/bpftool/feature.c
172
FILE *fd;
tools/bpf/bpftool/gen.c
2003
FILE *f = NULL;
tools/bpf/bpftool/json_writer.c
22
FILE *out; /* output file */
tools/bpf/bpftool/json_writer.c
90
json_writer_t *jsonw_new(FILE *f)
tools/bpf/bpftool/json_writer.h
24
json_writer_t *jsonw_new(FILE *f);
tools/bpf/bpftool/main.c
265
void fprint_hex(FILE *f, void *arg, unsigned int n, const char *sep)
tools/bpf/bpftool/main.c
340
FILE *fp;
tools/bpf/bpftool/main.h
103
void fprint_hex(FILE *f, void *arg, unsigned int n, const char *sep);
tools/bpf/bpftool/prog.c
1125
FILE *file = mode == TRACE_STDOUT ? stdout : stderr;
tools/bpf/bpftool/prog.c
1180
FILE *f;
tools/bpf/bpftool/prog.c
1244
static void hex_print(void *data, unsigned int size, FILE *f)
tools/bpf/bpftool/prog.c
1278
FILE *f;
tools/bpf/bpftool/token.c
148
FILE *fp;
tools/bpf/bpftool/tracelog.c
24
FILE *trace_pipe_fd;
tools/bpf/bpftool/tracelog.c
68
FILE *fp;
tools/bpf/bpftool/xlated_dumper.c
31
FILE *fp;
tools/bpf/resolve_btfids/main.c
1366
FILE *btfids_file;
tools/bpf/resolve_btfids/main.c
813
FILE *file;
tools/firewire/nosy-dump.c
901
FILE *output = NULL, *input = NULL;
tools/hv/hv_kvp_daemon.c
1067
FILE *file;
tools/hv/hv_kvp_daemon.c
1200
static int kvp_write_file(FILE *f, char *s1, char *s2, char *s3)
tools/hv/hv_kvp_daemon.c
1213
static int process_ip_string(FILE *f, char *ip_string, int type)
tools/hv/hv_kvp_daemon.c
1329
static int process_dns_gateway_nm(FILE *f, char *ip_string, int type,
tools/hv/hv_kvp_daemon.c
1390
static int process_ip_string_nm(FILE *f, char *ip_string, char *subnet,
tools/hv/hv_kvp_daemon.c
1440
FILE *ifcfg_file, *nmfile;
tools/hv/hv_kvp_daemon.c
160
FILE *filep;
tools/hv/hv_kvp_daemon.c
204
FILE *filep;
tools/hv/hv_kvp_daemon.c
477
FILE *file;
tools/hv/hv_kvp_daemon.c
617
FILE *file;
tools/hv/hv_kvp_daemon.c
667
FILE *file;
tools/hv/hv_kvp_daemon.c
702
FILE *file;
tools/hv/hv_kvp_daemon.c
777
FILE *f;
tools/hv/hv_kvp_daemon.c
815
FILE *file;
tools/hv/hv_vss_daemon.c
116
FILE *mounts;
tools/iio/iio_utils.c
222
FILE *sysfsfp;
tools/iio/iio_utils.c
319
FILE *sysfsfp;
tools/iio/iio_utils.c
565
FILE *namefp;
tools/iio/iio_utils.c
656
FILE *sysfsfp;
tools/iio/iio_utils.c
753
FILE *sysfsfp;
tools/iio/iio_utils.c
860
FILE *sysfsfp;
tools/iio/iio_utils.c
907
FILE *sysfsfp;
tools/iio/iio_utils.c
92
FILE *sysfsfp;
tools/iio/iio_utils.c
954
FILE *sysfsfp;
tools/include/nolibc/getopt.h
14
struct FILE;
tools/include/nolibc/getopt.h
15
static struct FILE *const stderr;
tools/include/nolibc/getopt.h
16
static int fprintf(struct FILE *stream, const char *fmt, ...);
tools/include/nolibc/stdio.h
100
int fflush(FILE *stream)
tools/include/nolibc/stdio.h
116
int fclose(FILE *stream)
tools/include/nolibc/stdio.h
136
int fgetc(FILE* stream)
tools/include/nolibc/stdio.h
157
int fputc(int c, FILE* stream)
tools/include/nolibc/stdio.h
179
int _fwrite(const void *buf, size_t size, FILE *stream)
tools/include/nolibc/stdio.h
195
size_t fwrite(const void *s, size_t size, size_t nmemb, FILE *stream)
tools/include/nolibc/stdio.h
211
int _fread(void *buf, size_t size, FILE *stream)
tools/include/nolibc/stdio.h
227
size_t fread(void *s, size_t size, size_t nmemb, FILE *stream)
tools/include/nolibc/stdio.h
240
int fputs(const char *s, FILE *stream)
tools/include/nolibc/stdio.h
256
char *fgets(char *s, int size, FILE *stream)
tools/include/nolibc/stdio.h
277
int fseek(FILE *stream, long offset, int whence)
tools/include/nolibc/stdio.h
44
static __attribute__((unused)) FILE* const stdin = (FILE*)(intptr_t)~STDIN_FILENO;
tools/include/nolibc/stdio.h
45
static __attribute__((unused)) FILE* const stdout = (FILE*)(intptr_t)~STDOUT_FILENO;
tools/include/nolibc/stdio.h
46
static __attribute__((unused)) FILE* const stderr = (FILE*)(intptr_t)~STDERR_FILENO;
tools/include/nolibc/stdio.h
50
FILE *fdopen(int fd, const char *mode __attribute__((unused)))
tools/include/nolibc/stdio.h
56
return (FILE*)(intptr_t)~fd;
tools/include/nolibc/stdio.h
60
FILE *fopen(const char *pathname, const char *mode)
tools/include/nolibc/stdio.h
656
int vfprintf(FILE *stream, const char *fmt, va_list args)
tools/include/nolibc/stdio.h
668
int fprintf(FILE *stream, const char *fmt, ...)
tools/include/nolibc/stdio.h
694
FILE *stream;
tools/include/nolibc/stdio.h
87
int fileno(FILE *stream)
tools/include/nolibc/stdio.h
957
int setvbuf(FILE *stream __attribute__((unused)),
tools/lib/api/fd/array.c
141
int fdarray__fprintf(struct fdarray *fda, FILE *fp)
tools/lib/api/fd/array.h
52
int fdarray__fprintf(struct fdarray *fda, FILE *fp);
tools/lib/api/fs/cgroup.c
21
FILE *fp;
tools/lib/api/fs/fs.c
157
FILE *fp;
tools/lib/bpf/btf.c
1563
FILE *f = NULL;
tools/lib/bpf/libbpf.c
11611
FILE *f;
tools/lib/bpf/libbpf.c
12143
FILE *f;
tools/lib/bpf/libbpf.c
12219
FILE *f;
tools/lib/bpf/libbpf.c
2354
FILE *file;
tools/lib/bpf/libbpf.c
4964
FILE *fp;
tools/lib/bpf/libbpf.c
8603
FILE *f;
tools/lib/bpf/libbpf_probes.c
36
FILE *f;
tools/lib/bpf/usdt.c
475
FILE *f;
tools/lib/subcmd/run-command.c
245
FILE *status_file;
tools/mm/page-types.c
494
flags |= BIT(FILE);
tools/mm/page-types.c
892
FILE *file;
tools/mm/page_owner_sort.c
106
int read_block(char *buf, char *ext_buf, int buf_size, FILE *fin)
tools/mm/page_owner_sort.c
622
static void print_allocator(FILE *out, int allocator)
tools/mm/page_owner_sort.c
665
FILE *fin, *fout;
tools/mm/slabinfo.c
159
FILE *f = fopen(name, "r");
tools/mm/slabinfo.c
210
FILE *f;
tools/mm/slabinfo.c
224
FILE *f;
tools/mm/slabinfo.c
243
FILE *f;
tools/mm/thp_swap_allocator_test.c
100
FILE *file;
tools/net/ynl/ynltool/json_writer.c
22
FILE *out;
tools/net/ynl/ynltool/json_writer.c
83
json_writer_t *jsonw_new(FILE *f)
tools/net/ynl/ynltool/json_writer.h
23
json_writer_t *jsonw_new(FILE *f);
tools/objtool/disas.c
431
static int disas_vprint(FILE *stream, struct section *sec, unsigned long offset,
tools/objtool/disas.c
465
static int disas_print(FILE *stream, struct section *sec, unsigned long offset,
tools/objtool/disas.c
484
void disas_print_info(FILE *stream, struct instruction *insn, int depth,
tools/objtool/disas.c
508
void disas_print_insn(FILE *stream, struct disas_context *dctx,
tools/objtool/include/objtool/disas.h
24
void disas_print_info(FILE *stream, struct instruction *insn, int depth,
tools/objtool/include/objtool/disas.h
26
void disas_print_insn(FILE *stream, struct disas_context *dctx,
tools/objtool/include/objtool/disas.h
64
static inline void disas_print_info(FILE *stream, struct instruction *insn,
tools/objtool/include/objtool/disas.h
66
static inline void disas_print_insn(FILE *stream, struct disas_context *dctx,
tools/objtool/klp-diff.c
91
FILE *file;
tools/objtool/signal.c
66
FILE *fp;
tools/perf/arch/arm64/util/header.c
19
FILE *file;
tools/perf/arch/loongarch/util/header.c
47
FILE *file;
tools/perf/arch/riscv/util/header.c
45
FILE *cpuinfo;
tools/perf/arch/s390/util/header.c
38
FILE *sysinfo;
tools/perf/arch/x86/tests/amd-ibs-period.c
894
FILE *fp;
tools/perf/arch/x86/util/iostat.c
76
static void iio_root_port_show(FILE *output,
tools/perf/arch/x86/util/tsc.c
30
FILE *cpuinfo;
tools/perf/bench/uprobe.c
112
static int bench_uprobe_format__default_fprintf(const char *name, const char *unit, u64 diff, FILE *fp)
tools/perf/builtin-buildid-cache.c
299
static int build_id_cache__fprintf_missing(struct perf_session *session, FILE *fp)
tools/perf/builtin-buildid-list.c
58
static int sysfs__fprintf_build_id(FILE *fp)
tools/perf/builtin-buildid-list.c
70
static int filename__fprintf_build_id(const char *name, FILE *fp)
tools/perf/builtin-c2c.c
2428
static void print_c2c__display_stats(FILE *out)
tools/perf/builtin-c2c.c
2475
static void print_shared_cacheline_info(FILE *out)
tools/perf/builtin-c2c.c
2501
FILE *out)
tools/perf/builtin-c2c.c
2525
static void print_pareto(FILE *out, struct perf_env *env)
tools/perf/builtin-c2c.c
2569
static void print_c2c_info(FILE *out, struct perf_session *session)
tools/perf/builtin-c2c.c
2588
static void perf_c2c__hists_fprintf(FILE *out, struct perf_session *session)
tools/perf/builtin-config.c
43
FILE *fp;
tools/perf/builtin-daemon.c
1364
FILE *in = NULL;
tools/perf/builtin-daemon.c
671
static int cmd_session_list(struct daemon *daemon, union cmd *cmd, FILE *out)
tools/perf/builtin-daemon.c
762
static int cmd_session_kill(struct daemon *daemon, union cmd *cmd, FILE *out)
tools/perf/builtin-daemon.c
785
static int cmd_session_ping(struct daemon *daemon, union cmd *cmd, FILE *out)
tools/perf/builtin-daemon.c
811
FILE *out = NULL;
tools/perf/builtin-daemon.c
93
FILE *out;
tools/perf/builtin-ftrace.c
243
FILE *fp;
tools/perf/builtin-list.c
128
FILE *fp = print_state->fp;
tools/perf/builtin-list.c
210
FILE *fp = print_state->fp;
tools/perf/builtin-list.c
295
FILE *fp = print_state->common.fp;
tools/perf/builtin-list.c
303
FILE *fp = print_state->common.fp;
tools/perf/builtin-list.c
308
static void fix_escape_fprintf(FILE *fp, struct strbuf *buf, const char *fmt, ...)
tools/perf/builtin-list.c
36
FILE *fp;
tools/perf/builtin-list.c
373
FILE *fp = print_state->common.fp;
tools/perf/builtin-list.c
466
FILE *fp = print_state->common.fp;
tools/perf/builtin-list.c
90
static void wordwrap(FILE *fp, const char *s, int start, int max, int corr)
tools/perf/builtin-lock.c
64
static FILE *lock_output;
tools/perf/builtin-report.c
1031
static int tasks_print(struct report *rep, FILE *fp)
tools/perf/builtin-report.c
474
const char *evname, FILE *fp)
tools/perf/builtin-report.c
852
FILE *fp;
tools/perf/builtin-report.c
887
static size_t maps__fprintf_task(struct maps *maps, int indent, FILE *fp)
tools/perf/builtin-report.c
921
static void task__print_level(struct machine *machine, struct thread *thread, FILE *fp)
tools/perf/builtin-sched.c
3111
static size_t callchain__fprintf_folded(FILE *fp, struct callchain_node *node)
tools/perf/builtin-sched.c
3142
FILE *fp = stdout;
tools/perf/builtin-sched.c
3861
FILE *fp;
tools/perf/builtin-sched.c
3884
FILE *fp;
tools/perf/builtin-script.c
1022
struct evsel *evsel, FILE *fp)
tools/perf/builtin-script.c
1060
struct evsel *evsel, FILE *fp)
tools/perf/builtin-script.c
1166
static int map__fprintf_srccode(struct map *map, u64 addr, FILE *fp, struct srccode_state *state)
tools/perf/builtin-script.c
1230
FILE *fp)
tools/perf/builtin-script.c
1243
static int add_padding(FILE *fp, int printed, int padding)
tools/perf/builtin-script.c
1252
int insn, FILE *fp, int *total_cycles,
tools/perf/builtin-script.c
1324
struct evsel *evsel, FILE *fp)
tools/perf/builtin-script.c
1366
struct machine *machine, FILE *fp)
tools/perf/builtin-script.c
1526
struct evsel *evsel, FILE *fp)
tools/perf/builtin-script.c
1586
FILE *fp)
tools/perf/builtin-script.c
1635
struct machine *machine, FILE *fp,
tools/perf/builtin-script.c
1659
struct evsel *evsel, FILE *fp)
tools/perf/builtin-script.c
1677
struct machine *machine, FILE *fp)
tools/perf/builtin-script.c
1738
static int perf_sample__fprintf_flags(u32 flags, FILE *fp)
tools/perf/builtin-script.c
1759
void *extra, FILE *fp)
tools/perf/builtin-script.c
1818
static int perf_sample__fprintf_bpf_output(struct perf_sample *sample, FILE *fp)
tools/perf/builtin-script.c
1831
static int perf_sample__fprintf_spacing(int len, int spacing, FILE *fp)
tools/perf/builtin-script.c
1839
static int perf_sample__fprintf_pt_spacing(int len, FILE *fp)
tools/perf/builtin-script.c
1865
static int perf_sample__fprintf_synth_ptwrite(struct perf_sample *sample, FILE *fp)
tools/perf/builtin-script.c
1885
static int perf_sample__fprintf_synth_mwait(struct perf_sample *sample, FILE *fp)
tools/perf/builtin-script.c
1898
static int perf_sample__fprintf_synth_pwre(struct perf_sample *sample, FILE *fp)
tools/perf/builtin-script.c
1911
static int perf_sample__fprintf_synth_exstop(struct perf_sample *sample, FILE *fp)
tools/perf/builtin-script.c
1923
static int perf_sample__fprintf_synth_pwrx(struct perf_sample *sample, FILE *fp)
tools/perf/builtin-script.c
1937
static int perf_sample__fprintf_synth_cbr(struct perf_sample *sample, FILE *fp)
tools/perf/builtin-script.c
1955
static int perf_sample__fprintf_synth_psb(struct perf_sample *sample, FILE *fp)
tools/perf/builtin-script.c
1968
static int perf_sample__fprintf_synth_evt(struct perf_sample *sample, FILE *fp)
tools/perf/builtin-script.c
2004
static int perf_sample__fprintf_synth_iflag_chg(struct perf_sample *sample, FILE *fp)
tools/perf/builtin-script.c
2017
static int perf_sample__fprintf_synth_vpadtl(struct perf_sample *data, FILE *fp)
tools/perf/builtin-script.c
2037
struct evsel *evsel, FILE *fp)
tools/perf/builtin-script.c
2081
static int data_src__fprintf(u64 data_src, FILE *fp)
tools/perf/builtin-script.c
2107
FILE *fp;
tools/perf/builtin-script.c
2291
FILE *fp)
tools/perf/builtin-script.c
2439
FILE *fp = es->fp;
tools/perf/builtin-script.c
2750
FILE *fp = es->fp;
tools/perf/builtin-script.c
345
FILE *fp;
tools/perf/builtin-script.c
3622
FILE *fp;
tools/perf/builtin-script.c
377
static int evsel_script__fprintf(struct evsel_script *es, FILE *fp)
tools/perf/builtin-script.c
724
FILE *fp)
tools/perf/builtin-script.c
798
FILE *fp)
tools/perf/builtin-script.c
811
FILE *fp)
tools/perf/builtin-script.c
824
u32 type, FILE *fp)
tools/perf/builtin-script.c
966
static int print_bstack_flags(FILE *fp, struct branch_entry *br)
tools/perf/builtin-script.c
983
struct evsel *evsel, FILE *fp)
tools/perf/builtin-stat.c
2621
FILE *output = stderr;
tools/perf/builtin-timechart.c
44
FILE *open_memstream(char **ptr, size_t *sizeloc);
tools/perf/builtin-timechart.c
506
FILE *f = open_memstream(&p, &p_len);
tools/perf/builtin-trace.c
1499
static size_t fprintf_duration(unsigned long t, bool calculated, FILE *fp)
tools/perf/builtin-trace.c
165
FILE *output;
tools/perf/builtin-trace.c
1866
static size_t __trace__fprintf_tstamp(struct trace *trace, u64 tstamp, FILE *fp)
tools/perf/builtin-trace.c
1879
static size_t trace__fprintf_tstamp(struct trace *trace, u64 tstamp, FILE *fp)
tools/perf/builtin-trace.c
1898
static size_t trace__fprintf_cpu(u32 cpu, FILE *fp)
tools/perf/builtin-trace.c
1924
static size_t trace__fprintf_comm_tid(struct trace *trace, struct thread *thread, FILE *fp)
tools/perf/builtin-trace.c
1939
u64 tstamp, u32 cpu, FILE *fp)
tools/perf/builtin-trace.c
3179
unsigned int val, void *extra __maybe_unused, FILE *fp)
tools/perf/builtin-trace.c
3397
static void print_location(FILE *f, struct perf_sample *sample,
tools/perf/builtin-trace.c
3608
static size_t trace__fprintf_thread_summary(struct trace *trace, FILE *fp);
tools/perf/builtin-trace.c
3609
static size_t trace__fprintf_total_summary(struct trace *trace, FILE *fp);
tools/perf/builtin-trace.c
4848
static size_t trace__fprintf_summary_header(FILE *fp)
tools/perf/builtin-trace.c
4898
static size_t syscall__dump_stats(struct trace *trace, int e_machine, FILE *fp,
tools/perf/builtin-trace.c
4963
struct trace *trace, int e_machine, FILE *fp)
tools/perf/builtin-trace.c
4968
static size_t system__dump_stats(struct trace *trace, int e_machine, FILE *fp)
tools/perf/builtin-trace.c
4973
static size_t trace__fprintf_thread(FILE *fp, struct thread *thread, struct trace *trace)
tools/perf/builtin-trace.c
5025
static size_t trace__fprintf_thread_summary(struct trace *trace, FILE *fp)
tools/perf/builtin-trace.c
5042
static size_t trace__fprintf_total_summary(struct trace *trace, FILE *fp)
tools/perf/jvmti/jvmti_agent.c
251
FILE *fp;
tools/perf/jvmti/jvmti_agent.c
334
FILE *fp = agent;
tools/perf/jvmti/jvmti_agent.c
365
FILE *fp = agent;
tools/perf/jvmti/jvmti_agent.c
424
FILE *fp = agent;
tools/perf/perf.c
43
static FILE *debug_fp = NULL;
tools/perf/tests/builtin-test.c
1238
FILE *fp;
tools/perf/tests/builtin-test.c
1417
static int perf_test__list(FILE *fp, struct test_suite **suites, int argc, const char **argv)
tools/perf/tests/builtin-test.c
1440
static int workloads__fprintf_list(FILE *fp)
tools/perf/tests/builtin-test.c
591
static void print_line_highlighted(FILE *fp, const char *line, size_t len)
tools/perf/tests/builtin-test.c
617
static void print_test_failure_snippet(FILE *fp, const char *buf)
tools/perf/tests/code-reading.c
189
static int read_objdump_output(FILE *f, void *buf, size_t *len, u64 start_addr)
tools/perf/tests/code-reading.c
250
FILE *f;
tools/perf/tests/code-reading.c
308
FILE *f;
tools/perf/tests/code-reading.c
659
FILE *f;
tools/perf/tests/fdarray.c
20
static int fdarray__fprintf_prefix(struct fdarray *fda, const char *prefix, FILE *fp)
tools/perf/tests/parse-events.c
2701
FILE *file;
tools/perf/tests/parse-events.c
2822
FILE *file;
tools/perf/tests/workloads/jitdump.c
102
static int write_jitdump(FILE *f, void *addr, const void *dat, size_t sz, uint64_t *idx)
tools/perf/tests/workloads/jitdump.c
125
static void close_jitdump(FILE *f)
tools/perf/tests/workloads/jitdump.c
169
FILE *f;
tools/perf/tests/workloads/jitdump.c
49
static FILE *open_jitdump(void)
tools/perf/tests/workloads/jitdump.c
66
FILE *f;
tools/perf/trace/beauty/perf_event_open.c
59
static int attr__fprintf(FILE *fp __maybe_unused, const char *name, const char *val, void *priv)
tools/perf/ui/browsers/header.c
102
FILE *fp = open_memstream(&ptr, &size);
tools/perf/ui/browsers/hists.c
2079
struct hist_entry *he, FILE *fp,
tools/perf/ui/browsers/hists.c
2093
struct hist_entry *he, FILE *fp)
tools/perf/ui/browsers/hists.c
2136
FILE *fp, int level)
tools/perf/ui/browsers/hists.c
2192
static int hist_browser__fprintf(struct hist_browser *browser, FILE *fp)
tools/perf/ui/browsers/hists.c
2219
FILE *fp;
tools/perf/ui/browsers/hists.c
2396
FILE *file;
tools/perf/ui/browsers/hists.c
779
FILE *fp;
tools/perf/ui/browsers/scripts.c
94
FILE *fp;
tools/perf/ui/stdio/hist.c
113
static size_t __callchain__fprintf_graph(FILE *fp, struct rb_root *root,
tools/perf/ui/stdio/hist.c
221
static size_t callchain__fprintf_graph(FILE *fp, struct rb_root *root,
tools/perf/ui/stdio/hist.c
23
static size_t callchain__fprintf_left_margin(FILE *fp, int left_margin)
tools/perf/ui/stdio/hist.c
286
static size_t __callchain__fprintf_flat(FILE *fp, struct callchain_node *node,
tools/perf/ui/stdio/hist.c
309
static size_t callchain__fprintf_flat(FILE *fp, struct rb_root *tree,
tools/perf/ui/stdio/hist.c
334
static size_t __callchain__fprintf_folded(FILE *fp, struct callchain_node *node)
tools/perf/ui/stdio/hist.c
360
static size_t callchain__fprintf_folded(FILE *fp, struct rb_root *tree,
tools/perf/ui/stdio/hist.c
37
static size_t ipchain__fprintf_graph_line(FILE *fp, int depth, int depth_mask,
tools/perf/ui/stdio/hist.c
387
FILE *fp)
tools/perf/ui/stdio/hist.c
464
FILE *fp)
tools/perf/ui/stdio/hist.c
54
static size_t ipchain__fprintf_graph(FILE *fp, struct callchain_node *node,
tools/perf/ui/stdio/hist.c
544
FILE *fp)
tools/perf/ui/stdio/hist.c
568
FILE *fp)
tools/perf/ui/stdio/hist.c
586
char *bf, size_t bfsz, FILE *fp,
tools/perf/ui/stdio/hist.c
624
const char *line, FILE *fp)
tools/perf/ui/stdio/hist.c
637
struct perf_hpp *hpp, FILE *fp)
tools/perf/ui/stdio/hist.c
746
int line, FILE *fp)
tools/perf/ui/stdio/hist.c
772
FILE *fp)
tools/perf/ui/stdio/hist.c
817
int hists__fprintf_headers(struct hists *hists, FILE *fp)
tools/perf/ui/stdio/hist.c
835
int max_cols, float min_pcnt, FILE *fp,
tools/perf/ui/stdio/hist.c
917
size_t events_stats__fprintf(struct events_stats *stats, FILE *fp)
tools/perf/util/annotate.c
1358
static int symbol__annotate_fprintf2(struct symbol *sym, FILE *fp,
tools/perf/util/annotate.c
1399
FILE *fp;
tools/perf/util/annotate.c
1469
static size_t disasm_line__fprintf(struct disasm_line *dl, FILE *fp)
tools/perf/util/annotate.c
1486
size_t disasm__fprintf(struct list_head *head, FILE *fp)
tools/perf/util/annotate.h
222
size_t disasm__fprintf(struct list_head *head, FILE *fp);
tools/perf/util/auxtrace.c
1789
size_t perf_event__fprintf_auxtrace_error(union perf_event *event, FILE *fp)
tools/perf/util/auxtrace.h
627
size_t perf_event__fprintf_auxtrace_error(union perf_event *event, FILE *fp);
tools/perf/util/bpf-event.c
968
FILE *fp)
tools/perf/util/bpf-event.h
45
FILE *fp);
tools/perf/util/bpf-event.h
63
FILE *fp __maybe_unused)
tools/perf/util/bpf-trace-summary.c
142
static int print_common_stats(struct syscall_data *data, int max_summary, FILE *fp)
tools/perf/util/bpf-trace-summary.c
207
static int print_thread_stat(struct syscall_data *data, int max_summary, FILE *fp)
tools/perf/util/bpf-trace-summary.c
226
static int print_thread_stats(struct syscall_data **data, int nr_data, int max_summary, FILE *fp)
tools/perf/util/bpf-trace-summary.c
284
static int print_total_stats(struct syscall_data **data, int nr_data, int max_summary, FILE *fp)
tools/perf/util/bpf-trace-summary.c
343
static int print_cgroup_stat(struct syscall_data *data, int max_summary, FILE *fp)
tools/perf/util/bpf-trace-summary.c
367
static int print_cgroup_stats(struct syscall_data **data, int nr_data, int max_summary, FILE *fp)
tools/perf/util/bpf-trace-summary.c
377
int trace_print_bpf_summary(FILE *fp, int max_summary)
tools/perf/util/branch.c
112
void branch_type_stat_display(FILE *fp, const struct branch_type_stat *st)
tools/perf/util/branch.h
94
void branch_type_stat_display(FILE *fp, const struct branch_type_stat *st);
tools/perf/util/callchain.c
1299
FILE *fp, u64 total)
tools/perf/util/callchain.c
1498
static int callchain_counts_printf(FILE *fp, char *bf, int bfsize,
tools/perf/util/callchain.c
1518
FILE *fp, char *bf, int bfsize)
tools/perf/util/callchain.h
283
FILE *fp, u64 total);
tools/perf/util/callchain.h
286
FILE *fp, char *bf, int bfsize);
tools/perf/util/capstone.c
227
int print_opts, FILE *fp)
tools/perf/util/capstone.c
254
int *lenp, int print_opts, FILE *fp)
tools/perf/util/capstone.h
20
uint64_t ip, int *lenp, int print_opts, FILE *fp);
tools/perf/util/capstone.h
36
FILE *fp __maybe_unused)
tools/perf/util/color.c
114
int percent_color_fprintf(FILE *fp, const char *fmt, double percent)
tools/perf/util/color.c
39
static int __color_vfprintf(FILE *fp, const char *color, const char *fmt,
tools/perf/util/color.c
68
int color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args)
tools/perf/util/color.c
85
int color_fprintf(FILE *fp, const char *color, const char *fmt, ...)
tools/perf/util/color.h
36
int color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args);
tools/perf/util/color.h
37
int color_fprintf(FILE *fp, const char *color, const char *fmt, ...) __printf(3, 4);
tools/perf/util/color.h
42
int percent_color_fprintf(FILE *fp, const char *fmt, double percent);
tools/perf/util/compress.h
20
int lzma_decompress_stream_to_file(FILE *input, int output_fd);
tools/perf/util/compress.h
25
int lzma_decompress_stream_to_file(FILE *input __maybe_unused,
tools/perf/util/config.c
539
FILE *f = fopen(filename, "r");
tools/perf/util/config.c
59
static FILE *config_file;
tools/perf/util/config.c
70
FILE *f;
tools/perf/util/copyfile.c
19
FILE *from_fp, *to_fp;
tools/perf/util/cpumap.c
197
size_t cpu_map__fprintf(struct perf_cpu_map *map, FILE *fp)
tools/perf/util/cpumap.h
57
size_t cpu_map__fprintf(struct perf_cpu_map *map, FILE *fp);
tools/perf/util/cputopo.c
322
FILE *fp;
tools/perf/util/cputopo.c
37
FILE *fp;
tools/perf/util/cputopo.c
383
FILE *fp;
tools/perf/util/cputopo.c
441
FILE *fp;
tools/perf/util/data-convert-json.c
108
static void output_json_key_string(FILE *out, bool comma, int depth,
tools/perf/util/data-convert-json.c
119
static void output_json_key_format(FILE *out, bool comma, int depth,
tools/perf/util/data-convert-json.c
136
FILE *out = c->out;
tools/perf/util/data-convert-json.c
166
FILE *out = c->out;
tools/perf/util/data-convert-json.c
281
FILE *out = c->out;
tools/perf/util/data-convert-json.c
38
FILE *out;
tools/perf/util/data-convert-json.c
49
static void output_json_string(FILE *out, const char *s)
tools/perf/util/data-convert-json.c
84
static void output_json_delimiters(FILE *out, bool comma, int depth)
tools/perf/util/data-convert-json.c
97
static void output_json_format(FILE *out, bool comma, int depth, const char *format, ...)
tools/perf/util/data.c
566
FILE *file;
tools/perf/util/data.h
37
FILE *fptr;
tools/perf/util/debug.c
177
unsigned int val, void *extra, FILE *fp)
tools/perf/util/debug.c
309
void __dump_stack(FILE *file, void **stackdump, size_t stackdump_size)
tools/perf/util/debug.c
50
static FILE *_debug_file;
tools/perf/util/debug.c
54
FILE *debug_file(void)
tools/perf/util/debug.c
63
void debug_set_file(FILE *file)
tools/perf/util/debug.c
73
static int fprintf_time(FILE *file)
tools/perf/util/debug.h
82
FILE *debug_file(void);
tools/perf/util/debug.h
83
void debug_set_file(FILE *file);
tools/perf/util/debug.h
88
void __dump_stack(FILE *file, void **stackdump, size_t stackdump_size);
tools/perf/util/disasm.c
1405
FILE *file;
tools/perf/util/dso.c
1829
static size_t dso__fprintf_buildid(struct dso *dso, FILE *fp)
tools/perf/util/dso.c
1837
size_t dso__fprintf(struct dso *dso, FILE *fp)
tools/perf/util/dso.h
897
size_t dso__fprintf_symbols_by_name(struct dso *dso, FILE *fp);
tools/perf/util/dso.h
898
size_t dso__fprintf(struct dso *dso, FILE *fp);
tools/perf/util/dsos.c
353
FILE *fp;
tools/perf/util/dsos.c
371
size_t dsos__fprintf_buildid(struct dsos *dsos, FILE *fp,
tools/perf/util/dsos.c
386
FILE *fp;
tools/perf/util/dsos.c
398
size_t dsos__fprintf(struct dsos *dsos, FILE *fp)
tools/perf/util/dsos.h
39
size_t dsos__fprintf_buildid(struct dsos *dsos, FILE *fp,
tools/perf/util/dsos.h
41
size_t dsos__fprintf(struct dsos *dsos, FILE *fp);
tools/perf/util/event.c
182
size_t perf_event__fprintf_comm(union perf_event *event, FILE *fp)
tools/perf/util/event.c
194
size_t perf_event__fprintf_namespaces(union perf_event *event, FILE *fp)
tools/perf/util/event.c
221
size_t perf_event__fprintf_cgroup(union perf_event *event, FILE *fp)
tools/perf/util/event.c
323
size_t perf_event__fprintf_mmap(union perf_event *event, FILE *fp)
tools/perf/util/event.c
332
size_t perf_event__fprintf_mmap2(union perf_event *event, FILE *fp)
tools/perf/util/event.c
366
size_t perf_event__fprintf_thread_map(union perf_event *event, FILE *fp)
tools/perf/util/event.c
382
size_t perf_event__fprintf_cpu_map(union perf_event *event, FILE *fp)
tools/perf/util/event.c
414
size_t perf_event__fprintf_task(union perf_event *event, FILE *fp)
tools/perf/util/event.c
457
size_t perf_event__fprintf_aux(union perf_event *event, FILE *fp)
tools/perf/util/event.c
468
size_t perf_event__fprintf_itrace_start(union perf_event *event, FILE *fp)
tools/perf/util/event.c
474
size_t perf_event__fprintf_aux_output_hw_id(union perf_event *event, FILE *fp)
tools/perf/util/event.c
480
size_t perf_event__fprintf_switch(union perf_event *event, FILE *fp)
tools/perf/util/event.c
496
static size_t perf_event__fprintf_lost(union perf_event *event, FILE *fp)
tools/perf/util/event.c
501
size_t perf_event__fprintf_ksymbol(union perf_event *event, FILE *fp)
tools/perf/util/event.c
509
size_t perf_event__fprintf_bpf(union perf_event *event, FILE *fp)
tools/perf/util/event.c
515
size_t perf_event__fprintf_bpf_metadata(union perf_event *event, FILE *fp)
tools/perf/util/event.c
530
void *extra, FILE *fp)
tools/perf/util/event.c
546
size_t perf_event__fprintf_text_poke(union perf_event *event, struct machine *machine, FILE *fp)
tools/perf/util/event.c
576
size_t perf_event__fprintf_schedstat_cpu(union perf_event *event, FILE *fp)
tools/perf/util/event.c
601
size_t perf_event__fprintf_schedstat_domain(union perf_event *event, FILE *fp)
tools/perf/util/event.c
626
size_t perf_event__fprintf(union perf_event *event, struct machine *machine, FILE *fp)
tools/perf/util/event.h
379
size_t perf_event__fprintf_comm(union perf_event *event, FILE *fp);
tools/perf/util/event.h
380
size_t perf_event__fprintf_mmap(union perf_event *event, FILE *fp);
tools/perf/util/event.h
381
size_t perf_event__fprintf_mmap2(union perf_event *event, FILE *fp);
tools/perf/util/event.h
382
size_t perf_event__fprintf_task(union perf_event *event, FILE *fp);
tools/perf/util/event.h
383
size_t perf_event__fprintf_aux(union perf_event *event, FILE *fp);
tools/perf/util/event.h
384
size_t perf_event__fprintf_itrace_start(union perf_event *event, FILE *fp);
tools/perf/util/event.h
385
size_t perf_event__fprintf_aux_output_hw_id(union perf_event *event, FILE *fp);
tools/perf/util/event.h
386
size_t perf_event__fprintf_switch(union perf_event *event, FILE *fp);
tools/perf/util/event.h
387
size_t perf_event__fprintf_thread_map(union perf_event *event, FILE *fp);
tools/perf/util/event.h
388
size_t perf_event__fprintf_cpu_map(union perf_event *event, FILE *fp);
tools/perf/util/event.h
389
size_t perf_event__fprintf_namespaces(union perf_event *event, FILE *fp);
tools/perf/util/event.h
390
size_t perf_event__fprintf_cgroup(union perf_event *event, FILE *fp);
tools/perf/util/event.h
391
size_t perf_event__fprintf_ksymbol(union perf_event *event, FILE *fp);
tools/perf/util/event.h
392
size_t perf_event__fprintf_bpf(union perf_event *event, FILE *fp);
tools/perf/util/event.h
393
size_t perf_event__fprintf_bpf_metadata(union perf_event *event, FILE *fp);
tools/perf/util/event.h
394
size_t perf_event__fprintf_text_poke(union perf_event *event, struct machine *machine,FILE *fp);
tools/perf/util/event.h
395
size_t perf_event__fprintf_schedstat_cpu(union perf_event *event, FILE *fp);
tools/perf/util/event.h
396
size_t perf_event__fprintf_schedstat_domain(union perf_event *event, FILE *fp);
tools/perf/util/event.h
397
size_t perf_event__fprintf(union perf_event *event, struct machine *machine, FILE *fp);
tools/perf/util/events_stats.h
70
size_t events_stats__fprintf(struct events_stats *stats, FILE *fp);
tools/perf/util/evsel.c
121
FILE *file;
tools/perf/util/evsel.c
2413
static int __open_attr__fprintf(FILE *fp, const char *name, const char *val,
tools/perf/util/evsel_fprintf.c
114
struct strlist *bt_stop_list, FILE *fp)
tools/perf/util/evsel_fprintf.c
20
static int comma_fprintf(FILE *fp, bool *first, const char *fmt, ...)
tools/perf/util/evsel_fprintf.c
218
struct callchain_cursor *cursor, struct strlist *bt_stop_list, FILE *fp)
tools/perf/util/evsel_fprintf.c
38
static int __print_attr__fprintf(FILE *fp, const char *name, const char *val, void *priv)
tools/perf/util/evsel_fprintf.c
43
int evsel__fprintf(struct evsel *evsel, struct perf_attr_details *details, FILE *fp)
tools/perf/util/evsel_fprintf.h
18
int evsel__fprintf(struct evsel *evsel, struct perf_attr_details *details, FILE *fp);
tools/perf/util/evsel_fprintf.h
39
struct strlist *bt_stop_list, FILE *fp);
tools/perf/util/evsel_fprintf.h
44
struct strlist *bt_stop_list, FILE *fp);
tools/perf/util/evsel_fprintf.h
46
typedef int (*attr__fprintf_f)(FILE *, const char *, const char *, void *);
tools/perf/util/evsel_fprintf.h
48
int perf_event_attr__fprintf(FILE *fp, struct perf_event_attr *attr,
tools/perf/util/evswitch.c
35
static int evswitch__fprintf_enoent(FILE *fp, const char *evtype, const char *evname)
tools/perf/util/evswitch.c
42
int evswitch__init(struct evswitch *evswitch, struct evlist *evlist, FILE *fp)
tools/perf/util/evswitch.h
19
int evswitch__init(struct evswitch *evswitch, struct evlist *evlist, FILE *fp);
tools/perf/util/find-map.c
4
FILE *maps;
tools/perf/util/header.c
1289
static void cpu_cache_level__fprintf(FILE *out, struct cpu_cache_level *c)
tools/perf/util/header.c
1749
FILE *fp;
tools/perf/util/header.c
1894
static void print_hostname(struct feat_fd *ff, FILE *fp)
tools/perf/util/header.c
1899
static void print_osrelease(struct feat_fd *ff, FILE *fp)
tools/perf/util/header.c
1904
static void print_arch(struct feat_fd *ff, FILE *fp)
tools/perf/util/header.c
1909
static void print_e_machine(struct feat_fd *ff, FILE *fp)
tools/perf/util/header.c
1915
static void print_cpudesc(struct feat_fd *ff, FILE *fp)
tools/perf/util/header.c
1920
static void print_nrcpus(struct feat_fd *ff, FILE *fp)
tools/perf/util/header.c
1926
static void print_version(struct feat_fd *ff, FILE *fp)
tools/perf/util/header.c
1931
static void print_cmdline(struct feat_fd *ff, FILE *fp)
tools/perf/util/header.c
1960
static void print_cpu_topology(struct feat_fd *ff, FILE *fp)
tools/perf/util/header.c
2017
static void print_clockid(struct feat_fd *ff, FILE *fp)
tools/perf/util/header.c
2023
static void print_clock_data(struct feat_fd *ff, FILE *fp)
tools/perf/util/header.c
2066
static void print_hybrid_topology(struct feat_fd *ff, FILE *fp)
tools/perf/util/header.c
2078
static void print_dir_format(struct feat_fd *ff, FILE *fp)
tools/perf/util/header.c
2089
static void print_bpf_prog_info(struct feat_fd *ff __maybe_unused, FILE *fp)
tools/perf/util/header.c
2119
static void print_bpf_btf(struct feat_fd *ff __maybe_unused, FILE *fp)
tools/perf/util/header.c
2332
static int __desc_attr__fprintf(FILE *fp, const char *name, const char *val,
tools/perf/util/header.c
2338
static void print_event_desc(struct feat_fd *ff, FILE *fp)
tools/perf/util/header.c
2376
static void print_total_mem(struct feat_fd *ff, FILE *fp)
tools/perf/util/header.c
2381
static void print_numa_topology(struct feat_fd *ff, FILE *fp)
tools/perf/util/header.c
2398
static void print_cpuid(struct feat_fd *ff, FILE *fp)
tools/perf/util/header.c
2403
static void print_branch_stack(struct feat_fd *ff __maybe_unused, FILE *fp)
tools/perf/util/header.c
2408
static void print_auxtrace(struct feat_fd *ff __maybe_unused, FILE *fp)
tools/perf/util/header.c
2413
static void print_stat(struct feat_fd *ff __maybe_unused, FILE *fp)
tools/perf/util/header.c
2418
static void print_cache(struct feat_fd *ff, FILE *fp __maybe_unused)
tools/perf/util/header.c
2429
static void print_cln_size(struct feat_fd *ff, FILE *fp)
tools/perf/util/header.c
2434
static void print_compressed(struct feat_fd *ff, FILE *fp)
tools/perf/util/header.c
2441
static void __print_pmu_caps(FILE *fp, int nr_caps, char **caps, char *pmu_name)
tools/perf/util/header.c
2460
static void print_cpu_pmu_caps(struct feat_fd *ff, FILE *fp)
tools/perf/util/header.c
2466
static void print_pmu_caps(struct feat_fd *ff, FILE *fp)
tools/perf/util/header.c
2487
static void print_pmu_mappings(struct feat_fd *ff, FILE *fp)
tools/perf/util/header.c
2524
static void print_group_desc(struct feat_fd *ff, FILE *fp)
tools/perf/util/header.c
2546
static void print_sample_time(struct feat_fd *ff, FILE *fp)
tools/perf/util/header.c
2569
unsigned long long bsize, FILE *fp)
tools/perf/util/header.c
2581
static void print_mem_topology(struct feat_fd *ff, FILE *fp)
tools/perf/util/header.c
2598
static void print_cpu_domain_info(struct feat_fd *ff, FILE *fp)
tools/perf/util/header.c
4271
FILE *fp;
tools/perf/util/header.c
4316
int perf_header__fprintf_info(struct perf_session *session, FILE *fp, bool full)
tools/perf/util/header.c
490
FILE *file;
tools/perf/util/header.c
5401
size_t perf_event__fprintf_event_update(union perf_event *event, FILE *fp)
tools/perf/util/header.c
5499
size_t perf_event__fprintf_attr(union perf_event *event, FILE *fp)
tools/perf/util/header.c
764
FILE *fp;
tools/perf/util/header.h
128
void (*print)(struct feat_fd *ff, FILE *fp);
tools/perf/util/header.h
175
int perf_header__fprintf_info(struct perf_session *s, FILE *fp, bool full);
tools/perf/util/header.h
185
size_t perf_event__fprintf_attr(union perf_event *event, FILE *fp);
tools/perf/util/header.h
186
size_t perf_event__fprintf_event_update(union perf_event *event, FILE *fp);
tools/perf/util/hist.c
2869
size_t evlist__fprintf_nr_events(struct evlist *evlist, FILE *fp)
tools/perf/util/hist.h
409
int max_cols, float min_pcnt, FILE *fp,
tools/perf/util/hist.h
411
size_t evlist__fprintf_nr_events(struct evlist *evlist, FILE *fp);
tools/perf/util/hist.h
833
int hists__fprintf_headers(struct hists *hists, FILE *fp);
tools/perf/util/intel-pt-decoder/intel-pt-log.c
128
static FILE *log_buf__open(struct log_buf *b, FILE *backend, unsigned int sz)
tools/perf/util/intel-pt-decoder/intel-pt-log.c
134
FILE *file;
tools/perf/util/intel-pt-decoder/intel-pt-log.c
158
static void write_lines(const char *p, size_t n, FILE *fp, bool *remove_first)
tools/perf/util/intel-pt-decoder/intel-pt-log.c
32
FILE *backend;
tools/perf/util/intel-pt-decoder/intel-pt-log.c
35
static FILE *f;
tools/perf/util/intel-pt.c
2731
FILE *fp = intel_pt_log_fp();
tools/perf/util/intel-pt.c
282
FILE *f = intel_pt_log_fp();
tools/perf/util/intel-tpebs.c
136
FILE *fp;
tools/perf/util/jitdump.c
44
FILE *in;
tools/perf/util/libbfd.c
516
FILE *s;
tools/perf/util/lzma.c
101
FILE *infile;
tools/perf/util/lzma.c
35
int lzma_decompress_stream_to_file(FILE *infile, int output_fd)
tools/perf/util/machine.c
1339
FILE *file;
tools/perf/util/machine.c
923
size_t machines__fprintf_dsos(struct machines *machines, FILE *fp)
tools/perf/util/machine.c
936
size_t machine__fprintf_dsos_buildid(struct machine *m, FILE *fp,
tools/perf/util/machine.c
942
size_t machines__fprintf_dsos_buildid(struct machines *machines, FILE *fp,
tools/perf/util/machine.c
956
FILE *fp;
tools/perf/util/machine.c
969
size_t machine__fprintf(struct machine *machine, FILE *fp)
tools/perf/util/machine.h
235
size_t machine__fprintf(struct machine *machine, FILE *fp);
tools/perf/util/machine.h
258
size_t machine__fprintf_dsos_buildid(struct machine *machine, FILE *fp,
tools/perf/util/machine.h
260
size_t machines__fprintf_dsos(struct machines *machines, FILE *fp);
tools/perf/util/machine.h
261
size_t machines__fprintf_dsos_buildid(struct machines *machines, FILE *fp,
tools/perf/util/map.c
430
size_t map__fprintf(struct map *map, FILE *fp)
tools/perf/util/map.c
445
static size_t __map__fprintf_dsoname(struct map *map, bool print_off, FILE *fp)
tools/perf/util/map.c
466
size_t map__fprintf_dsoname(struct map *map, FILE *fp)
tools/perf/util/map.c
471
size_t map__fprintf_dsoname_dsoff(struct map *map, bool print_off, u64 addr, FILE *fp)
tools/perf/util/map.c
496
FILE *fp)
tools/perf/util/map.h
204
size_t map__fprintf(struct map *map, FILE *fp);
tools/perf/util/map.h
205
size_t map__fprintf_dsoname(struct map *map, FILE *fp);
tools/perf/util/map.h
206
size_t map__fprintf_dsoname_dsoff(struct map *map, bool print_off, u64 addr, FILE *fp);
tools/perf/util/map.h
209
FILE *fp);
tools/perf/util/maps.c
819
FILE *fp;
tools/perf/util/maps.c
836
size_t maps__fprintf(struct maps *maps, FILE *fp)
tools/perf/util/maps.h
60
size_t maps__fprintf(struct maps *maps, FILE *fp);
tools/perf/util/namespaces.c
64
FILE *f = NULL;
tools/perf/util/parse-regs-options.c
13
static void list_perf_regs(FILE *fp, uint64_t mask)
tools/perf/util/perf_event_attr_fprintf.c
300
int perf_event_attr__fprintf(FILE *fp, struct perf_event_attr *attr,
tools/perf/util/pmu.c
1134
FILE *file = perf_pmu__open_file_at(pmu, dirfd, "alias");
tools/perf/util/pmu.c
149
static void __perf_pmu_format__load(struct perf_pmu_format *format, FILE *file)
tools/perf/util/pmu.c
167
FILE *file = NULL;
tools/perf/util/pmu.c
212
FILE *file;
tools/perf/util/pmu.c
2433
FILE *perf_pmu__open_file(const struct perf_pmu *pmu, const char *name)
tools/perf/util/pmu.c
2444
FILE *perf_pmu__open_file_at(const struct perf_pmu *pmu, int dirfd, const char *name)
tools/perf/util/pmu.c
2459
FILE *file;
tools/perf/util/pmu.c
2476
FILE *file;
tools/perf/util/pmu.c
2577
FILE *file;
tools/perf/util/pmu.h
308
FILE *perf_pmu__open_file(const struct perf_pmu *pmu, const char *name);
tools/perf/util/pmu.h
309
FILE *perf_pmu__open_file_at(const struct perf_pmu *pmu, int dirfd, const char *name);
tools/perf/util/print_binary.c
8
void *extra, FILE *fp)
tools/perf/util/print_binary.h
22
unsigned int val, void *extra, FILE *fp);
tools/perf/util/print_binary.h
26
void *extra, FILE *fp);
tools/perf/util/print_insn.c
26
size_t sample__fprintf_insn_raw(struct perf_sample *sample, FILE *fp)
tools/perf/util/print_insn.c
52
uint64_t ip, int *lenp, int print_opts, FILE *fp)
tools/perf/util/print_insn.c
59
struct machine *machine, FILE *fp,
tools/perf/util/print_insn.h
19
struct machine *machine, FILE *fp, struct addr_location *al);
tools/perf/util/print_insn.h
20
size_t sample__fprintf_insn_raw(struct perf_sample *sample, FILE *fp);
tools/perf/util/print_insn.h
23
uint64_t ip, int *lenp, int print_opts, FILE *fp);
tools/perf/util/probe-event.c
1006
static int __show_one_line(FILE *fp, int l, bool skip, bool show_num)
tools/perf/util/probe-event.c
1035
static int _show_one_line(FILE *fp, int l, bool skip, bool show_num)
tools/perf/util/probe-event.c
1071
FILE *fp;
tools/perf/util/probe-event.c
2547
FILE *fp;
tools/perf/util/probe-file.c
1113
FILE *fp;
tools/perf/util/probe-file.c
172
FILE *fp;
tools/perf/util/probe-file.c
497
FILE *fp;
tools/perf/util/probe-finder.c
802
FILE *fp;
tools/perf/util/s390-cpumsf.c
187
FILE *logfile;
tools/perf/util/s390-cpumsf.c
188
FILE *logfile_ctr;
tools/perf/util/scripting-engines/trace-event-perl.c
558
FILE *ofp;
tools/perf/util/scripting-engines/trace-event-python.c
1931
FILE *fp;
tools/perf/util/scripting-engines/trace-event-python.c
2015
FILE *ofp;
tools/perf/util/session.c
3803
size_t perf_session__fprintf_dsos(struct perf_session *session, FILE *fp)
tools/perf/util/session.c
3808
size_t perf_session__fprintf_dsos_buildid(struct perf_session *session, FILE *fp,
tools/perf/util/session.c
3814
size_t perf_session__fprintf_nr_events(struct perf_session *session, FILE *fp)
tools/perf/util/session.c
3828
size_t perf_session__fprintf(struct perf_session *session, FILE *fp)
tools/perf/util/session.c
3909
void perf_session__fprintf_info(struct perf_session *session, FILE *fp,
tools/perf/util/session.h
170
size_t perf_session__fprintf(struct perf_session *session, FILE *fp);
tools/perf/util/session.h
172
size_t perf_session__fprintf_dsos(struct perf_session *session, FILE *fp);
tools/perf/util/session.h
174
size_t perf_session__fprintf_dsos_buildid(struct perf_session *session, FILE *fp,
tools/perf/util/session.h
177
size_t perf_session__fprintf_nr_events(struct perf_session *session, FILE *fp);
tools/perf/util/session.h
187
void perf_session__fprintf_info(struct perf_session *s, FILE *fp, bool full);
tools/perf/util/sort.c
4167
static bool __get_elide(struct strlist *list, const char *list_name, FILE *fp)
tools/perf/util/sort.c
4178
static bool get_elide(int idx, FILE *output)
tools/perf/util/sort.c
4215
void sort__setup_elide(FILE *output)
tools/perf/util/sort.h
138
void sort__setup_elide(FILE *fp);
tools/perf/util/stat-display.c
1041
FILE *output = config->output;
tools/perf/util/stat-display.c
1270
FILE *output = config->output;
tools/perf/util/stat-display.c
131
FILE * const fh;
tools/perf/util/stat-display.c
1316
FILE *output = config->output;
tools/perf/util/stat-display.c
1391
static void print_table(struct perf_stat_config *config, FILE *output, double avg)
tools/perf/util/stat-display.c
1425
FILE *output = config->output;
tools/perf/util/stat-display.c
1468
FILE *output = config->output;
tools/perf/util/stat-display.c
260
FILE *output = config->output;
tools/perf/util/stat-display.c
313
FILE *output = config->output;
tools/perf/util/stat-display.c
461
FILE *out = os->fh;
tools/perf/util/stat-display.c
500
FILE *out = os->fh;
tools/perf/util/stat-display.c
522
FILE *out = os->fh;
tools/perf/util/stat-display.c
597
FILE *out = os->fh;
tools/perf/util/stat-display.c
623
FILE *out = os->fh;
tools/perf/util/stat-display.c
690
FILE *output = config->output;
tools/perf/util/stat-display.c
714
FILE *output = config->output;
tools/perf/util/stat-display.c
953
FILE *output = config->output;
tools/perf/util/stat.c
684
size_t perf_event__fprintf_stat(union perf_event *event, FILE *fp)
tools/perf/util/stat.c
697
size_t perf_event__fprintf_stat_round(union perf_event *event, FILE *fp)
tools/perf/util/stat.c
708
size_t perf_event__fprintf_stat_config(union perf_event *event, FILE *fp)
tools/perf/util/stat.h
200
size_t perf_event__fprintf_stat(union perf_event *event, FILE *fp);
tools/perf/util/stat.h
201
size_t perf_event__fprintf_stat_round(union perf_event *event, FILE *fp);
tools/perf/util/stat.h
202
size_t perf_event__fprintf_stat_config(union perf_event *event, FILE *fp);
tools/perf/util/stat.h
89
FILE *output;
tools/perf/util/strlist.c
66
FILE *fp = fopen(filename, "r");
tools/perf/util/svghelper.c
328
FILE *file;
tools/perf/util/svghelper.c
42
static FILE *svgfile;
tools/perf/util/symbol-elf.c
1108
FILE *wrapped;
tools/perf/util/symbol.c
1662
FILE *file;
tools/perf/util/symbol.c
2454
FILE *fp = fopen("/proc/sys/kernel/kptr_restrict", "r");
tools/perf/util/symbol.c
701
FILE *file;
tools/perf/util/symbol.h
229
bool print_offsets, FILE *fp);
tools/perf/util/symbol.h
231
const struct addr_location *al, FILE *fp);
tools/perf/util/symbol.h
234
bool unknown_as_addr, FILE *fp);
tools/perf/util/symbol.h
235
size_t symbol__fprintf_symname(const struct symbol *sym, FILE *fp);
tools/perf/util/symbol.h
236
size_t symbol__fprintf(struct symbol *sym, FILE *fp);
tools/perf/util/symbol_fprintf.c
10
size_t symbol__fprintf(struct symbol *sym, FILE *fp)
tools/perf/util/symbol_fprintf.c
22
bool print_offsets, FILE *fp)
tools/perf/util/symbol_fprintf.c
45
FILE *fp)
tools/perf/util/symbol_fprintf.c
52
bool unknown_as_addr, FILE *fp)
tools/perf/util/symbol_fprintf.c
57
size_t symbol__fprintf_symname(const struct symbol *sym, FILE *fp)
tools/perf/util/symbol_fprintf.c
63
FILE *fp)
tools/perf/util/thread.c
358
size_t thread__fprintf(struct thread *thread, FILE *fp)
tools/perf/util/thread.h
123
size_t thread__fprintf(struct thread *thread, FILE *fp);
tools/perf/util/thread_map.c
275
size_t thread_map__fprintf(struct perf_thread_map *threads, FILE *fp)
tools/perf/util/thread_map.h
22
size_t thread_map__fprintf(struct perf_thread_map *threads, FILE *fp);
tools/perf/util/trace-event-parse.c
103
int cpu, void *data, int size, FILE *fp)
tools/perf/util/trace-event.h
43
int cpu, void *data, int size, FILE *fp);
tools/perf/util/trace.h
19
int trace_print_bpf_summary(FILE *fp, int max_summary);
tools/perf/util/trace.h
30
static inline int trace_print_bpf_summary(FILE *fp __maybe_unused, int max_summary __maybe_unused)
tools/perf/util/tsc.c
116
size_t perf_event__fprintf_time_conv(union perf_event *event, FILE *fp)
tools/perf/util/tsc.h
30
size_t perf_event__fprintf_time_conv(union perf_event *event, FILE *fp);
tools/perf/util/values.c
185
static void perf_read_values__display_pretty(FILE *fp,
tools/perf/util/values.c
233
static void perf_read_values__display_raw(FILE *fp,
tools/perf/util/values.c
283
void perf_read_values_display(FILE *fp, struct perf_read_values *values, int raw)
tools/perf/util/values.h
27
void perf_read_values_display(FILE *fp, struct perf_read_values *values,
tools/perf/util/vdso.c
173
static int vdso__do_copy_compat(FILE *f, int fd)
tools/perf/util/vdso.c
193
FILE *f;
tools/power/acpi/os_specific/service_layers/oslinuxtbl.c
1200
FILE *table_file;
tools/power/acpi/os_specific/service_layers/oslinuxtbl.c
402
osl_find_rsdp_via_efi_by_keyword(FILE * file, const char *keyword)
tools/power/acpi/os_specific/service_layers/oslinuxtbl.c
433
FILE *file;
tools/power/acpi/os_specific/service_layers/oslinuxtbl.c
47
osl_find_rsdp_via_efi_by_keyword(FILE * file, const char *keyword);
tools/power/acpi/tools/acpidbg/acpidbg.c
369
void usage(FILE *file, char *progname)
tools/power/cpupower/bench/parse.c
164
FILE *configfile;
tools/power/cpupower/bench/parse.c
52
FILE *prepare_output(const char *dirname)
tools/power/cpupower/bench/parse.c
54
FILE *output = NULL;
tools/power/cpupower/bench/parse.h
29
FILE *output; /* logfile */
tools/power/cpupower/bench/parse.h
36
FILE *prepare_output(const char *dir);
tools/power/cpupower/utils/cpufreq-info.c
25
FILE *fp;
tools/power/cpupower/utils/helpers/cpuid.c
48
FILE *fp;
tools/power/x86/intel-speed-select/isst-config.c
100
FILE *get_output_file(void)
tools/power/x86/intel-speed-select/isst-config.c
1324
FILE *fp;
tools/power/x86/intel-speed-select/isst-config.c
188
FILE *fp;
tools/power/x86/intel-speed-select/isst-config.c
219
static FILE *fopen_or_exit(const char *path, const char *mode)
tools/power/x86/intel-speed-select/isst-config.c
221
FILE *filep = fopen(path, mode);
tools/power/x86/intel-speed-select/isst-config.c
234
FILE *filep;
tools/power/x86/intel-speed-select/isst-config.c
25
static FILE *outf;
tools/power/x86/intel-speed-select/isst-config.c
276
FILE *fp;
tools/power/x86/intel-speed-select/isst-config.c
307
FILE *fp;
tools/power/x86/intel-speed-select/isst-config.c
3211
FILE *fp;
tools/power/x86/intel-speed-select/isst-config.c
665
FILE *filep;
tools/power/x86/intel-speed-select/isst-core-mbox.c
81
FILE *outf = get_output_file();
tools/power/x86/intel-speed-select/isst-core-tpmi.c
576
FILE *filep;
tools/power/x86/intel-speed-select/isst-core.c
75
FILE *outf = get_output_file();
tools/power/x86/intel-speed-select/isst-display.c
112
static void format_and_print(FILE *outf, int level, char *header, char *value)
tools/power/x86/intel-speed-select/isst-display.c
169
static int print_package_info(struct isst_id *id, FILE *outf)
tools/power/x86/intel-speed-select/isst-display.c
217
static void _isst_pbf_display_information(struct isst_id *id, FILE *outf, int level,
tools/power/x86/intel-speed-select/isst-display.c
260
static void _isst_fact_display_information(struct isst_id *id, FILE *outf, int level,
tools/power/x86/intel-speed-select/isst-display.c
338
void isst_ctdp_display_core_info(struct isst_id *id, FILE *outf, char *prefix,
tools/power/x86/intel-speed-select/isst-display.c
357
void isst_ctdp_display_information(struct isst_id *id, FILE *outf, int tdp_level,
tools/power/x86/intel-speed-select/isst-display.c
587
void isst_ctdp_display_information_start(FILE *outf)
tools/power/x86/intel-speed-select/isst-display.c
594
void isst_ctdp_display_information_end(FILE *outf)
tools/power/x86/intel-speed-select/isst-display.c
600
void isst_pbf_display_information(struct isst_id *id, FILE *outf, int level,
tools/power/x86/intel-speed-select/isst-display.c
610
void isst_fact_display_information(struct isst_id *id, FILE *outf, int level,
tools/power/x86/intel-speed-select/isst-display.c
622
void isst_clos_display_information(struct isst_id *id, FILE *outf, int clos,
tools/power/x86/intel-speed-select/isst-display.c
664
void isst_clos_display_clos_information(struct isst_id *id, FILE *outf,
tools/power/x86/intel-speed-select/isst-display.c
708
void isst_clos_display_assoc_information(struct isst_id *id, FILE *outf, int clos)
tools/power/x86/intel-speed-select/isst-display.c
726
void isst_display_result(struct isst_id *id, FILE *outf, char *feature, char *cmd,
tools/power/x86/intel-speed-select/isst-display.c
749
FILE *outf = get_output_file();
tools/power/x86/intel-speed-select/isst-display.c
788
void isst_trl_display_information(struct isst_id *id, FILE *outf, unsigned long long trl)
tools/power/x86/intel-speed-select/isst-display.c
84
static void format_and_print_txt(FILE *outf, int level, char *header,
tools/power/x86/intel-speed-select/isst.h
224
FILE *get_output_file(void);
tools/power/x86/intel-speed-select/isst.h
258
extern void isst_ctdp_display_information(struct isst_id *id, FILE *outf, int tdp_level,
tools/power/x86/intel-speed-select/isst.h
260
extern void isst_ctdp_display_core_info(struct isst_id *id, FILE *outf, char *prefix,
tools/power/x86/intel-speed-select/isst.h
262
extern void isst_ctdp_display_information_start(FILE *outf);
tools/power/x86/intel-speed-select/isst.h
263
extern void isst_ctdp_display_information_end(FILE *outf);
tools/power/x86/intel-speed-select/isst.h
264
extern void isst_pbf_display_information(struct isst_id *id, FILE *outf, int level,
tools/power/x86/intel-speed-select/isst.h
272
extern void isst_fact_display_information(struct isst_id *id, FILE *outf, int level,
tools/power/x86/intel-speed-select/isst.h
287
extern void isst_clos_display_information(struct isst_id *id, FILE *outf, int clos,
tools/power/x86/intel-speed-select/isst.h
289
extern void isst_clos_display_assoc_information(struct isst_id *id, FILE *outf, int clos);
tools/power/x86/intel-speed-select/isst.h
291
extern void isst_display_result(struct isst_id *id, FILE *outf, char *feature, char *cmd,
tools/power/x86/intel-speed-select/isst.h
295
extern void isst_clos_display_clos_information(struct isst_id *id, FILE *outf,
tools/power/x86/intel-speed-select/isst.h
306
extern void isst_trl_display_information(struct isst_id *id, FILE *outf, unsigned long long trl);
tools/power/x86/turbostat/turbostat.c
10124
FILE *file_telem_info;
tools/power/x86/turbostat/turbostat.c
10619
FILE *fp;
tools/power/x86/turbostat/turbostat.c
11321
FILE *input;
tools/power/x86/turbostat/turbostat.c
11375
FILE *input;
tools/power/x86/turbostat/turbostat.c
3791
FILE *filep;
tools/power/x86/turbostat/turbostat.c
4500
FILE *fopen_or_die(const char *path, const char *mode)
tools/power/x86/turbostat/turbostat.c
4502
FILE *filep = fopen(path, mode);
tools/power/x86/turbostat/turbostat.c
4516
FILE *fp;
tools/power/x86/turbostat/turbostat.c
4581
FILE *fp;
tools/power/x86/turbostat/turbostat.c
4658
FILE *fp;
tools/power/x86/turbostat/turbostat.c
4739
FILE *fconfig = NULL;
tools/power/x86/turbostat/turbostat.c
488
FILE *outf;
tools/power/x86/turbostat/turbostat.c
566
FILE *fp;
tools/power/x86/turbostat/turbostat.c
6059
FILE *filep;
tools/power/x86/turbostat/turbostat.c
6151
FILE *filep;
tools/power/x86/turbostat/turbostat.c
6287
FILE *fp;
tools/power/x86/turbostat/turbostat.c
6318
FILE *fp;
tools/power/x86/turbostat/turbostat.c
6378
FILE *filep;
tools/power/x86/turbostat/turbostat.c
6459
static FILE *fp;
tools/power/x86/turbostat/turbostat.c
6561
FILE *fp;
tools/power/x86/turbostat/turbostat.c
6586
FILE *fp;
tools/power/x86/turbostat/turbostat.c
7124
FILE *input;
tools/power/x86/turbostat/turbostat.c
7142
FILE *input;
tools/power/x86/turbostat/turbostat.c
7301
FILE *fp;
tools/power/x86/turbostat/turbostat.c
7400
FILE *input;
tools/power/x86/turbostat/turbostat.c
7448
FILE *input;
tools/power/x86/turbostat/turbostat.c
7848
FILE *filep;
tools/power/x86/turbostat/turbostat.c
7862
FILE *filep;
tools/power/x86/turbostat/turbostat.c
7876
FILE *filep;
tools/power/x86/turbostat/turbostat.c
8535
FILE *fp;
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
1159
FILE *fp;
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
1428
FILE *fp;
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
1478
FILE *fp;
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
749
FILE *fopen_or_die(const char *path, const char *mode)
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
751
FILE *filep = fopen(path, mode);
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
760
FILE *cpuinfo;
tools/sched_ext/scx_flatcg.c
55
FILE *fp;
tools/sched_ext/scx_userland.c
116
FILE *fp;
tools/testing/selftests/acct/acct_syscall.c
17
FILE *fp;
tools/testing/selftests/alsa/test-pcmtest-driver.c
35
FILE *fp, *fpl;
tools/testing/selftests/alsa/test-pcmtest-driver.c
62
FILE *f;
tools/testing/selftests/alsa/utimer-test.c
118
FILE *rfp;
tools/testing/selftests/arm64/abi/hwcap.c
1323
FILE *f;
tools/testing/selftests/arm64/fp/kernel-test.c
68
FILE *proc;
tools/testing/selftests/arm64/fp/vec-syscfg.c
179
FILE *f;
tools/testing/selftests/arm64/fp/vec-syscfg.c
198
FILE *f;
tools/testing/selftests/arm64/fp/vec-syscfg.c
74
static int stdio_read_integer(FILE *f, const char *what, int *val)
tools/testing/selftests/arm64/fp/vec-syscfg.c
91
FILE *out;
tools/testing/selftests/arm64/mte/check_hugetlb_options.c
30
FILE *f = fopen("/proc/meminfo", "r");
tools/testing/selftests/arm64/mte/check_hugetlb_options.c
51
FILE *f = fopen("/proc/meminfo", "r");
tools/testing/selftests/arm64/mte/check_hugetlb_options.c
73
FILE *f;
tools/testing/selftests/arm64/mte/check_ksm_options.c
28
FILE *f;
tools/testing/selftests/arm64/mte/check_ksm_options.c
46
FILE *f;
tools/testing/selftests/bpf/benchs/bench_local_storage_rcu_tasks_trace.c
91
FILE *f;
tools/testing/selftests/bpf/benchs/bench_sockmap.c
441
FILE *file;
tools/testing/selftests/bpf/bpftool_helpers.c
56
FILE *f;
tools/testing/selftests/bpf/btf_helpers.c
219
FILE *buf_file;
tools/testing/selftests/bpf/btf_helpers.c
260
FILE *buf_file;
tools/testing/selftests/bpf/btf_helpers.c
88
int fprintf_btf_type_raw(FILE *out, const struct btf *btf, __u32 id)
tools/testing/selftests/bpf/btf_helpers.h
9
int fprintf_btf_type_raw(FILE *out, const struct btf *btf, __u32 id);
tools/testing/selftests/bpf/cgroup_helpers.c
696
FILE *file;
tools/testing/selftests/bpf/jit_disasm_helpers.c
183
FILE *text_out = NULL;
tools/testing/selftests/bpf/jit_disasm_helpers.c
91
static int disasm_one_func(FILE *text_out, uint8_t *image, __u32 len)
tools/testing/selftests/bpf/json_writer.c
22
FILE *out; /* output file */
tools/testing/selftests/bpf/json_writer.c
90
json_writer_t *jsonw_new(FILE *f)
tools/testing/selftests/bpf/json_writer.h
24
json_writer_t *jsonw_new(FILE *f);
tools/testing/selftests/bpf/netlink_helpers.h
16
FILE *dump_fp;
tools/testing/selftests/bpf/prog_tests/arg_parsing.c
120
FILE *fp;
tools/testing/selftests/bpf/prog_tests/attach_probe.c
463
FILE *devnull;
tools/testing/selftests/bpf/prog_tests/bpf_qdisc.c
165
FILE *f;
tools/testing/selftests/bpf/prog_tests/btf.c
5499
FILE *pin_file = NULL;
tools/testing/selftests/bpf/prog_tests/btf_dump.c
134
FILE *dump_buf_file;
tools/testing/selftests/bpf/prog_tests/btf_dump.c
53
FILE *f = NULL;
tools/testing/selftests/bpf/prog_tests/btf_split.c
8
static FILE *dump_buf_file;
tools/testing/selftests/bpf/prog_tests/core_autosize.c
64
FILE *f = NULL;
tools/testing/selftests/bpf/prog_tests/ctx_rewrite.c
391
static void print_match_error(FILE *out,
tools/testing/selftests/bpf/prog_tests/ctx_rewrite.c
649
FILE *prog_out = NULL;
tools/testing/selftests/bpf/prog_tests/dmabuf_iter.c
172
FILE *iter_file;
tools/testing/selftests/bpf/prog_tests/get_branch_snapshot.c
14
FILE *fp;
tools/testing/selftests/bpf/prog_tests/iters.c
112
FILE *f = NULL;
tools/testing/selftests/bpf/prog_tests/kmem_cache_iter.c
32
FILE *fp;
tools/testing/selftests/bpf/prog_tests/lsm_bdev.c
39
FILE *fp;
tools/testing/selftests/bpf/prog_tests/sk_assign.c
34
FILE *tc;
tools/testing/selftests/bpf/prog_tests/tc_redirect.c
147
FILE *f;
tools/testing/selftests/bpf/prog_tests/tc_redirect.c
77
FILE *f;
tools/testing/selftests/bpf/prog_tests/test_xsk.h
54
FILE *file;
tools/testing/selftests/bpf/prog_tests/uprobe.c
10
FILE *f;
tools/testing/selftests/bpf/prog_tests/uprobe.c
26
static int urand_trigger(FILE **urand_pipe)
tools/testing/selftests/bpf/prog_tests/uprobe.c
41
FILE *urand_pipe = NULL;
tools/testing/selftests/bpf/prog_tests/uprobe.c
8
static FILE *urand_spawn(int *pid)
tools/testing/selftests/bpf/prog_tests/uprobe_autoattach.c
21
FILE *devnull;
tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c
365
FILE *maps;
tools/testing/selftests/bpf/prog_tests/usdt.c
498
static FILE *urand_spawn(int *pid)
tools/testing/selftests/bpf/prog_tests/usdt.c
500
FILE *f;
tools/testing/selftests/bpf/prog_tests/usdt.c
516
static int urand_trigger(FILE **urand_pipe)
tools/testing/selftests/bpf/prog_tests/usdt.c
532
FILE *urand_pipe = NULL;
tools/testing/selftests/bpf/prog_tests/verify_pkcs7_sig.c
166
FILE *fp;
tools/testing/selftests/bpf/prog_tests/xdp_adjust_frags.c
13
FILE *f;
tools/testing/selftests/bpf/prog_tests/xdp_bonding.c
57
FILE *f;
tools/testing/selftests/bpf/prog_tests/xdp_synproxy.c
14
FILE *f = popen(buf, "r"); \
tools/testing/selftests/bpf/prog_tests/xdp_synproxy.c
63
FILE *ctrl_file = NULL;
tools/testing/selftests/bpf/sysctl_helpers.c
12
FILE *fp;
tools/testing/selftests/bpf/test_loader.c
1148
FILE *out = NULL;
tools/testing/selftests/bpf/test_progs.c
1484
FILE *log_fp = NULL;
tools/testing/selftests/bpf/test_progs.c
933
static FILE *libbpf_capture_stream;
tools/testing/selftests/bpf/test_progs.h
119
FILE *stdout_saved;
tools/testing/selftests/bpf/test_progs.h
120
FILE *stderr_saved;
tools/testing/selftests/bpf/test_progs.h
122
FILE *json;
tools/testing/selftests/bpf/test_progs.h
80
FILE *stdout_saved;
tools/testing/selftests/bpf/test_progs.h
97
FILE *stdout_saved;
tools/testing/selftests/bpf/test_sockmap.c
349
FILE *file;
tools/testing/selftests/bpf/test_tag.c
96
FILE *fp;
tools/testing/selftests/bpf/testing_helpers.c
182
FILE *f;
tools/testing/selftests/bpf/testing_helpers.c
346
FILE *f;
tools/testing/selftests/bpf/trace_helpers.c
217
FILE *f;
tools/testing/selftests/bpf/trace_helpers.c
307
FILE *f;
tools/testing/selftests/bpf/trace_helpers.c
375
FILE *f;
tools/testing/selftests/bpf/trace_helpers.c
485
FILE *fp = NULL;
tools/testing/selftests/bpf/trace_helpers.c
618
FILE *f;
tools/testing/selftests/bpf/trace_helpers.c
66
FILE *f;
tools/testing/selftests/bpf/trace_helpers.c
703
FILE *f;
tools/testing/selftests/bpf/unpriv_helpers.c
118
FILE *fd;
tools/testing/selftests/bpf/veristat.c
1375
FILE *f;
tools/testing/selftests/bpf/veristat.c
1398
FILE *f;
tools/testing/selftests/bpf/veristat.c
1589
FILE *fp;
tools/testing/selftests/bpf/veristat.c
1821
FILE *f;
tools/testing/selftests/bpf/veristat.c
2670
FILE *f;
tools/testing/selftests/bpf/veristat.c
713
FILE *f;
tools/testing/selftests/bpf/veristat.c
768
FILE *f;
tools/testing/selftests/breakpoints/step_after_suspend_test.c
136
FILE *fp;
tools/testing/selftests/cgroup/test_hugetlb_memcg.c
66
FILE *file;
tools/testing/selftests/cgroup/test_zswap.c
26
FILE *file;
tools/testing/selftests/cgroup/test_zswap.c
40
FILE *file;
tools/testing/selftests/clone3/clone3_set_tid.c
142
FILE *f;
tools/testing/selftests/coredump/coredump_socket_protocol_test.c
14
FILE *file;
tools/testing/selftests/coredump/coredump_socket_protocol_test.c
37
FILE *file;
tools/testing/selftests/coredump/coredump_socket_test.c
12
FILE *file;
tools/testing/selftests/coredump/coredump_socket_test.c
35
FILE *file;
tools/testing/selftests/coredump/stackdump_test.c
112
FILE *file;
tools/testing/selftests/coredump/stackdump_test.c
37
FILE *file;
tools/testing/selftests/coredump/stackdump_test.c
60
FILE *file;
tools/testing/selftests/drivers/net/hw/ncdevmem.c
296
FILE *fp;
tools/testing/selftests/exec/load_address.c
56
FILE *maps;
tools/testing/selftests/filesystems/eventfd/eventfd_test.c
121
FILE *f;
tools/testing/selftests/filesystems/overlayfs/dev_in_maps.c
25
FILE *mapf;
tools/testing/selftests/filesystems/overlayfs/set_layers_via_fds.c
52
FILE *f_mountinfo;
tools/testing/selftests/filesystems/overlayfs/set_layers_via_fds.c
601
FILE *f_mountinfo;
tools/testing/selftests/filesystems/statmount/statmount_test.c
79
static FILE *f_mountinfo;
tools/testing/selftests/iommu/iommufd.c
213
FILE *fp;
tools/testing/selftests/kvm/arm64/sea_to_user.c
85
FILE *cmdfile = NULL;
tools/testing/selftests/kvm/include/kvm_util.h
1156
void vcpu_arch_dump(FILE *stream, struct kvm_vcpu *vcpu,
tools/testing/selftests/kvm/include/kvm_util.h
1159
static inline void vcpu_dump(FILE *stream, struct kvm_vcpu *vcpu,
tools/testing/selftests/kvm/include/kvm_util.h
1253
void virt_arch_dump(FILE *stream, struct kvm_vm *vm, u8 indent);
tools/testing/selftests/kvm/include/kvm_util.h
1255
static inline void virt_dump(FILE *stream, struct kvm_vm *vm, u8 indent)
tools/testing/selftests/kvm/include/kvm_util.h
478
void vm_dump(FILE *stream, struct kvm_vm *vm, u8 indent);
tools/testing/selftests/kvm/include/kvm_util.h
632
FILE *f = fopen("/sys/devices/system/cpu/smt/control", "r");
tools/testing/selftests/kvm/include/sparsebit.h
65
void sparsebit_dump(FILE *stream, const struct sparsebit *sbit,
tools/testing/selftests/kvm/lib/arm64/processor.c
239
static void pte_dump(FILE *stream, struct kvm_vm *vm, u8 indent, u64 page, int level)
tools/testing/selftests/kvm/lib/arm64/processor.c
258
void virt_arch_dump(FILE *stream, struct kvm_vm *vm, u8 indent)
tools/testing/selftests/kvm/lib/arm64/processor.c
399
void vcpu_arch_dump(FILE *stream, struct kvm_vcpu *vcpu, u8 indent)
tools/testing/selftests/kvm/lib/kvm_util.c
1888
void vm_dump(FILE *stream, struct kvm_vm *vm, u8 indent)
tools/testing/selftests/kvm/lib/loongarch/processor.c
142
static void pte_dump(FILE *stream, struct kvm_vm *vm, u8 indent, u64 page, int level)
tools/testing/selftests/kvm/lib/loongarch/processor.c
160
void virt_arch_dump(FILE *stream, struct kvm_vm *vm, u8 indent)
tools/testing/selftests/kvm/lib/loongarch/processor.c
171
void vcpu_arch_dump(FILE *stream, struct kvm_vcpu *vcpu, u8 indent)
tools/testing/selftests/kvm/lib/lru_gen_util.c
203
FILE *f;
tools/testing/selftests/kvm/lib/lru_gen_util.c
284
FILE *f = fopen(LRU_GEN_DEBUGFS, "w");
tools/testing/selftests/kvm/lib/riscv/processor.c
150
static void pte_dump(FILE *stream, struct kvm_vm *vm, u8 indent,
tools/testing/selftests/kvm/lib/riscv/processor.c
172
void virt_arch_dump(FILE *stream, struct kvm_vm *vm, u8 indent)
tools/testing/selftests/kvm/lib/riscv/processor.c
235
void vcpu_arch_dump(FILE *stream, struct kvm_vcpu *vcpu, u8 indent)
tools/testing/selftests/kvm/lib/s390/processor.c
112
static void virt_dump_ptes(FILE *stream, struct kvm_vm *vm, u8 indent,
tools/testing/selftests/kvm/lib/s390/processor.c
126
static void virt_dump_region(FILE *stream, struct kvm_vm *vm, u8 indent,
tools/testing/selftests/kvm/lib/s390/processor.c
148
void virt_arch_dump(FILE *stream, struct kvm_vm *vm, u8 indent)
tools/testing/selftests/kvm/lib/s390/processor.c
212
void vcpu_arch_dump(FILE *stream, struct kvm_vcpu *vcpu, u8 indent)
tools/testing/selftests/kvm/lib/sparsebit.c
1548
static size_t display_range(FILE *stream, sparsebit_idx_t low,
tools/testing/selftests/kvm/lib/sparsebit.c
1586
void sparsebit_dump(FILE *stream, const struct sparsebit *s,
tools/testing/selftests/kvm/lib/sparsebit.c
871
static void dump_nodes(FILE *stream, struct node *nodep,
tools/testing/selftests/kvm/lib/sparsebit.c
924
static void sparsebit_dump_internal(FILE *stream, const struct sparsebit *s,
tools/testing/selftests/kvm/lib/test_util.c
162
FILE *f;
tools/testing/selftests/kvm/lib/test_util.c
198
FILE *f;
tools/testing/selftests/kvm/lib/test_util.c
378
FILE *fp;
tools/testing/selftests/kvm/lib/test_util.c
427
FILE *fp;
tools/testing/selftests/kvm/lib/x86/processor.c
105
static void dtable_dump(FILE *stream, struct kvm_dtable *dtable,
tools/testing/selftests/kvm/lib/x86/processor.c
1124
void vcpu_arch_dump(FILE *stream, struct kvm_vcpu *vcpu, u8 indent)
tools/testing/selftests/kvm/lib/x86/processor.c
114
static void sregs_dump(FILE *stream, struct kvm_sregs *sregs, u8 indent)
tools/testing/selftests/kvm/lib/x86/processor.c
407
void virt_arch_dump(FILE *stream, struct kvm_vm *vm, u8 indent)
tools/testing/selftests/kvm/lib/x86/processor.c
65
static void regs_dump(FILE *stream, struct kvm_regs *regs, u8 indent)
tools/testing/selftests/kvm/lib/x86/processor.c
88
static void segment_dump(FILE *stream, struct kvm_segment *segment,
tools/testing/selftests/landlock/fs_test.c
133
static bool fgrep(FILE *const inf, const char *const str)
tools/testing/selftests/landlock/fs_test.c
155
FILE *const inf = fopen("/proc/filesystems", "r");
tools/testing/selftests/lsm/common.c
55
FILE *fp;
tools/testing/selftests/memfd/common.c
24
FILE *f = fopen("/proc/meminfo", "r");
tools/testing/selftests/mm/compaction_test.c
34
FILE *cmdfile = popen(cmd, "r");
tools/testing/selftests/mm/cow.c
1700
FILE *file;
tools/testing/selftests/mm/cow.c
421
FILE *file;
tools/testing/selftests/mm/gup_longterm.c
322
FILE *file;
tools/testing/selftests/mm/hugepage_settings.c
398
FILE *f;
tools/testing/selftests/mm/hugetlb-soft-offline.c
83
FILE *cmdfile = NULL;
tools/testing/selftests/mm/khugepaged.c
184
FILE *fp;
tools/testing/selftests/mm/ksm_tests.c
103
FILE *f = fopen(file_name, "r");
tools/testing/selftests/mm/map_populate.c
82
FILE *ftmp;
tools/testing/selftests/mm/mlock-random-test.c
50
FILE *f;
tools/testing/selftests/mm/mlock-random-test.c
86
FILE *smaps;
tools/testing/selftests/mm/mlock2-tests.c
100
FILE *smaps = NULL;
tools/testing/selftests/mm/mlock2-tests.c
21
FILE *file;
tools/testing/selftests/mm/mlock2-tests.c
64
FILE *smaps;
tools/testing/selftests/mm/mlock2.h
18
static FILE *seek_to_smaps_entry(unsigned long addr)
tools/testing/selftests/mm/mlock2.h
20
FILE *file;
tools/testing/selftests/mm/mremap_test.c
106
FILE *fp;
tools/testing/selftests/mm/mremap_test.c
1251
FILE *maps_fp;
tools/testing/selftests/mm/mremap_test.c
136
static bool is_range_mapped(FILE *maps_fp, unsigned long start,
tools/testing/selftests/mm/mremap_test.c
163
static bool is_ptr_mapped(FILE *maps_fp, void *ptr, unsigned long size)
tools/testing/selftests/mm/mremap_test.c
232
static void mremap_expand_merge(FILE *maps_fp, unsigned long page_size)
tools/testing/selftests/mm/mremap_test.c
271
static void mremap_expand_merge_offset(FILE *maps_fp, unsigned long page_size)
tools/testing/selftests/mm/mremap_test.c
730
static void mremap_move_multi_invalid_vmas(FILE *maps_fp,
tools/testing/selftests/mm/mremap_test.c
964
static void mremap_move_multi_invalid_vmas(FILE *maps_fp, unsigned long page_size)
tools/testing/selftests/mm/mseal_test.c
24
FILE *maps;
tools/testing/selftests/mm/pfnmap.c
62
FILE *file;
tools/testing/selftests/mm/uffd-unit-tests.c
1287
FILE *fp;
tools/testing/selftests/mm/vm_util.c
146
bool check_for_pattern(FILE *fp, const char *pattern, char *buf, size_t len)
tools/testing/selftests/mm/vm_util.c
179
FILE *fp;
tools/testing/selftests/mm/vm_util.c
200
FILE *fp;
tools/testing/selftests/mm/vm_util.c
470
FILE *f = fopen(file_path, "w");
tools/testing/selftests/mm/vm_util.c
489
FILE *f = fopen(file_path, "r");
tools/testing/selftests/mm/vm_util.c
665
FILE *f = fopen("/proc/meminfo", "r");
tools/testing/selftests/mm/vm_util.h
90
bool check_for_pattern(FILE *fp, const char *pattern, char *buf, size_t len);
tools/testing/selftests/mount_setattr/mount_setattr_test.c
299
FILE *f = NULL;
tools/testing/selftests/move_mount_set_group/move_mount_set_group_test.c
153
FILE *f = NULL;
tools/testing/selftests/mqueue/mq_open_tests.c
118
static inline int get(FILE *stream)
tools/testing/selftests/mqueue/mq_open_tests.c
127
static inline void set(FILE *stream, int value)
tools/testing/selftests/mqueue/mq_open_tests.c
56
FILE *def_msgs, *def_msgsize, *max_msgs, *max_msgsize;
tools/testing/selftests/mqueue/mq_open_tests.c
61
static inline void __set(FILE *stream, int value, char *err_msg);
tools/testing/selftests/mqueue/mq_open_tests.c
63
static inline int get(FILE *stream);
tools/testing/selftests/mqueue/mq_open_tests.c
64
static inline void set(FILE *stream, int value);
tools/testing/selftests/mqueue/mq_open_tests.c
71
static inline void __set(FILE *stream, int value, char *err_msg)
tools/testing/selftests/mqueue/mq_perf_tests.c
153
static inline void __set(FILE *stream, int value, char *err_msg);
tools/testing/selftests/mqueue/mq_perf_tests.c
157
static inline int get(FILE *stream);
tools/testing/selftests/mqueue/mq_perf_tests.c
158
static inline void set(FILE *stream, int value);
tools/testing/selftests/mqueue/mq_perf_tests.c
159
static inline int try_set(FILE *stream, int value);
tools/testing/selftests/mqueue/mq_perf_tests.c
165
static inline void __set(FILE *stream, int value, char *err_msg)
tools/testing/selftests/mqueue/mq_perf_tests.c
238
static inline int get(FILE *stream)
tools/testing/selftests/mqueue/mq_perf_tests.c
247
static inline void set(FILE *stream, int value)
tools/testing/selftests/mqueue/mq_perf_tests.c
260
static inline int try_set(FILE *stream, int value)
tools/testing/selftests/mqueue/mq_perf_tests.c
96
FILE *max_msgs, *max_msgsize;
tools/testing/selftests/mseal_system_mappings/sysmap_is_sealed.c
21
bool has_mapping(char *name, FILE *maps)
tools/testing/selftests/mseal_system_mappings/sysmap_is_sealed.c
33
bool mapping_is_sealed(char *name, FILE *maps)
tools/testing/selftests/mseal_system_mappings/sysmap_is_sealed.c
50
FILE *maps;
tools/testing/selftests/net/af_unix/scm_pidfd.c
101
FILE *f;
tools/testing/selftests/net/af_unix/scm_rights.c
125
FILE *f;
tools/testing/selftests/net/hwtstamp_config.c
39
static void list_names(FILE *f, const char **names, int size)
tools/testing/selftests/net/ovpn/ovpn-cli.c
1991
FILE *fp;
tools/testing/selftests/net/ovpn/ovpn-cli.c
348
FILE *fp;
tools/testing/selftests/net/tcp_ao/lib/ftrace.c
21
FILE *trace_pipe;
tools/testing/selftests/net/tcp_ao/lib/ftrace.c
75
FILE *opts;
tools/testing/selftests/net/tcp_ao/lib/proc.c
119
static void snmp6_read(FILE *fnetstat, struct netstat **dest)
tools/testing/selftests/net/tcp_ao/lib/proc.c
150
FILE *fnetstat;
tools/testing/selftests/net/tcp_ao/lib/proc.c
68
static void netstat_read_type(FILE *fnetstat, struct netstat **dest, char *line)
tools/testing/selftests/net/tcp_ao/lib/setup.c
314
FILE *foptmem;
tools/testing/selftests/net/tcp_ao/lib/setup.c
334
FILE *foptmem;
tools/testing/selftests/net/tcp_ao/lib/utils.c
30
FILE *f;
tools/testing/selftests/net/tcp_mmap.c
410
FILE *f = fopen("/proc/meminfo", "r");
tools/testing/selftests/net/tfo.c
52
FILE *outfile;
tools/testing/selftests/net/tls.c
3348
FILE *f;
tools/testing/selftests/nolibc/nolibc-test.c
908
FILE *f;
tools/testing/selftests/nolibc/nolibc-test.c
935
FILE *f;
tools/testing/selftests/perf_events/mmap.c
62
FILE *fp;
tools/testing/selftests/pid_namespace/pid_max.c
36
FILE *f;
tools/testing/selftests/pid_namespace/pidns_init_via_setns.c
117
FILE *gf;
tools/testing/selftests/pid_namespace/pidns_init_via_setns.c
187
FILE *f;
tools/testing/selftests/pidfd/pidfd_fdinfo_test.c
171
FILE *f;
tools/testing/selftests/pidfd/pidfd_open_test.c
91
FILE *f;
tools/testing/selftests/powerpc/benchmarks/null_syscall.c
67
FILE *f;
tools/testing/selftests/powerpc/mm/stack_expansion_ldst.c
80
FILE *f;
tools/testing/selftests/powerpc/mm/tlbie_test.c
253
static FILE *fp[MAX_THREADS];
tools/testing/selftests/powerpc/mm/tlbie_test.c
261
FILE *f;
tools/testing/selftests/powerpc/mm/tlbie_test.c
294
FILE *f = fp[tid];
tools/testing/selftests/powerpc/mm/tlbie_test.c
309
FILE *f = fp[tid];
tools/testing/selftests/powerpc/nx-gzip/gunz_test.c
274
FILE *inpf = NULL;
tools/testing/selftests/powerpc/nx-gzip/gunz_test.c
275
FILE *outf = NULL;
tools/testing/selftests/powerpc/nx-gzip/gunz_test.c
63
FILE *nx_gzip_log;
tools/testing/selftests/powerpc/nx-gzip/gzfht_test.c
68
FILE *nx_gzip_log;
tools/testing/selftests/powerpc/nx-gzip/include/nx_dbg.h
16
extern FILE * nx_gzip_log;
tools/testing/selftests/powerpc/papr_attributes/attr_test.c
78
FILE *f;
tools/testing/selftests/powerpc/pmu/lib.c
141
FILE *f;
tools/testing/selftests/powerpc/signal/sigreturn_vdso.c
31
FILE *f;
tools/testing/selftests/powerpc/utils.c
595
FILE *f;
tools/testing/selftests/prctl/set-anon-vma-name-test.c
38
FILE *maps_file;
tools/testing/selftests/prctl/set-process-name.c
57
FILE *fptr = NULL;
tools/testing/selftests/resctrl/cache.c
69
FILE *fp;
tools/testing/selftests/resctrl/cache.c
99
FILE *fp;
tools/testing/selftests/resctrl/cat_test.c
56
FILE *fp;
tools/testing/selftests/resctrl/cmt_test.c
110
FILE *fp;
tools/testing/selftests/resctrl/mba_test.c
136
FILE *fp;
tools/testing/selftests/resctrl/mbm_test.c
53
FILE *fp;
tools/testing/selftests/resctrl/resctrl.h
173
char *fgrep(FILE *inf, const char *str);
tools/testing/selftests/resctrl/resctrl_tests.c
31
FILE *inf;
tools/testing/selftests/resctrl/resctrl_val.c
122
FILE *fp;
tools/testing/selftests/resctrl/resctrl_val.c
192
FILE *fp;
tools/testing/selftests/resctrl/resctrl_val.c
420
static FILE *open_mem_bw_resctrl(const char *mbm_bw_file)
tools/testing/selftests/resctrl/resctrl_val.c
422
FILE *fp;
tools/testing/selftests/resctrl/resctrl_val.c
434
static int get_mem_bw_resctrl(FILE *fp, unsigned long *mbm_total)
tools/testing/selftests/resctrl/resctrl_val.c
514
FILE *fp;
tools/testing/selftests/resctrl/resctrl_val.c
556
FILE *mem_bw_fp;
tools/testing/selftests/resctrl/resctrlfs.c
136
FILE *fp;
tools/testing/selftests/resctrl/resctrlfs.c
166
FILE *fp = fopen(name, "r");
tools/testing/selftests/resctrl/resctrlfs.c
198
FILE *fp;
tools/testing/selftests/resctrl/resctrlfs.c
20
FILE *mounts;
tools/testing/selftests/resctrl/resctrlfs.c
275
FILE *fp;
tools/testing/selftests/resctrl/resctrlfs.c
343
FILE *fp;
tools/testing/selftests/resctrl/resctrlfs.c
382
FILE *fp;
tools/testing/selftests/resctrl/resctrlfs.c
616
FILE *fp;
tools/testing/selftests/resctrl/resctrlfs.c
767
FILE *inf = fopen("/proc/filesystems", "r");
tools/testing/selftests/resctrl/resctrlfs.c
802
char *fgrep(FILE *inf, const char *str)
tools/testing/selftests/resctrl/resctrlfs.c
859
FILE *inf;
tools/testing/selftests/resctrl/resctrlfs.c
909
FILE *fp;
tools/testing/selftests/safesetid/safesetid-test.c
111
FILE *fd;
tools/testing/selftests/safesetid/safesetid-test.c
140
FILE *fd;
tools/testing/selftests/sched_ext/nohz_tick.c
53
FILE *file;
tools/testing/selftests/sched_ext/rt_stall.c
88
FILE *file;
tools/testing/selftests/sched_ext/total_bw.c
111
FILE *fp;
tools/testing/selftests/sched_ext/total_bw.c
133
FILE *fp;
tools/testing/selftests/sched_ext/total_bw.c
75
FILE *fp;
tools/testing/selftests/seccomp/seccomp_bpf.c
4501
FILE *f;
tools/testing/selftests/seccomp/seccomp_bpf.c
5081
FILE *f;
tools/testing/selftests/seccomp/seccomp_bpf.c
5110
FILE *f;
tools/testing/selftests/sgx/main.c
182
FILE *maps_file;
tools/testing/selftests/sparc64/drivers/adi-test.c
136
FILE *fp;
tools/testing/selftests/timens/procfs.c
71
FILE *proc;
tools/testing/selftests/timens/procfs.c
96
FILE *proc;
tools/testing/selftests/tty/tty_tiocsti_test.c
346
FILE *fp;
tools/testing/selftests/tty/tty_tiocsti_test.c
368
FILE *fp;
tools/testing/selftests/tty/tty_tstamp_update.c
30
FILE *f;
tools/testing/selftests/user_events/abi_test.c
59
FILE *fp;
tools/testing/selftests/user_events/ftrace_test.c
53
static int skip_until_empty_line(FILE *fp)
tools/testing/selftests/user_events/ftrace_test.c
74
FILE *fp = fopen(fmt_file, "r");
tools/testing/selftests/user_events/perf_test.c
40
FILE *fp = fopen(id_file, "r");
tools/testing/selftests/user_events/perf_test.c
57
FILE *fp = fopen(fmt_file, "r");
tools/testing/selftests/vDSO/vdso_test_correctness.c
70
FILE *maps;
tools/testing/selftests/vfio/vfio_dma_mapping_test.c
44
FILE *file;
tools/testing/selftests/wireguard/qemu/init.c
130
FILE *file;
tools/testing/selftests/x86/lam.c
1131
FILE *cmd = popen(command, "r");
tools/testing/selftests/x86/test_mremap_vdso.c
64
bool vdso_sealed(FILE *maps)
tools/testing/selftests/x86/test_mremap_vdso.c
87
FILE *maps;
tools/testing/selftests/x86/test_shadow_stack.c
741
FILE *f;
tools/testing/selftests/x86/test_shadow_stack.c
779
FILE *f;
tools/testing/selftests/x86/test_vsyscall.c
416
FILE *maps;
tools/testing/vsock/util.c
909
FILE *f;
tools/testing/vsock/vsock_diag_test.c
106
static void print_vsock_stats(FILE *fp, struct list_head *head)
tools/testing/vsock/vsock_diag_test.c
81
static void print_vsock_addr(FILE *fp, unsigned int cid, unsigned int port)
tools/testing/vsock/vsock_diag_test.c
94
static void print_vsock_stat(FILE *fp, struct vsock_stat *st)
tools/testing/vsock/vsock_test.c
1753
FILE *f;
tools/thermal/thermometer/thermometer.c
311
FILE *tz_file;
tools/thermal/thermometer/thermometer.c
361
FILE *f;
tools/thermal/thermometer/thermometer.c
58
FILE *file_out;
tools/thermal/tmon/sysfs.c
35
FILE *fd;
tools/thermal/tmon/sysfs.c
59
FILE *fd;
tools/thermal/tmon/sysfs.c
78
FILE *fd;
tools/thermal/tmon/tmon.c
41
FILE *tmon_log;
tools/thermal/tmon/tmon.h
142
extern FILE *tmon_log;
tools/tracing/rtla/src/utils.c
731
FILE *fp;
tools/usb/testusb.c
134
static int testdev_ffs_ifnum(FILE *fd)
tools/usb/testusb.c
157
static int testdev_ifnum(FILE *fd)
tools/usb/testusb.c
241
FILE *fd;
tools/usb/usbip/libsrc/names.c
291
static void parse(FILE *f)
tools/usb/usbip/libsrc/names.c
477
FILE *f;
tools/usb/usbip/libsrc/usbip_device_driver.c
73
FILE *fd = NULL;
tools/usb/usbip/libsrc/vhci_driver.c
191
FILE *file;
tools/usb/usbip/src/usbipd.c
470
FILE *fp;
tools/wmi/dell-smbios-example.c
145
FILE *f;
tools/wmi/dell-smbios-example.c
58
FILE *f;
usr/gen_init_cpio.c
647
FILE *cpio_list;