Home
last modified time | relevance | path

Searched defs:len (Results 1 – 25 of 105) sorted by relevance

12345

/tools/perf/util/intel-pt-decoder/
Dintel-pt-pkt-decoder.c74 static int intel_pt_get_long_tnt(const unsigned char *buf, size_t len, in intel_pt_get_long_tnt()
97 static int intel_pt_get_pip(const unsigned char *buf, size_t len, in intel_pt_get_pip()
120 static int intel_pt_get_cbr(const unsigned char *buf, size_t len, in intel_pt_get_cbr()
130 static int intel_pt_get_vmcs(const unsigned char *buf, size_t len, in intel_pt_get_vmcs()
154 static int intel_pt_get_psb(const unsigned char *buf, size_t len, in intel_pt_get_psb()
177 static int intel_pt_get_tma(const unsigned char *buf, size_t len, in intel_pt_get_tma()
195 static int intel_pt_get_mnt(const unsigned char *buf, size_t len, in intel_pt_get_mnt()
206 static int intel_pt_get_3byte(const unsigned char *buf, size_t len, in intel_pt_get_3byte()
220 static int intel_pt_get_ext(const unsigned char *buf, size_t len, in intel_pt_get_ext()
271 size_t len, struct intel_pt_pkt *packet) in intel_pt_get_cyc()
[all …]
Dintel-pt-log.c52 static void intel_pt_print_data(const unsigned char *buf, int len, uint64_t pos, in intel_pt_print_data()
117 size_t len = intel_pt_insn->length; in __intel_pt_log_insn() local
/tools/perf/util/
Dpath.c34 size_t len = (ret >= size) ? size - 1 : ret; in strlcpy() local
65 size_t len; in perf_vsnpath() local
95 unsigned len; in mkpath() local
111 unsigned len; in perf_path() local
128 static inline int chomp_trailing_dir_sep(const char *path, int len) in chomp_trailing_dir_sep()
Dstrbuf.c54 static void strbuf_splice(struct strbuf *sb, size_t pos, size_t len, in strbuf_splice()
73 void strbuf_remove(struct strbuf *sb, size_t pos, size_t len) in strbuf_remove()
78 void strbuf_add(struct strbuf *sb, const void *data, size_t len) in strbuf_add()
87 int len; in strbuf_addv() local
Dstrbuf.h47 size_t len; member
65 static inline void strbuf_setlen(struct strbuf *sb, size_t len) { in strbuf_setlen()
Dstrfilter.c246 int len; in strfilter_node__sprint_pt() local
261 int len = 0, rlen; in strfilter_node__sprint() local
295 int len; in strfilter__string() local
Dzlib.c18 int len; in gzip_decompress_to_file() local
Dquote.c29 size_t len = strcspn(src, "'!"); in sq_quote_buf() local
Dhelp.h8 size_t len; /* also used for similarity index in help.c */ member
/tools/net/
Dbpf_jit_disasm.c37 ssize_t len; in get_exec_path() local
51 static void get_asm_insns(uint8_t *image, size_t len, int opcodes) in get_asm_insns()
97 int ret, len; in get_klog_buff() local
117 int fd, ret, len; in get_flog_buff() local
235 unsigned int len, klen, opt, opcodes = 0; in main() local
Dbpf_dbg.c119 uint32_t len; member
187 int len = strlen(cmd); in matches() local
195 static void hex_dump(const uint8_t *buf, size_t len) in hex_dump()
480 static void bpf_disasm_all(const struct sock_filter *f, unsigned int len) in bpf_disasm_all()
488 static void bpf_dump_all(const struct sock_filter *f, unsigned int len) in bpf_dump_all()
498 static bool bpf_runnable(struct sock_filter *f, unsigned int len) in bpf_runnable()
1256 int i, ret = 0, len; in execf() local
1277 static int list_index, len; in shell_comp_gen() local
/tools/testing/selftests/breakpoints/
Dbreakpoint_test.c51 static void toggle_breakpoint(int n, int type, int len, in toggle_breakpoint()
145 static void write_var(int len) in write_var()
173 static void read_var(int len) in read_var()
203 int len, local, global, i; in trigger_tests() local
304 static void launch_watchpoints(char *buf, int mode, int len, in launch_watchpoints()
330 int len, local, global, i; in launch_tests() local
/tools/power/cpupower/bench/
Dparse.c67 int len; in prepare_output() local
160 size_t len = 0; in prepare_config() local
/tools/power/cpupower/lib/
Dsysfs.c64 const char *value, size_t len) in sysfs_cpufreq_write_file()
118 unsigned int len; in sysfs_cpufreq_get_one_value() local
158 unsigned int len; in sysfs_cpufreq_get_one_string() local
197 const char *new_value, size_t len) in sysfs_cpufreq_write_one_value()
277 unsigned int len; in sysfs_get_freq_available_governors() local
334 unsigned int len; in sysfs_get_available_frequencies() local
390 unsigned int len; in sysfs_get_cpu_list() local
455 unsigned int len; in sysfs_get_freq_stats() local
/tools/lib/traceevent/
Dtrace-seq.c127 int len; in trace_seq_printf() local
163 int len; in trace_seq_vprintf() local
195 int len; in trace_seq_puts() local
Dplugin_scsi.c155 scsi_trace_rw6(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw6()
172 scsi_trace_rw10(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw10()
196 scsi_trace_rw12(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw12()
218 scsi_trace_rw16(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw16()
248 scsi_trace_rw32(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw32()
302 scsi_trace_unmap(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_unmap()
313 scsi_trace_service_action_in(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_service_action_in()
353 scsi_trace_varlen(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_varlen()
367 scsi_trace_misc(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_misc()
377 scsi_trace_parse_cdb(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_parse_cdb()
/tools/testing/selftests/powerpc/copyloops/
Dvalidate.c17 unsigned long dst_off, unsigned long len, void *redzone, in do_one()
65 unsigned long len, src_off, dst_off; in test_copy_loop() local
/tools/usb/usbip/libsrc/
Dsysfs_utils.c10 size_t len) in write_sysfs_attribute()
/tools/perf/ui/
Dhist.c19 hpp_field_fn get_field, const char *fmt, int len, in __hpp__fmt()
111 int len = fmt->user_len ?: fmt->len; in hpp__fmt() local
131 int len = fmt->user_len ?: fmt->len; in hpp__fmt_acc() local
219 int len = fmt->user_len ?: fmt->len; in hpp__width_fn() local
233 int len = hpp__width_fn(fmt, hpp, evsel); in hpp__header_fn() local
242 int ret, len; in hpp_color_scnprintf() local
685 int len = strtol(ptr, &p, 10); in perf_hpp__set_user_width() local
/tools/perf/tests/
Dcode-reading.c37 size_t len) in read_objdump_line()
76 static int read_objdump_output(FILE *f, void *buf, size_t *len, u64 start_addr) in read_objdump_output()
129 size_t len) in read_via_objdump()
165 static void dump_buf(unsigned char *buf, size_t len) in dump_buf()
177 static int read_object_code(u64 addr, size_t len, u8 cpumode, in read_object_code()
/tools/vm/
Dpage_owner_sort.c20 int len; member
58 static void add_list(char *buf, int len) in add_list()
/tools/perf/
Dbuiltin-help.c177 size_t len = strlen(name); in add_man_viewer() local
185 static int supported_man_viewer(const char *name, size_t len) in supported_man_viewer()
193 size_t len, in do_add_man_viewer_info()
205 size_t len, in add_man_viewer_path()
219 size_t len, in add_man_viewer_cmd()
/tools/power/cpupower/utils/helpers/
Dsysfs.c161 const char *value, size_t len) in sysfs_idlestate_write_file()
209 unsigned int len; in sysfs_idlestate_get_one_value() local
250 unsigned int len; in sysfs_idlestate_get_one_string() local
417 unsigned int len; in sysfs_cpuidle_get_one_string() local
/tools/lib/symbol/
Dkallsyms.c27 int line_len, len; in kallsyms__parse() local
/tools/perf/ui/tui/
Dutil.c75 int x, y, len, key; in ui_browser__input_window() local
174 int len; in ui__question_window() local

12345