Home
last modified time | relevance | path

Searched defs:data (Results 1 – 25 of 323) sorted by relevance

12345678910>>...13

/tools/perf/util/
Ddata.c30 void perf_data__close_dir(struct perf_data *data) in perf_data__close_dir()
35 int perf_data__create_dir(struct perf_data *data, int nr) in perf_data__create_dir()
71 int perf_data__open_dir(struct perf_data *data) in perf_data__open_dir()
144 int perf_data__update_dir(struct perf_data *data) in perf_data__update_dir()
164 static bool check_pipe(struct perf_data *data) in check_pipe()
198 static int check_backup(struct perf_data *data) in check_backup()
232 static bool is_dir(struct perf_data *data) in is_dir()
242 static int open_file_read(struct perf_data *data) in open_file_read()
284 static int open_file_write(struct perf_data *data) in open_file_write()
299 static int open_file(struct perf_data *data) in open_file()
[all …]
Ddata.h45 static inline bool perf_data__is_read(struct perf_data *data) in perf_data__is_read()
50 static inline bool perf_data__is_write(struct perf_data *data) in perf_data__is_write()
55 static inline int perf_data__is_pipe(struct perf_data *data) in perf_data__is_pipe()
60 static inline bool perf_data__is_dir(struct perf_data *data) in perf_data__is_dir()
65 static inline bool perf_data__is_single_file(struct perf_data *data) in perf_data__is_single_file()
70 static inline int perf_data__fd(struct perf_data *data) in perf_data__fd()
Dzstd.c8 int zstd_init(struct zstd_data *data, int level) in zstd_init()
42 int zstd_fini(struct zstd_data *data) in zstd_fini()
57 size_t zstd_compress_stream_to_records(struct zstd_data *data, void *dst, size_t dst_size, in zstd_compress_stream_to_records()
92 size_t zstd_decompress_stream(struct zstd_data *data, void *src, size_t src_size, in zstd_decompress_stream()
Damd-sample-raw.c145 struct perf_ibs_data *data = sample->raw_data; in amd_dump_ibs_op() local
176 struct perf_ibs_data *data = sample->raw_data; in amd_dump_ibs_fetch() local
193 struct perf_ibs_data *data = sample->raw_data; in is_valid_ibs_fetch_sample() local
204 struct perf_ibs_data *data = sample->raw_data; in is_valid_ibs_op_sample() local
Ddwarf-aux.c156 int (*callback)(Dwarf_Die *, void *), void *data) in cu_walk_functions_at() argument
515 void *data, Dwarf_Die *die_mem) in die_find_child()
545 static int __die_search_func_tail_cb(Dwarf_Die *fn_die, void *data) in __die_search_func_tail_cb()
583 static int __die_search_func_cb(Dwarf_Die *fn_die, void *data) in __die_search_func_cb()
622 static int __die_find_inline_cb(Dwarf_Die *die_mem, void *data) in __die_find_inline_cb()
683 void *data; member
687 static int __die_walk_instances_cb(Dwarf_Die *inst, void *data) in __die_walk_instances_cb()
733 void *data) in die_walk_instances()
756 void *data; member
760 static int __die_walk_funclines_cb(Dwarf_Die *in_die, void *data) in __die_walk_funclines_cb()
[all …]
/tools/bpf/bpftool/Documentation/
Dbpftool-btf.rst10 SYNOPSIS
20 BTF COMMANDS
32 DESCRIPTION
73 OPTIONS
91 EXAMPLES
/tools/testing/selftests/arm64/fp/
Dvec-syscfg.c73 static int get_child_rdvl(struct vec_data *data) in get_child_rdvl()
208 static void proc_read_default(struct vec_data *data) in proc_read_default()
231 static void proc_write_min(struct vec_data *data) in proc_write_min()
266 static void proc_write_max(struct vec_data *data) in proc_write_max()
302 static void prctl_get(struct vec_data *data) in prctl_get()
326 static void prctl_set_same(struct vec_data *data) in prctl_set_same()
347 static void prctl_set(struct vec_data *data) in prctl_set()
411 static void prctl_set_no_child(struct vec_data *data) in prctl_set_no_child()
449 static void prctl_set_for_child(struct vec_data *data) in prctl_set_for_child()
500 static void prctl_set_onexec(struct vec_data *data) in prctl_set_onexec()
[all …]
/tools/perf/bench/
Dinject-buildid.c136 static ssize_t synthesize_attr(struct bench_data *data) in synthesize_attr()
154 static ssize_t synthesize_fork(struct bench_data *data) in synthesize_fork()
172 static ssize_t synthesize_mmap(struct bench_data *data, struct bench_dso *dso, u64 timestamp) in synthesize_mmap()
218 static ssize_t synthesize_sample(struct bench_data *data, struct bench_dso *dso, u64 timestamp) in synthesize_sample()
237 static ssize_t synthesize_flush(struct bench_data *data) in synthesize_flush()
249 struct bench_data *data = arg; in data_reader() local
275 static int setup_injection(struct bench_data *data, bool build_id_all) in setup_injection()
347 static int inject_build_id(struct bench_data *data, u64 *max_rss) in inject_build_id()
394 static void do_inject_loop(struct bench_data *data, bool build_id_all) in do_inject_loop()
449 static int do_inject_loops(struct bench_data *data) in do_inject_loops()
[all …]
/tools/testing/selftests/kvm/
Dmemslot_perf_test.c130 static void *vcpu_worker(void *data) in vcpu_worker()
182 static void *vm_gpa2hva(struct vm_data *data, uint64_t gpa, uint64_t *rempages) in vm_gpa2hva()
215 static uint64_t vm_slot2gpa(struct vm_data *data, uint32_t slot) in vm_slot2gpa()
224 struct vm_data *data; in alloc_vm() local
235 static bool prepare_vm(struct vm_data *data, int nslots, uint64_t *maxslots, in prepare_vm()
321 static void launch_vm(struct vm_data *data) in launch_vm()
331 static void free_vm(struct vm_data *data) in free_vm()
338 static void wait_guest_exit(struct vm_data *data) in wait_guest_exit()
528 static bool test_memslot_move_prepare(struct vm_data *data, in test_memslot_move_prepare()
558 static bool test_memslot_move_prepare_active(struct vm_data *data, in test_memslot_move_prepare_active()
[all …]
/tools/bpf/bpftool/
Dbtf_dumper.c101 const void *data) in btf_dumper_ptr()
128 __u8 bit_offset, const void *data) in btf_dumper_modifier()
141 const void *data) in btf_dumper_enum()
214 const void *data) in btf_dumper_array()
243 static void btf_int128_print(json_writer_t *jw, const void *data, in btf_int128_print()
318 const void *data, json_writer_t *jw, in btf_dumper_bitfield()
345 const void *data, json_writer_t *jw, in btf_dumper_int_bits()
362 const void *data, json_writer_t *jw, in btf_dumper_int()
432 const void *data) in btf_dumper_struct()
480 __u8 bit_offset, const void *data) in btf_dumper_var()
[all …]
/tools/testing/selftests/bpf/progs/
Dtest_xdp_vlan.c109 void *data = (void *)(long)ctx->data; in xdp_prognum0() local
151 void *data = (void *)(long)ctx->data; in xdp_prognum1() local
185 void *data = (void *)(long)ctx->data; in xdp_prognum2() local
213 void shift_mac_4bytes_16bit(void *data) in shift_mac_4bytes_16bit()
226 void shift_mac_4bytes_32bit(void *data) in shift_mac_4bytes_32bit()
244 void *data = (void *)(long)ctx->data; in xdp_prognum3() local
Dfor_each_array_map_elem.c28 struct callback_ctx *data) in check_array_elem()
41 struct callback_ctx *data) in check_percpu_elem()
53 struct callback_ctx data; in test_pkt_access() local
Dxdping_kern.c27 static __always_inline void swap_src_dst_mac(void *data) in swap_src_dst_mac()
62 void *data = (void *)(long)ctx->data; in icmp_check() local
93 void *data = (void *)(long)ctx->data; in xdping_client() local
157 void *data = (void *)(long)ctx->data; in xdping_server() local
Dtest_xdp_noinline.c232 bool parse_udp(void *data, void *data_end, in parse_udp()
254 bool parse_tcp(void *data, void *data_end, in parse_tcp()
287 void *data; in encap_v6() local
333 void *data; in encap_v4() local
375 bool decap_v6(struct xdp_md *xdp, void **data, void **data_end, bool inner_v4) in decap_v6()
396 bool decap_v4(struct xdp_md *xdp, void **data, void **data_end) in decap_v4()
414 int swap_mac_and_send(void *data, void *data_end) in swap_mac_and_send()
427 int send_icmp_reply(void *data, void *data_end) in send_icmp_reply()
460 int send_icmp6_reply(void *data, void *data_end) in send_icmp6_reply()
484 int parse_icmpv6(void *data, void *data_end, __u64 off, in parse_icmpv6()
[all …]
Dfor_each_hash_map_elem.c30 struct callback_ctx *data) in check_hash_elem()
61 struct callback_ctx data; in check_percpu_elem() local
84 struct callback_ctx data; in test_pkt_access() local
Dtest_tc_neigh_fib.c28 void *data = ctx_ptr(skb->data); in fill_fib_params_v4() local
56 void *data = ctx_ptr(skb->data); in fill_fib_params_v6() local
82 void *data = ctx_ptr(skb->data); in tc_chk() local
Dtest_tc_neigh.c43 void *data = ctx_ptr(skb->data); in is_remote_ep_v4() local
60 void *data = ctx_ptr(skb->data); in is_remote_ep_v6() local
77 void *data = ctx_ptr(skb->data); in tc_chk() local
/tools/testing/selftests/rtc/
Drtctest.c54 unsigned long data; variable
79 unsigned long data; in TEST_F() local
114 unsigned long data; in TEST_F() local
169 unsigned long data; in TEST_F() local
216 unsigned long data; variable
271 unsigned long data; variable
/tools/io_uring/
Dio_uring-cp.c69 static void queue_prepped(struct io_uring *ring, struct io_data *data) in queue_prepped()
87 struct io_data *data; in queue_read() local
111 static void queue_write(struct io_uring *ring, struct io_data *data) in queue_write()
171 struct io_data *data; in copy_file() local
230 struct io_data *data; in copy_file() local
/tools/testing/selftests/net/mptcp/
Dpm_nl_ctl.c38 static int init_genl_req(char *data, int family, int cmd, int version) in init_genl_req()
91 void *data = nh; in do_nl_req() local
150 char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) + in resolve_mptcp_pm_netlink() local
175 char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) + in add_addr() local
306 char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) + in del_addr() local
490 char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) + in get_addr() local
530 char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) + in dump_addrs() local
552 char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) + in flush_addrs() local
604 char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) + in get_set_limits() local
652 char data[NLMSG_ALIGN(sizeof(struct nlmsghdr)) + in set_flags() local
/tools/testing/selftests/bpf/
Dtest_maps.c37 static void test_hashmap(unsigned int task, void *data) in test_hashmap()
134 static void test_hashmap_sizes(unsigned int task, void *data) in test_hashmap_sizes()
154 static void test_hashmap_percpu(unsigned int task, void *data) in test_hashmap_percpu()
291 static void test_hashmap_walk(unsigned int task, void *data) in test_hashmap_walk()
362 static void test_arraymap(unsigned int task, void *data) in test_arraymap()
417 static void test_arraymap_percpu(unsigned int task, void *data) in test_arraymap_percpu()
513 static void test_devmap(unsigned int task, void *data) in test_devmap()
528 static void test_devmap_hash(unsigned int task, void *data) in test_devmap_hash()
543 static void test_queuemap(unsigned int task, void *data) in test_queuemap()
601 static void test_stackmap(unsigned int task, void *data) in test_stackmap()
[all …]
/tools/perf/arch/powerpc/util/
Devent.c13 void arch_perf_parse_sample_weight(struct perf_sample *data, in arch_perf_parse_sample_weight()
28 void arch_perf_synthesize_sample_weight(const struct perf_sample *data, in arch_perf_synthesize_sample_weight()
/tools/firmware/
Dihex2fw.c32 uint8_t data[]; member
46 static uint8_t hex(const uint8_t *data, uint8_t *crc) in hex()
76 uint8_t *data; in main() local
132 static int process_ihex(uint8_t *data, ssize_t size) in process_ihex()
/tools/virtio/ringtest/
Dring.c51 struct data { struct
53 void *data; argument
54 } *data; variable
/tools/firewire/
Dnosy-dump.c134 subaction_create(uint32_t *data, size_t length) in subaction_create()
482 handle_request_packet(uint32_t *data, size_t length) in handle_request_packet()
547 handle_response_packet(uint32_t *data, size_t length) in handle_response_packet()
619 handle_packet(uint32_t *data, size_t length) in handle_packet()
646 uint32_t *data = (uint32_t *) packet; in get_bits() local
665 dump_data(unsigned char *data, int length) in dump_data()
744 print_packet(uint32_t *data, size_t length) in print_packet()
827 print_stats(uint32_t *data, size_t length) in print_stats()

12345678910>>...13