/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/arm-spe-decoder/ |
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 …]
|
/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-hwbreak.c | 64 static void write_var(int len) in write_var() 91 static void read_var(int len) in read_var() 118 int len = 0; in test_workload() local 200 unsigned long saddr, int len) in check_success() 268 int len; in test_set_debugreg() local 324 unsigned long addr, int len) in get_ppc_hw_breakpoint() 343 int len = 1; /* hardcoded in kernel */ in test_sethwdebug_exact() local 373 int len = 1; /* hardcoded in kernel */ in test_sethwdebug_exact_kernel_userspace() local 389 int len; in test_sethwdebug_range_aligned() local 425 int len; in test_sethwdebug_range_unaligned() local [all …]
|
/tools/testing/selftests/bpf/progs/ |
D | fexit_bpf2bpf.c | 13 unsigned int len; member 20 int len; in BPF_PROG() local 35 int len; in BPF_PROG() local 70 int len; in test_subprog2() local 92 int len; in BPF_PROG() local 107 int len = skb->len; in new_get_skb_len() local
|
D | test_varlen.c | 44 u64 len; in handler64_unsigned() local 72 long len; in handler64_signed() local 98 u32 len; in handler32_unsigned() local 126 int len; in handler32_signed() local
|
D | fexit_bpf2bpf_simple.c | 8 unsigned int len; member 16 int len; in BPF_PROG() 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/bpf/prog_tests/ |
D | sockmap_listen.c | 49 #define xaccept_nonblock(fd, addr, len) \ argument 58 #define xbind(fd, addr, len) \ argument 74 #define xconnect(fd, addr, len) \ argument 82 #define xgetsockname(fd, addr, len) \ argument 90 #define xgetsockopt(fd, level, name, val, len) \ argument 106 #define xsetsockopt(fd, level, name, val, len) \ argument 114 #define xsend(fd, buf, len, flags) \ argument 122 #define xrecv_nonblock(fd, buf, len, flags) \ argument 214 static int accept_timeout(int fd, struct sockaddr *addr, socklen_t *len, in accept_timeout() 223 static int recv_timeout(int fd, void *buf, size_t len, int flags, in recv_timeout() [all …]
|
D | bpf_iter.c | 45 int iter_fd, len; in do_dummy_read() local 179 int iter_fd = -1, len = 0, bufleft = TASKBUFSZ; in do_btf_read() local 308 int err = -1, len, read_buf_len, start; in do_read_with_fd() local 429 int err, iter_fd, map1_fd, map2_fd, len; in test_overflow() local 569 int err, i, len, map_fd, iter_fd; in test_bpf_hash_map() local 667 int err, i, j, len, map_fd, iter_fd; in test_bpf_percpu_hash_map() local 763 int len, start; in test_bpf_array_map() local 849 int len; in test_bpf_percpu_array_map() local 919 int err, i, len, map_fd, iter_fd, num_sockets; in test_bpf_sk_storage_map() local
|
/tools/perf/util/ |
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()
|
/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/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/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/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 343 unsigned int len; in cpufreq_get_available_frequencies() local 399 unsigned int len; in cpufreq_get_boost_frequencies() local 475 unsigned int len; in sysfs_get_cpu_list() local 706 unsigned int len; in cpufreq_get_stats() local
|
/tools/testing/selftests/cgroup/ |
D | cgroup_util.c | 22 ssize_t len; in read_text() local 39 static ssize_t write_text(const char *path, char *buf, ssize_t len) in write_text() 60 size_t len = strlen(root) + strlen(name) + 2; in cg_name() local 70 size_t len = strlen(root) + strlen(name) + 10; in cg_name_indexed() local 80 size_t len = strlen(cgroup) + strlen(control) + 2; in cg_control() local 88 int cg_read(const char *cgroup, const char *control, char *buf, size_t len) in cg_read() 181 ssize_t len = strlen(buf); in cg_write() local 191 int cg_find_unified_root(char *root, size_t len) in cg_find_unified_root() 514 int fd, len; in set_oom_adj_score() local
|
/tools/testing/selftests/dmabuf-heaps/ |
D | dmabuf-heap.c | 105 static int dmabuf_heap_alloc_fdflags(int fd, size_t len, unsigned int fd_flags, in dmabuf_heap_alloc_fdflags() 126 static int dmabuf_heap_alloc(int fd, size_t len, unsigned int flags, in dmabuf_heap_alloc() 222 static int dmabuf_heap_alloc_older(int fd, size_t len, unsigned int flags, in dmabuf_heap_alloc_older() 228 __u64 len; in dmabuf_heap_alloc_older() member 250 static int dmabuf_heap_alloc_newer(int fd, size_t len, unsigned int flags, in dmabuf_heap_alloc_newer() 256 __u64 len; in dmabuf_heap_alloc_newer() member
|
/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/testing/selftests/net/mptcp/ |
D | pm_nl_ctl.c | 58 int len = nh->nlmsg_len - sizeof(*nh); in nl_error() local 86 static int do_nl_req(int fd, struct nlmsghdr *nh, int len, int max) in do_nl_req() 121 int len = nlh->nlmsg_len; in genl_parse_getfamily() local 323 static void print_addr(struct rtattr *attrs, int len) in print_addr() 403 int len = nh->nlmsg_len; in print_addrs() local 510 int len = nh->nlmsg_len; in print_limits() local 545 int cmd, len = sizeof(data); in get_set_limits() local
|
/tools/testing/selftests/powerpc/nx-gzip/ |
D | gunz_test.c | 73 #define fifo_free_bytes(used, len) ((len)-(used)) argument 75 #define fifo_free_first_bytes(cur, used, len) ((((cur)+(used)) <= (len)) \ argument 77 #define fifo_free_last_bytes(cur, used, len) ((((cur)+(used)) <= (len)) \ argument 80 #define fifo_used_first_bytes(cur, used, len) ((((cur)+(used)) <= (len)) \ argument 82 #define fifo_used_last_bytes(cur, used, len) ((((cur)+(used)) <= (len)) \ argument 86 #define fifo_free_last_offset(cur, used, len) \ argument 110 uint32_t len) in nx_append_dde()
|
/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()
|