| /tools/perf/util/intel-pt-decoder/ |
| D | intel-pt-pkt-decoder.c | 76 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 …]
|
| /tools/perf/util/ |
| D | arm-spe-pkt-decoder.c | 85 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 …]
|
| D | demangle-rust.c | 79 size_t len, len_without_hash; in rust_is_mangled() local 129 static bool looks_like_rust(const char *str, size_t len) in looks_like_rust() 258 size_t len = strlen(seq); in unescape() local
|
| D | print_binary.c | 6 int binary__fprintf(unsigned char *data, size_t len, in binary__fprintf() 44 int is_printable_array(char *p, unsigned int len) in is_printable_array()
|
| D | strbuf.h | 52 size_t len; member 70 static inline int strbuf_setlen(struct strbuf *sb, size_t len) { in strbuf_setlen()
|
| D | cputopo.c | 36 size_t len = 0; in build_cpu_topology() local 238 size_t len = 0; in load_numa_node() local 299 size_t len = 0; in numa_topology__new() local
|
| /tools/perf/examples/bpf/ |
| D | augmented_raw_syscalls.c | 90 static inline int augmented__output(void *ctx, struct augmented_args_payload *args, int len) in augmented__output() 141 unsigned int len = sizeof(augmented_args->args); in sys_enter_connect() local 160 unsigned int len = sizeof(augmented_args->args); in sys_enter_sendto() local 178 unsigned int len = sizeof(augmented_args->args); in sys_enter_open() local 193 unsigned int len = sizeof(augmented_args->args); in sys_enter_openat() local 209 unsigned int len = sizeof(augmented_args->args), oldpath_len; in sys_enter_rename() local 226 unsigned int len = sizeof(augmented_args->args), oldpath_len; in sys_enter_renameat() local 250 unsigned int len = sizeof(augmented_args->args); in sys_enter() local
|
| /tools/testing/selftests/proc/ |
| D | proc-uptime-002.c | 33 static inline int sys_sched_getaffinity(pid_t pid, unsigned int len, unsigned long *m) in sys_sched_getaffinity() 38 static inline int sys_sched_setaffinity(pid_t pid, unsigned int len, unsigned long *m) in sys_sched_setaffinity() 45 unsigned int len; in main() local
|
| /tools/testing/selftests/cgroup/ |
| D | cgroup_util.c | 21 ssize_t len; in read_text() local 38 static ssize_t write_text(const char *path, char *buf, ssize_t len) in write_text() 59 size_t len = strlen(root) + strlen(name) + 2; in cg_name() local 69 size_t len = strlen(root) + strlen(name) + 10; in cg_name_indexed() local 79 size_t len = strlen(cgroup) + strlen(control) + 2; in cg_control() local 87 int cg_read(const char *cgroup, const char *control, char *buf, size_t len) in cg_read() 164 ssize_t len = strlen(buf); in cg_write() local 174 int cg_find_unified_root(char *root, size_t len) in cg_find_unified_root() 395 int fd, len; in set_oom_adj_score() local
|
| /tools/testing/selftests/breakpoints/ |
| D | breakpoint_test.c | 53 static void toggle_breakpoint(int n, int type, int len, in toggle_breakpoint() 147 static void write_var(int len) in write_var() 175 static void read_var(int len) in read_var() 205 int len, local, global, i; in trigger_tests() local 307 static void launch_watchpoints(char *buf, int mode, int len, in launch_watchpoints() 335 int len, local, global, i; in launch_tests() local
|
| /tools/bpf/ |
| D | bpf_jit_disasm.c | 38 ssize_t len; in get_exec_path() local 52 static void get_asm_insns(uint8_t *image, size_t len, int opcodes) in get_asm_insns() 105 int ret, len; in get_klog_buff() local 128 int fd, ret, len; in get_flog_buff() local 263 unsigned int len, klen, opt, opcodes = 0; in main() local
|
| /tools/power/acpi/tools/acpidbg/ |
| D | acpidbg.c | 126 int len; in acpi_aml_read() local 141 int len; in acpi_aml_read_batch_cmd() local 162 int len; in acpi_aml_read_batch_log() local 226 int len; in acpi_aml_write() local 241 int len; in acpi_aml_write_batch_log() local 257 int len; in acpi_aml_write_batch_cmd() local 383 int len; in main() local
|
| /tools/testing/selftests/powerpc/ptrace/ |
| D | ptrace-hwbreak.c | 111 static void write_var(int len) in write_var() 138 static void read_var(int len) in read_var() 167 int len, ret; in trigger_tests() local 214 static void launch_watchpoints(char *buf, int mode, int len, in launch_watchpoints() 271 int len, i, status; in launch_tests() local
|
| /tools/lib/traceevent/plugins/ |
| D | plugin_scsi.c | 157 scsi_trace_rw6(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw6() 174 scsi_trace_rw10(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw10() 198 scsi_trace_rw12(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw12() 220 scsi_trace_rw16(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw16() 250 scsi_trace_rw32(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_rw32() 304 scsi_trace_unmap(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_unmap() 315 scsi_trace_service_action_in(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_service_action_in() 355 scsi_trace_varlen(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_varlen() 369 scsi_trace_misc(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_misc() 379 scsi_trace_parse_cdb(struct trace_seq *p, unsigned char *cdb, int len) in scsi_trace_parse_cdb()
|
| /tools/power/cpupower/lib/ |
| D | cpufreq.c | 37 const char *value, size_t len) in sysfs_cpufreq_write_file() 91 unsigned int len; in sysfs_cpufreq_get_one_value() local 131 unsigned int len; in sysfs_cpufreq_get_one_string() local 170 const char *new_value, size_t len) in sysfs_cpufreq_write_one_value() 268 unsigned int len; in cpufreq_get_available_governors() local 344 unsigned int len; in cpufreq_get_frequencies() local 417 unsigned int len; in sysfs_get_cpu_list() local 648 unsigned int len; in cpufreq_get_stats() local
|
| /tools/perf/pmu-events/ |
| D | jsmn.c | 60 size_t len, in jsmn_parse_primitive() 117 size_t len, in jsmn_parse_string() 173 jsmnerr_t jsmn_parse(jsmn_parser *parser, const char *js, size_t len, in jsmn_parse()
|
| /tools/testing/selftests/bpf/ |
| D | test_tag.c | 91 static void tag_from_fdinfo(int fd_prog, uint8_t *tag, uint32_t len) in tag_from_fdinfo() 114 static void tag_from_alg(int insns, uint8_t *tag, uint32_t len) in tag_from_alg() 144 static void tag_dump(const char *prefix, uint8_t *tag, uint32_t len) in tag_dump() 155 uint8_t *atag, uint32_t len) in tag_exit_report()
|
| /tools/perf/arch/x86/tests/ |
| D | intel-pt-pkt-decoder-test.c | 21 int len; member 173 static int dump_packet(struct intel_pt_pkt *packet, u8 *bytes, int len) in dump_packet() 200 static int fail(struct test_data *d, struct intel_pt_pkt *packet, int len, in fail()
|
| /tools/include/uapi/linux/ |
| D | netlink.h | 90 #define NLMSG_ALIGN(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) ) argument 92 #define NLMSG_LENGTH(len) ((len) + NLMSG_HDRLEN) argument 93 #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len)) argument 95 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument 97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ argument 100 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument 231 #define NLA_ALIGN(len) (((len) + NLA_ALIGNTO - 1) & ~(NLA_ALIGNTO - 1)) argument
|
| /tools/lib/traceevent/ |
| D | trace-seq.c | 116 int len; in trace_seq_printf() local 157 int len; in trace_seq_vprintf() local 190 int len; in trace_seq_puts() local
|
| /tools/power/cpupower/bench/ |
| D | parse.c | 54 int len; in prepare_output() local 157 size_t len = 0; in prepare_config() local
|
| /tools/testing/selftests/net/ |
| D | reuseport_bpf_cpu.c | 34 static void build_rcv_group(int *rcv_fd, size_t len, int family, int proto) in build_rcv_group() 151 void receive_on_cpu(int *rcv_fd, int len, int epfd, int cpu_id, int proto) in receive_on_cpu() 184 static void test(int *rcv_fd, int len, int family, int proto) in test()
|
| D | reuseport_bpf_numa.c | 30 static void build_rcv_group(int *rcv_fd, size_t len, int family, int proto) in build_rcv_group() 161 void receive_on_node(int *rcv_fd, int len, int epfd, int node_id, int proto) in receive_on_node() 194 static void test(int *rcv_fd, int len, int family, int proto) in test()
|
| /tools/lib/ |
| D | string.c | 29 void *memdup(const void *src, size_t len) in memdup() 104 size_t len = (ret >= size) ? size - 1 : ret; in strlcpy() local
|
| /tools/spi/ |
| D | spidev_fdx.c | 18 static void do_read(int fd, int len) in do_read() 49 static void do_msg(int fd, int len) in do_msg()
|