Lines Matching refs:feat_fd
91 static int __do_write_fd(struct feat_fd *ff, const void *buf, size_t size)
100 static int __do_write_buf(struct feat_fd *ff, const void *buf, size_t size)
129 int do_write(struct feat_fd *ff, const void *buf, size_t size)
137 static int do_write_bitmap(struct feat_fd *ff, unsigned long *set, u64 size)
156 int write_padded(struct feat_fd *ff, const void *bf,
172 static int do_write_string(struct feat_fd *ff, const char *str)
188 static int __do_read_fd(struct feat_fd *ff, void *addr, ssize_t size)
197 static int __do_read_buf(struct feat_fd *ff, void *addr, ssize_t size)
209 static int __do_read(struct feat_fd *ff, void *addr, ssize_t size)
216 static int do_read_u32(struct feat_fd *ff, u32 *addr)
229 static int do_read_u64(struct feat_fd *ff, u64 *addr)
242 static char *do_read_string(struct feat_fd *ff)
268 static int do_read_bitmap(struct feat_fd *ff, unsigned long **pset, u64 *psize)
297 static int write_tracing_data(struct feat_fd *ff,
306 static int write_build_id(struct feat_fd *ff,
330 static int write_hostname(struct feat_fd *ff,
343 static int write_osrelease(struct feat_fd *ff,
356 static int write_arch(struct feat_fd *ff,
369 static int write_version(struct feat_fd *ff,
375 static int __write_cpudesc(struct feat_fd *ff, const char *cpuinfo_proc)
430 static int write_cpudesc(struct feat_fd *ff,
464 static int write_nrcpus(struct feat_fd *ff,
486 static int write_event_desc(struct feat_fd *ff,
542 static int write_cmdline(struct feat_fd *ff,
571 static int write_cpu_topology(struct feat_fd *ff,
643 static int write_total_mem(struct feat_fd *ff,
672 static int write_numa_topology(struct feat_fd *ff,
726 static int write_pmu_mappings(struct feat_fd *ff,
775 static int write_group_desc(struct feat_fd *ff,
856 static int write_cpuid(struct feat_fd *ff,
869 static int write_branch_stack(struct feat_fd *ff __maybe_unused,
875 static int write_auxtrace(struct feat_fd *ff,
892 static int write_clockid(struct feat_fd *ff,
899 static int write_clock_data(struct feat_fd *ff,
933 static int write_dir_format(struct feat_fd *ff,
949 static int write_bpf_prog_info(struct feat_fd *ff,
991 static int write_bpf_prog_info(struct feat_fd *ff __maybe_unused,
998 static int write_bpf_btf(struct feat_fd *ff,
1163 static int write_cache(struct feat_fd *ff,
1216 static int write_stat(struct feat_fd *ff __maybe_unused,
1222 static int write_sample_time(struct feat_fd *ff,
1358 static int write_mem_topology(struct feat_fd *ff __maybe_unused,
1408 static int write_compressed(struct feat_fd *ff __maybe_unused,
1432 static int write_cpu_pmu_caps(struct feat_fd *ff,
1464 static void print_hostname(struct feat_fd *ff, FILE *fp)
1469 static void print_osrelease(struct feat_fd *ff, FILE *fp)
1474 static void print_arch(struct feat_fd *ff, FILE *fp)
1479 static void print_cpudesc(struct feat_fd *ff, FILE *fp)
1484 static void print_nrcpus(struct feat_fd *ff, FILE *fp)
1490 static void print_version(struct feat_fd *ff, FILE *fp)
1495 static void print_cmdline(struct feat_fd *ff, FILE *fp)
1524 static void print_cpu_topology(struct feat_fd *ff, FILE *fp)
1581 static void print_clockid(struct feat_fd *ff, FILE *fp)
1587 static void print_clock_data(struct feat_fd *ff, FILE *fp)
1630 static void print_dir_format(struct feat_fd *ff, FILE *fp)
1641 static void print_bpf_prog_info(struct feat_fd *ff, FILE *fp)
1665 static void print_bpf_btf(struct feat_fd *ff, FILE *fp)
1736 static struct evsel *read_event_desc(struct feat_fd *ff)
1823 static void print_event_desc(struct feat_fd *ff, FILE *fp)
1861 static void print_total_mem(struct feat_fd *ff, FILE *fp)
1866 static void print_numa_topology(struct feat_fd *ff, FILE *fp)
1883 static void print_cpuid(struct feat_fd *ff, FILE *fp)
1888 static void print_branch_stack(struct feat_fd *ff __maybe_unused, FILE *fp)
1893 static void print_auxtrace(struct feat_fd *ff __maybe_unused, FILE *fp)
1898 static void print_stat(struct feat_fd *ff __maybe_unused, FILE *fp)
1903 static void print_cache(struct feat_fd *ff, FILE *fp __maybe_unused)
1914 static void print_compressed(struct feat_fd *ff, FILE *fp)
1921 static void print_cpu_pmu_caps(struct feat_fd *ff, FILE *fp)
1942 static void print_pmu_mappings(struct feat_fd *ff, FILE *fp)
1978 static void print_group_desc(struct feat_fd *ff, FILE *fp)
2000 static void print_sample_time(struct feat_fd *ff, FILE *fp)
2035 static void print_mem_topology(struct feat_fd *ff, FILE *fp)
2212 static int process_##__feat(struct feat_fd *ff, void *data __maybe_unused) \
2225 static int process_tracing_data(struct feat_fd *ff, void *data)
2232 static int process_build_id(struct feat_fd *ff, void *data __maybe_unused)
2239 static int process_nrcpus(struct feat_fd *ff, void *data __maybe_unused)
2256 static int process_total_mem(struct feat_fd *ff, void *data __maybe_unused)
2301 process_event_desc(struct feat_fd *ff, void *data __maybe_unused)
2326 static int process_cmdline(struct feat_fd *ff, void *data __maybe_unused)
2364 static int process_cpu_topology(struct feat_fd *ff, void *data __maybe_unused)
2498 static int process_numa_topology(struct feat_fd *ff, void *data __maybe_unused)
2544 static int process_pmu_mappings(struct feat_fd *ff, void *data __maybe_unused)
2591 static int process_group_desc(struct feat_fd *ff, void *data __maybe_unused)
2675 static int process_auxtrace(struct feat_fd *ff, void *data __maybe_unused)
2689 static int process_cache(struct feat_fd *ff, void *data __maybe_unused)
2741 static int process_sample_time(struct feat_fd *ff, void *data __maybe_unused)
2762 static int process_mem_topology(struct feat_fd *ff,
2814 static int process_clockid(struct feat_fd *ff,
2823 static int process_clock_data(struct feat_fd *ff,
2857 static int process_dir_format(struct feat_fd *ff,
2873 static int process_bpf_prog_info(struct feat_fd *ff, void *data __maybe_unused)
2942 static int process_bpf_prog_info(struct feat_fd *ff __maybe_unused, void *data __maybe_unused)
2948 static int process_bpf_btf(struct feat_fd *ff, void *data __maybe_unused)
2994 static int process_compressed(struct feat_fd *ff,
3015 static int process_cpu_pmu_caps(struct feat_fd *ff,
3140 struct feat_fd ff;
3154 ff = (struct feat_fd) {
3208 static int do_write_feat(struct feat_fd *ff, int type,
3243 struct feat_fd ff;
3250 ff = (struct feat_fd){
3288 struct feat_fd ff;
3291 ff = (struct feat_fd){ .fd = fd };
3315 struct feat_fd ff;
3319 ff = (struct feat_fd){ .fd = fd};
3630 struct feat_fd fdd = {
3658 struct feat_fd ff = {
3909 struct feat_fd ff = { .fd = 0 };