Home
last modified time | relevance | path

Searched defs:err (Results 1 – 25 of 294) sorted by relevance

12345678910>>...12

/tools/perf/tests/
Devent-times.c25 int err; in attach__enable_on_exec() local
63 int err; in attach__current_disabled() local
89 int err; in attach__current_enabled() local
116 int err; in attach__cpu_disabled() local
145 int err; in attach__cpu_enabled() local
169 int err = -1, i; in test_times() local
221 int err, ret = 0; in test__event_times() local
Dmmap-thread-lookup.c82 int err, go; in thread_create() local
102 int i, err = 0; in threads_create() local
119 int i, err = 0; in threads_destroy() local
144 int err; in synth_process() local
159 int err, i; in mmap_events() local
Devsel-roundtrip-name.c13 int type, op, err = 0, ret = 0, i, idx; in perf_evsel__roundtrip_cache_name_test() local
69 int i, err; in __perf_evsel__name_array_test() local
103 int err = 0, ret = 0; in test__perf_evsel__roundtrip_name_test() local
Dhists_output.c127 int err; in test1() local
229 int err; in test2() local
285 int err; in test3() local
359 int err; in test4() local
461 int err; in test5() local
580 int err = TEST_FAIL; in test__hists_output() local
/tools/perf/util/
Dbpf-loader.c80 int err; in bpf__prepare_load() local
158 int err; in prog_config__bool() local
247 int err = 0; in parse_prog_config_kvpair() local
286 int err; in parse_prog_config() local
325 int err; in config_bpf_program() local
398 static int err = 0; in bpf__prepare_probe() local
427 int i, err; in preproc_gen_prologue() local
579 int err, i; in hook_load_preprocessor() local
636 int err = 0; in bpf__probe() local
697 int err, ret = 0; in bpf__unprobe() local
[all …]
Dtrace-event-info.c49 int err = -EIO; in record_file() local
92 int err = -EIO; in record_header_files() local
169 int err; in copy_event_system() local
262 int err; in record_event_files() local
339 int ret, err = 0; in record_ftrace_printk() local
367 int ret, err = 0; in record_saved_cmdline() local
496 int err; in tracing_data_get() local
576 int err = 0; in tracing_data_put() local
589 int err; in read_tracing_data() local
Ddb-export.c111 int err; in db_export__exec_comm() local
179 int err; in db_ids_from_al() local
218 int err; in call_path_from_sample() local
296 int err; in db_export__threads() local
357 int err; in db_export__sample() local
446 int i, err = 0; in db_export__branch_types() local
481 int err; in db_export__call_path() local
503 int err; in db_export__call_return() local
530 int err = 0; in db_export__pid_tid() local
564 int err; in db_export__switch() local
Dusage.c15 static __noreturn void usage_builtin(const char *err) in usage_builtin()
25 void usage(const char *err) in usage()
/tools/testing/selftests/bpf/prog_tests/
Dsockopt_multi.c10 int err; in prog_attach() local
39 int err; in prog_detach() local
62 int err; in run_getsockopt_test() local
212 int err; in run_setsockopt_test() local
306 int err = -1; in test_sockopt_multi() local
Dsockopt_inherit.c43 int err; in verify_sockopt() local
71 int err = 0; in server_thread() local
110 int err; in start_server() local
144 int err; in prog_attach() local
178 int err; in run_test() local
Dglobal_data.c6 int i, err, map_fd; in test_global_data_number() local
41 int i, err, map_fd; in test_global_data_string() local
76 int i, err, map_fd; in test_global_data_struct() local
104 int err = -ENOMEM, map_fd, zero = 0; in test_global_data_rdonly() local
129 int err, prog_fd; in test_global_data() local
Dsockopt_sk.c9 int fd, err; in getsetsockopt() local
139 int err; in prog_attach() local
170 int err; in run_test() local
/tools/testing/selftests/bpf/map_tests/
Dsk_storage_map.c170 int i, map_fd, err, *sk_fds; in insert_close_thread() local
229 int i, map_fd = -1, err = 0, nr_threads_created = 0; in do_sk_storage_map_stress_free() local
289 int err = 0; /* Suppress compiler false alarm */ in update_thread() local
313 int err = 0; /* Suppress compiler false alarm */ in delete_thread() local
335 int i, sk_fd, map_fd = -1, err = 0, nr_threads_created = 0; in do_sk_storage_map_stress_change() local
403 int err; in test_sk_storage_map_stress_free() local
439 int err; in test_sk_storage_map_stress_change() local
467 int btf_fd, map_fd, sk_fd, err; in test_sk_storage_map_basic() local
/tools/testing/selftests/bpf/
Dtest_sockmap.c167 int err; in sockmap_init_ktls() local
201 int i, err, one = 1; in sockmap_init_sockets() local
451 int err, i, flags = MSG_NOSIGNAL; in msg_loop() local
605 int rx_fd, txpid, rxpid, err = 0; in sendmsg_test() local
795 int i, key, next_key, err, tx_prog_fd = -1, zero = 0; in run_options() local
1157 int err; in __test_exec() local
1186 int err = __test_exec(cgrp, SENDMSG, opt); in test_exec() local
1200 int err, i, l, r; in test_loop() local
1229 int err; in test_txmsg() local
1269 int err; in test_send() local
[all …]
Dtest_select_reuseport.c89 int err; in prepare_bpf_obj() local
220 int err; in get_linum() local
235 int err; in check_data() local
309 int err; in check_results() local
350 int fd, err; in send_data() local
475 int err, tmp_index = 1; in test_syncookie() local
531 int cli_fd, err, nev; in test_detach_bpf() local
581 int i, err, optval = 1; in prepare_sk_fds() local
654 int ovr = -1, err; in setup_per_test() local
665 int i, err, zero = 0; in cleanup_per_test() local
[all …]
Dtest_offload.py782 _, _, err = cmd("tc qdisc delete dev lo handle 0", variable
822 ret, _, err = sim.cls_bpf_add_filter(obj, skip_sw=True, variable
853 ret, _, err = sim.cls_bpf_add_filter(bytecode, skip_sw=True, variable
861 ret, _, err = sim.cls_bpf_add_filter(obj, chain=1, prio=1, handle=1, variable
906 ret, _, err = sim.cls_bpf_add_filter(obj, verbose=True, skip_sw=True, variable
988 ret, _, err = sim.set_xdp(obj, "generic", force=True, variable
994 ret, _, err = sim.set_xdp(obj, "", force=True, variable
1000 ret, _, err = sim.unset_xdp("", force=True, variable
1012 ret, _, err = sim.set_xdp(obj, "drv", fail=False, include_stderr=True) variable
1021 ret, _, err = sim.set_xdp(nooffload, "offload", variable
[all …]
Dtest_skb_cgroup_id_user.c53 int err = 0; in send_packet() local
120 int err = 0; in check_ancestor_cgroup_ids() local
156 int err = 0; in main() local
Dtest_btf_dump.c41 int err = 0, id; in btf_dump_all_types() local
62 int err = 0, fd = -1; in test_btf_dump_case() local
135 int test_case_cnt, i, err, failed = 0; in main() local
/tools/bpf/bpftool/
Dmap.c132 int err; in map_parse_fd_and_info() local
650 int err; in do_show() local
776 int err; in do_dump() local
883 int fd, err; in do_update() local
924 int err; in print_key_value() local
965 int err; in do_lookup() local
1016 int err; in do_getnext() local
1087 int err; in do_delete() local
1123 int err; in do_pin() local
1135 int err, fd; in do_create() local
[all …]
/tools/perf/lib/tests/
Dtest-evsel.c24 int err, cpu, tmp; in test_stat_cpu() local
58 int err; in test_stat_thread() local
91 int err; in test_stat_thread_enable() local
/tools/testing/selftests/bpf/verifier/
Dwide_access.c1 #define BPF_SOCK_ADDR_STORE(field, off, res, err) \ argument
38 #define BPF_SOCK_ADDR_LOAD(field, off, res, err) \ argument
/tools/testing/selftests/bpf/progs/
Dtest_lwt_seg6local.c91 int err; in update_tlv_pad() local
124 int err; in is_valid_tlv_boundary() local
185 int err; in add_tlv() local
230 int err; in delete_tlv() local
292 int err; in __encap_srh() local
329 int err, offset; in __add_egr_x() local
365 int err, offset; in __pop_egr() local
403 int err; in __inspect_t() local
/tools/testing/selftests/timers/
Dposix_timers.c37 int err = 0; in kernel_loop() local
79 int err; in check_itimer() local
140 int err; in check_timer_create() local
/tools/lib/bpf/
Dxsk.c185 int err; in xsk_get_mmap_offsets() local
212 int err; in xsk_umem__create_v0_0_4() local
337 int err, prog_fd; in xsk_load_xdp_prog() local
397 int fd, err, ret; in xsk_get_max_queues() local
461 int fd, err; in xsk_lookup_bpf_maps() local
520 int err; in xsk_setup_xdp_prog() local
567 int err; in xsk_socket__create() local
711 int err; in xsk_umem__delete() local
737 int err; in xsk_socket__delete() local
/tools/perf/
Dbuiltin-buildid-cache.c58 int i, err = -1; in same_kallsyms_reloc() local
178 int err; in build_id_cache__add_file() local
203 int err; in build_id_cache__remove_file() local
225 int err; in build_id_cache__purge_path() local
250 int err = 0; in build_id_cache__purge_all() local
307 int err; in build_id_cache__update_file() local

12345678910>>...12