Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 182) sorted by relevance

12345678

/tools/perf/util/intel-pt-decoder/
Dintel-pt-pkt-decoder.c81 static int intel_pt_get_long_tnt(const unsigned char *buf, size_t len, in intel_pt_get_long_tnt()
104 static int intel_pt_get_pip(const unsigned char *buf, size_t len, in intel_pt_get_pip()
127 static int intel_pt_get_cbr(const unsigned char *buf, size_t len, in intel_pt_get_cbr()
137 static int intel_pt_get_vmcs(const unsigned char *buf, size_t len, in intel_pt_get_vmcs()
161 static int intel_pt_get_psb(const unsigned char *buf, size_t len, in intel_pt_get_psb()
184 static int intel_pt_get_tma(const unsigned char *buf, size_t len, in intel_pt_get_tma()
202 static int intel_pt_get_mnt(const unsigned char *buf, size_t len, in intel_pt_get_mnt()
213 static int intel_pt_get_3byte(const unsigned char *buf, size_t len, in intel_pt_get_3byte()
227 static int intel_pt_get_ptwrite(const unsigned char *buf, size_t len, in intel_pt_get_ptwrite()
262 static int intel_pt_get_mwait(const unsigned char *buf, size_t len, in intel_pt_get_mwait()
[all …]
Dintel-pt-insn-decoder.c166 int intel_pt_get_insn(const unsigned char *buf, size_t len, int x86_64, in intel_pt_get_insn()
224 int intel_pt_insn_desc(const struct intel_pt_insn *intel_pt_insn, char *buf, in intel_pt_insn_desc()
/tools/perf/util/
Dtrace-event-read.c45 static int __do_read(int fd, void *buf, int size) in __do_read()
90 char buf[BUFSIZ]; in skip() local
120 char buf[BUFSIZ]; in read_string() local
188 char *buf; in read_ftrace_printk() local
216 char buf[BUFSIZ]; in read_header_files() local
266 char *buf; in read_ftrace_file() local
292 char *buf; in read_event_file() local
366 char *buf; in read_saved_cmdline() local
395 char buf[BUFSIZ]; in trace_report() local
Dbpf-loader.h142 __bpf_strerror(char *buf, size_t size) in __bpf_strerror()
157 char *buf, size_t size) in bpf__strerror_prepare_load()
165 char *buf, size_t size) in bpf__strerror_probe()
172 char *buf, size_t size) in bpf__strerror_load()
183 char *buf, size_t size) in bpf__strerror_config_obj()
190 char *buf, size_t size) in bpf__strerror_apply_obj_config()
197 int err __maybe_unused, char *buf, in bpf__strerror_setup_stdout()
Dprobe-file.c83 char buf[PATH_MAX]; in open_trace_file() local
145 char buf[MAX_CMDLEN]; in probe_file__get_rawlist() local
194 char buf[128]; in __probe_file__get_namelist() local
238 char *buf = synthesize_probe_trace_command(tev); in probe_file__add_event() local
262 char buf[128]; in __del_trace_probe_event() local
478 char buf[MAX_CMDLEN], *p; in probe_cache__load() local
727 static int synthesize_sdt_probe_arg(struct strbuf *buf, int i, const char *arg) in synthesize_sdt_probe_arg()
776 struct strbuf buf; in synthesize_sdt_probe_command() local
812 char *buf; in probe_cache__scan_sdt() local
929 char buf[128], *ptr = entry->spev; in probe_cache_entry__compare() local
[all …]
Dtarget.c72 char buf[1024]; in target__parse_uid() local
117 char *buf, size_t buflen) in target__strerror()
Ddemangle-java.c45 __demangle_java_sym(const char *str, const char *end, char *buf, int maxlen, int mode) in __demangle_java_sym()
159 char *buf, *ptr; in java_demangle_sym() local
/tools/testing/selftests/timers/
Dclocksource-switch.c44 char buf[512]; in get_clocksources() local
75 int get_cur_clocksource(char *buf, size_t size) in get_cur_clocksource()
109 char buf[255]; in run_tests() local
/tools/perf/arch/
Dcommon.c87 char buf[PATH_MAX]; in lookup_path() local
113 char buf[PATH_MAX]; in lookup_triplets() local
160 char *buf = NULL; in perf_env__lookup_binutils_path() local
/tools/perf/ui/gtk/
Dhists.c21 char *buf = hpp->buf; in __percent_color_snprintf() local
115 char buf[128]; in perf_gtk__add_callchain_flat() local
136 char buf[128]; in perf_gtk__add_callchain_flat() local
167 char buf[64]; in perf_gtk__add_callchain_folded() local
237 char buf[128]; in perf_gtk__add_callchain_graph() local
471 char buf[32]; in perf_gtk__add_hierarchy_entries() local
506 char buf[512]; in perf_gtk__show_hierarchy() local
638 char buf[512]; in perf_evlist__gtk_browse_hists() local
/tools/perf/arch/powerpc/tests/
Ddwarf-unwind.c19 u64 stack_size, *buf; in sample_ustack() local
49 u64 *buf; in test__arch_unwind_sample() local
/tools/lib/
Dvsprintf.c6 int vscnprintf(char *buf, size_t size, const char *fmt, va_list args) in vscnprintf()
14 int scnprintf(char * buf, size_t size, const char * fmt, ...) in scnprintf()
/tools/perf/arch/arm/tests/
Ddwarf-unwind.c18 u64 stack_size, *buf; in sample_ustack() local
48 u64 *buf; in test__arch_unwind_sample() local
/tools/perf/arch/x86/tests/
Ddwarf-unwind.c19 u64 stack_size, *buf; in sample_ustack() local
49 u64 *buf; in test__arch_unwind_sample() local
/tools/perf/arch/arm64/tests/
Ddwarf-unwind.c18 u64 stack_size, *buf; in sample_ustack() local
48 u64 *buf; in test__arch_unwind_sample() local
/tools/vm/
Dpage_owner_sort.c32 int read_block(char *buf, int buf_size, FILE *fin) in read_block()
59 static void add_list(char *buf, int len) in add_list()
88 char *buf; in main() local
Dpage-types.c256 uint64_t *buf, in do_u64_read()
276 static unsigned long kpageflags_read(uint64_t *buf, in kpageflags_read()
283 static unsigned long kpagecgroup_read(uint64_t *buf, in kpagecgroup_read()
293 static unsigned long pagemap_read(uint64_t *buf, in pagemap_read()
323 static char buf[65]; in page_flag_name() local
342 static char buf[1024]; in page_flag_longname() local
513 char buf[MAX_PATH + 1]; in prepare_hwpoison_fd() local
536 char buf[100]; in hwpoison_page() local
550 char buf[100]; in unpoison_page() local
624 uint64_t buf[KPAGEFLAGS_BATCH]; in walk_pfn() local
[all …]
/tools/testing/selftests/x86/
Dmpx-mini-test.c53 char buf[100]; in write_int_to() local
1030 static __always_inline void mpx_test_helper0(uint8_t *buf, uint8_t *ptr) in mpx_test_helper0()
1035 static __always_inline void mpx_test_helper0_shadow(uint8_t *buf, uint8_t *ptr) in mpx_test_helper0_shadow()
1040 static __always_inline void mpx_test_helper1(uint8_t *buf, uint8_t *ptr) in mpx_test_helper1()
1050 static __always_inline void mpx_test_helper1_shadow(uint8_t *buf, uint8_t *ptr) in mpx_test_helper1_shadow()
1056 static __always_inline void mpx_test_helper2(uint8_t *buf, uint8_t *ptr) in mpx_test_helper2()
1064 static __always_inline void mpx_test_helper2_shadow(uint8_t *buf, uint8_t *ptr) in mpx_test_helper2_shadow()
1072 static __always_inline void mpx_test_helper3(uint8_t *buf, uint8_t *ptr) in mpx_test_helper3()
1077 static __always_inline void mpx_test_helper3_shadow(uint8_t *buf, uint8_t *ptr) in mpx_test_helper3_shadow()
1082 static __always_inline void mpx_test_helper4(uint8_t *buf, uint8_t *ptr) in mpx_test_helper4()
[all …]
/tools/testing/selftests/ia64/
Daliasing-test.c70 struct stat buf; in scan_tree() local
120 char buf[1024]; variable
155 struct stat buf; in scan_rom() local
/tools/perf/tests/
Ddso-data.c24 unsigned char *buf; in test_file() local
136 u8 buf[10]; in test__dso_data() local
150 u8 *buf; in test__dso_data() local
283 u8 buf[BUFSIZE]; in test__dso_data_cache() local
Dcode-reading.c42 static size_t read_objdump_chunk(const char **line, unsigned char **buf, in read_objdump_chunk()
95 static size_t read_objdump_line(const char *line, unsigned char *buf, in read_objdump_line()
124 static int read_objdump_output(FILE *f, void *buf, size_t *len, u64 start_addr) in read_objdump_output()
176 static int read_via_objdump(const char *filename, u64 addr, void *buf, in read_via_objdump()
213 static void dump_buf(unsigned char *buf, size_t len) in dump_buf()
432 int buf[40960], i; in do_sort_something() local
/tools/testing/selftests/memfd/
Dfuse_mnt.c46 void *buf, in memfd_readdir()
76 char *buf, in memfd_read()
Dmemfd_test.c223 char buf[512]; in mfd_assert_open() local
238 char buf[512]; in mfd_fail_open() local
251 char buf[16]; in mfd_assert_read() local
513 static char *buf; in mfd_assert_grow_write() local
533 static char *buf; in mfd_fail_grow_write() local
598 char buf[2048]; in test_create() local
/tools/spi/
Dspidev_fdx.c20 unsigned char buf[32], *bp; in do_read() local
52 unsigned char buf[32], *bp; in do_msg() local
/tools/lib/api/fs/
Dfs.c345 int filename__read_str(const char *filename, char **buf, size_t *sizep) in filename__read_str()
396 char buf[64]; in filename__write_int() local
409 int procfs__read_str(const char *entry, char **buf, size_t *sizep) in procfs__read_str()
448 int sysfs__read_str(const char *entry, char **buf, size_t *sizep) in sysfs__read_str()
463 char *buf; in sysfs__read_bool() local

12345678