Home
last modified time | relevance | path

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

12345678910>>...15

/tools/perf/util/intel-pt-decoder/
Dintel-pt-pkt-decoder.c76 static int intel_pt_get_long_tnt(const unsigned char *buf, size_t len, in intel_pt_get_long_tnt()
99 static int intel_pt_get_pip(const unsigned char *buf, size_t len, in intel_pt_get_pip()
122 static int intel_pt_get_cbr(const unsigned char *buf, size_t len, in intel_pt_get_cbr()
132 static int intel_pt_get_vmcs(const unsigned char *buf, size_t len, in intel_pt_get_vmcs()
156 static int intel_pt_get_psb(const unsigned char *buf, size_t len, in intel_pt_get_psb()
179 static int intel_pt_get_tma(const unsigned char *buf, size_t len, in intel_pt_get_tma()
197 static int intel_pt_get_mnt(const unsigned char *buf, size_t len, in intel_pt_get_mnt()
208 static int intel_pt_get_3byte(const unsigned char *buf, size_t len, in intel_pt_get_3byte()
222 static int intel_pt_get_ptwrite(const unsigned char *buf, size_t len, in intel_pt_get_ptwrite()
257 static int intel_pt_get_mwait(const unsigned char *buf, size_t len, in intel_pt_get_mwait()
[all …]
Dintel-pt-insn-decoder.c157 int intel_pt_get_insn(const unsigned char *buf, size_t len, int x86_64, in intel_pt_get_insn()
174 int arch_is_branch(const unsigned char *buf, size_t len, int x86_64) in arch_is_branch()
223 int intel_pt_insn_desc(const struct intel_pt_insn *intel_pt_insn, char *buf, in intel_pt_insn_desc()
/tools/testing/selftests/cgroup/
Dcgroup_util.c20 static ssize_t read_text(const char *path, char *buf, size_t max_len) in read_text()
39 static ssize_t write_text(const char *path, char *buf, ssize_t len) in write_text()
88 int cg_read(const char *cgroup, const char *control, char *buf, size_t len) in cg_read()
104 char *buf; in cg_read_strcmp() local
129 char buf[PAGE_SIZE]; in cg_read_strstr() local
139 char buf[128]; in cg_read_long() local
149 char buf[PAGE_SIZE]; in cg_read_key_long() local
164 char buf[PAGE_SIZE]; in cg_read_lc() local
178 int cg_write(const char *cgroup, const char *control, char *buf) in cg_write()
193 char buf[10 * PAGE_SIZE]; in cg_find_unified_root() local
[all …]
/tools/perf/util/arm-spe-decoder/
Darm-spe-pkt-decoder.c85 static int arm_spe_get_payload(const unsigned char *buf, size_t len, in arm_spe_get_payload()
112 static int arm_spe_get_alignment(const unsigned char *buf, size_t len, in arm_spe_get_alignment()
130 static int arm_spe_get_timestamp(const unsigned char *buf, size_t len, in arm_spe_get_timestamp()
137 static int arm_spe_get_events(const unsigned char *buf, size_t len, in arm_spe_get_events()
154 static int arm_spe_get_data_source(const unsigned char *buf, size_t len, in arm_spe_get_data_source()
161 static int arm_spe_get_context(const unsigned char *buf, size_t len, in arm_spe_get_context()
170 static int arm_spe_get_op_type(const unsigned char *buf, size_t len, in arm_spe_get_op_type()
178 static int arm_spe_get_counter(const unsigned char *buf, size_t len, in arm_spe_get_counter()
195 static int arm_spe_get_addr(const unsigned char *buf, size_t len, in arm_spe_get_addr()
212 static int arm_spe_do_get_packet(const unsigned char *buf, size_t len, in arm_spe_do_get_packet()
[all …]
/tools/perf/util/
Dtrace-event-read.c26 static int __do_read(int fd, void *buf, int size) in __do_read()
71 char buf[BUFSIZ]; in skip() local
101 char buf[BUFSIZ]; in read_string() local
169 char *buf; in read_ftrace_printk() local
197 char buf[BUFSIZ]; in read_header_files() local
247 char *buf; in read_ftrace_file() local
273 char *buf; in read_event_file() local
345 char *buf; in read_saved_cmdline() local
375 char buf[BUFSIZ]; in trace_report() local
Dbpf-loader.h147 __bpf_strerror(char *buf, size_t size) in __bpf_strerror()
162 char *buf, size_t size) in bpf__strerror_prepare_load()
170 char *buf, size_t size) in bpf__strerror_probe()
177 char *buf, size_t size) in bpf__strerror_load()
188 char *buf, size_t size) in bpf__strerror_config_obj()
195 char *buf, size_t size) in bpf__strerror_apply_obj_config()
202 int err __maybe_unused, char *buf, size_t size) in bpf__strerror_setup_output_event()
209 static inline int bpf__strerror_setup_stdout(struct evlist *evlist, int err, char *buf, size_t size) in bpf__strerror_setup_stdout()
Dperf_event_attr_fprintf.c15 static void __p_bits(char *buf, size_t size, u64 value, struct bit_names *bits) in __p_bits()
28 static void __p_sample_type(char *buf, size_t size, u64 value) in __p_sample_type()
45 static void __p_branch_sample_type(char *buf, size_t size, u64 value) in __p_branch_sample_type()
61 static void __p_read_format(char *buf, size_t size, u64 value) in __p_read_format()
95 char buf[BUF_SIZE]; in perf_event_attr__fprintf() local
/tools/testing/selftests/net/
Dtls.c89 char buf[10]; in TEST_F() local
202 char *buf; in TEST_F() local
221 char buf[TLS_PAYLOAD_MAX_LEN]; in chunked_sendfile() local
278 char buf[TLS_PAYLOAD_MAX_LEN]; in TEST_F() local
289 char buf[10]; in TEST_F() local
301 char buf[10 * 2]; in TEST_F() local
315 char buf[10]; in TEST_F() local
328 char buf[13]; in TEST_F() local
345 char buf[SEND_LEN * MAX_FRAGS]; in TEST_F() local
406 char *buf; in TEST_F() local
[all …]
/tools/lib/perf/
Dlib.c10 static ssize_t ion(bool is_read, int fd, void *buf, size_t n) in ion()
36 ssize_t readn(int fd, void *buf, size_t n) in readn()
44 ssize_t writen(int fd, const void *buf, size_t n) in writen()
/tools/testing/selftests/bpf/progs/
Dtest_overhead.c13 int BPF_KPROBE(prog1, struct task_struct *tsk, const char *buf, bool exec) in BPF_KPROBE()
31 int BPF_PROG(prog4, struct task_struct *tsk, const char *buf, bool exec) in BPF_PROG()
37 int BPF_PROG(prog5, struct task_struct *tsk, const char *buf, bool exec) in BPF_PROG()
Dtest_trampoline_count.c11 int BPF_PROG(prog1, struct task_struct *tsk, const char *buf, bool exec) in BPF_PROG()
17 int BPF_PROG(prog2, struct task_struct *tsk, const char *buf, bool exec) in BPF_PROG()
/tools/perf/arch/arm64/util/
Dheader.c17 static int _get_cpuid(char *buf, size_t sz, struct perf_cpu_map *cpus) in _get_cpuid()
65 int get_cpuid(char *buf, size_t sz) in get_cpuid()
82 char *buf = NULL; in get_cpuid_str() 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()
27 int scnprintf_pad(char * buf, size_t size, const char * fmt, ...) in scnprintf_pad()
/tools/bootconfig/
Dmain.c133 static int load_xbc_fd(int fd, char **buf, int size) in load_xbc_fd()
150 static int load_xbc_file(const char *path, char **buf) in load_xbc_file()
175 static int load_xbc_from_initrd(int fd, char **buf) in load_xbc_from_initrd()
263 static int init_xbc_with_error(char *buf, int len) in init_xbc_with_error()
283 char *buf = NULL; in show_xbc() local
331 char *buf = NULL; in delete_xbc() local
361 char *buf, *data, *p; in apply_xbc() local
/tools/testing/selftests/proc/
Dread.c40 char buf[4096]; in f_reg() local
53 static void f_reg_write(DIR *d, const char *filename, const char *buf, size_t len) in f_reg_write()
68 char buf[4096]; in f_lnk() local
Dsetns-dcache.c93 char buf[64]; in main() local
112 char buf[4096]; in main() local
Dsetns-sysvipc.c92 char buf[64]; in main() local
111 char buf[4096]; in main() 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/bpf/bpftool/
Dperf.c26 char buf[256]; in has_perf_query_support() local
64 char *buf, __u64 probe_offset, __u64 probe_addr) in print_perf_json()
114 char *buf, __u64 probe_offset, __u64 probe_addr) in print_perf_plain()
157 char buf[4096]; in show_proc() local
/tools/testing/selftests/powerpc/nx-gzip/
Dgzfht_test.c125 int gzip_header_blank(char *buf) in gzip_header_blank()
144 int read_alloc_input_file(char *fname, char **buf, size_t *bufsize) in read_alloc_input_file()
172 int write_output_file(char *fname, char *buf, size_t bufsize) in write_output_file()
195 int append_sync_flush(char *buf, int tebc, int final) in append_sync_flush()
223 static void set_bfinal(void *buf, int bfinal) in set_bfinal()
/tools/perf/arch/
Dcommon.c96 char buf[PATH_MAX]; in lookup_path() local
122 char buf[PATH_MAX]; in lookup_triplets() local
138 char *buf = NULL; in perf_env__lookup_binutils_path() local
/tools/testing/selftests/bpf/prog_tests/
Dxdp_adjust_tail.c11 char buf[128]; in test_xdp_adjust_tail_shrink() local
37 char buf[4096]; /* avoid segfault: large buf to hold grow results */ in test_xdp_adjust_tail_grow() local
64 char buf[4096]; /* avoid segfault: large buf to hold grow results */ in test_xdp_adjust_tail_grow2() local
/tools/perf/ui/gtk/
Dhists.c23 char *buf = hpp->buf; in __percent_color_snprintf() local
117 char buf[128]; in perf_gtk__add_callchain_flat() local
138 char buf[128]; in perf_gtk__add_callchain_flat() local
169 char buf[64]; in perf_gtk__add_callchain_folded() local
239 char buf[128]; in perf_gtk__add_callchain_graph() local
474 char buf[32]; in perf_gtk__add_hierarchy_entries() local
509 char buf[512]; in perf_gtk__show_hierarchy() local
641 char buf[512]; in perf_evlist__gtk_browse_hists() local
/tools/testing/selftests/netfilter/
Dnf-queue.c121 nfq_build_cfg_request(char *buf, uint8_t command, int queue_num) in nfq_build_cfg_request()
145 nfq_build_cfg_params(char *buf, uint8_t mode, int range, int queue_num) in nfq_build_cfg_params()
168 nfq_build_verdict(char *buf, int id, int queue_num, uint32_t verd) in nfq_build_verdict()
209 char buf[MNL_SOCKET_BUFFER_SIZE]; in open_queue() local
276 char *buf; in mainloop() local
/tools/perf/arch/arm/tests/
Ddwarf-unwind.c19 u64 stack_size, *buf; in sample_ustack() local
49 u64 *buf; in test__arch_unwind_sample() local

12345678910>>...15