Home
last modified time | relevance | path

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

12345678910>>...15

/tools/perf/util/intel-pt-decoder/
Dintel-pt-pkt-decoder.c77 static int intel_pt_get_long_tnt(const unsigned char *buf, size_t len, in intel_pt_get_long_tnt()
100 static int intel_pt_get_pip(const unsigned char *buf, size_t len, in intel_pt_get_pip()
121 static int intel_pt_get_cbr(const unsigned char *buf, size_t len, in intel_pt_get_cbr()
131 static int intel_pt_get_vmcs(const unsigned char *buf, size_t len, in intel_pt_get_vmcs()
155 static int intel_pt_get_psb(const unsigned char *buf, size_t len, in intel_pt_get_psb()
178 static int intel_pt_get_tma(const unsigned char *buf, size_t len, in intel_pt_get_tma()
196 static int intel_pt_get_mnt(const unsigned char *buf, size_t len, in intel_pt_get_mnt()
207 static int intel_pt_get_3byte(const unsigned char *buf, size_t len, in intel_pt_get_3byte()
221 static int intel_pt_get_ptwrite(const unsigned char *buf, size_t len, in intel_pt_get_ptwrite()
256 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/
Darm-spe-pkt-decoder.c60 static int arm_spe_get_payload(const unsigned char *buf, size_t len, in arm_spe_get_payload()
88 static int arm_spe_get_alignment(const unsigned char *buf, size_t len, in arm_spe_get_alignment()
106 static int arm_spe_get_timestamp(const unsigned char *buf, size_t len, in arm_spe_get_timestamp()
113 static int arm_spe_get_events(const unsigned char *buf, size_t len, in arm_spe_get_events()
128 static int arm_spe_get_data_source(const unsigned char *buf, size_t len, in arm_spe_get_data_source()
135 static int arm_spe_get_context(const unsigned char *buf, size_t len, in arm_spe_get_context()
143 static int arm_spe_get_op_type(const unsigned char *buf, size_t len, in arm_spe_get_op_type()
151 static int arm_spe_get_counter(const unsigned char *buf, size_t len, in arm_spe_get_counter()
164 static int arm_spe_get_addr(const unsigned char *buf, size_t len, in arm_spe_get_addr()
177 static int arm_spe_do_get_packet(const unsigned char *buf, size_t len, in arm_spe_do_get_packet()
[all …]
/tools/testing/selftests/bpf/progs/
Dfexit_bpf2bpf.c13 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
Dtest_varlen.c44 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
Dfexit_bpf2bpf_simple.c8 unsigned int len; member
16 int len; in BPF_PROG() local
Dtest_module_attach.c45 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG()
56 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG()
68 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len, in BPF_PROG()
81 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG()
/tools/testing/selftests/powerpc/ptrace/
Dptrace-hwbreak.c64 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
212 unsigned long saddr, int len) in check_success()
280 int len; in test_set_debugreg() local
336 unsigned long addr, int len) in get_ppc_hw_breakpoint()
355 int len = 1; /* hardcoded in kernel */ in test_sethwdebug_exact() local
385 int len = 1; /* hardcoded in kernel */ in test_sethwdebug_exact_kernel_userspace() local
401 int len; in test_sethwdebug_range_aligned() local
500 int len; in test_sethwdebug_range_unaligned() local
[all …]
/tools/perf/examples/bpf/
Daugmented_raw_syscalls.c90 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/
Dproc-uptime-002.c33 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/perf/util/
Ddemangle-rust.c79 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
Dprint_binary.c6 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()
Dstrbuf.h52 size_t len; member
70 static inline int strbuf_setlen(struct strbuf *sb, size_t len) { in strbuf_setlen()
/tools/bpf/
Dbpf_jit_disasm.c39 ssize_t len; in get_exec_path() local
53 static void get_asm_insns(uint8_t *image, size_t len, int opcodes) in get_asm_insns()
108 int ret, len; in get_klog_buff() local
131 int fd, ret, len; in get_flog_buff() local
266 unsigned int len, klen, opt, opcodes = 0; in main() local
/tools/testing/selftests/breakpoints/
Dbreakpoint_test.c53 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/
Dacpidbg.c126 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/
Dcpufreq.c37 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/bpf/prog_tests/
Dsockmap_listen.c49 #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 …]
/tools/testing/selftests/bpf/bpf_testmod/
Dbpf_testmod.h11 size_t len; member
17 size_t len; member
/tools/lib/traceevent/plugins/
Dplugin_scsi.c157 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/dmabuf-heaps/
Ddmabuf-heap.c105 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()
300 static int dmabuf_heap_alloc_older(int fd, size_t len, unsigned int flags, in dmabuf_heap_alloc_older()
306 __u64 len; in dmabuf_heap_alloc_older() member
328 static int dmabuf_heap_alloc_newer(int fd, size_t len, unsigned int flags, in dmabuf_heap_alloc_newer()
334 __u64 len; in dmabuf_heap_alloc_newer() member
/tools/testing/selftests/powerpc/nx-gzip/
Dgunz_test.c73 #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/testing/selftests/cgroup/
Dcgroup_util.c24 ssize_t len; in read_text() local
41 static ssize_t write_text(const char *path, char *buf, ssize_t len) in write_text()
62 size_t len = strlen(root) + strlen(name) + 2; in cg_name() local
72 size_t len = strlen(root) + strlen(name) + 10; in cg_name_indexed() local
82 size_t len = strlen(cgroup) + strlen(control) + 2; in cg_control() local
90 int cg_read(const char *cgroup, const char *control, char *buf, size_t len) in cg_read()
183 ssize_t len = strlen(buf); in cg_write() local
193 int cg_find_unified_root(char *root, size_t len) in cg_find_unified_root()
520 int fd, len; in set_oom_adj_score() local
/tools/testing/selftests/nci/
Dnci_dev.c24 #define NLA_PAYLOAD(len) ((len) - NLA_HDRLEN) argument
186 int len; in get_family_id() local
282 int len; in get_dev_enable_state() local
325 int len; in virtual_dev_open() local
365 int len; in virtual_dev_open_v2() local
456 int len; in virtual_deinit() local
478 int len; in virtual_deinit_v2() local
541 int len; in virtual_poll_start() local
563 int len; in virtual_poll_stop() local
651 int len; in get_taginfo() local
[all …]
/tools/perf/pmu-events/
Djsmn.c60 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/
Dtest_tag.c91 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()

12345678910>>...15