| /tools/testing/selftests/bpf/map_tests/ |
| D | sk_storage_map.c | 148 int btf_fd, map_fd; in create_sk_storage_map() local 170 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 287 int map_fd = READ_ONCE(sk_storage_map); in update_thread() local 311 int map_fd = READ_ONCE(sk_storage_map); 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 467 int btf_fd, map_fd, sk_fd, err; in test_sk_storage_map_basic() local
|
| /tools/testing/selftests/bpf/prog_tests/ |
| D | global_data.c | 6 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
|
| D | map_lock.c | 6 int err, map_fd = *(u32 *) arg; in parallel_map_access() local 36 int prog_fd, map_fd[2], vars[17] = {}; in test_map_lock() local
|
| D | tcp_rtt.c | 45 static int verify_sk(int map_fd, int client_fd, const char *msg, __u32 invoked, in verify_sk() 130 int map_fd; in run_test() local
|
| D | xdp.c | 16 int err, prog_fd, map_fd; in test_xdp() local
|
| D | bpf_obj_id.c | 207 int map_fd; in test_bpf_obj_id() local
|
| D | xdp_noinline.c | 27 int err, i, prog_fd, map_fd; in test_xdp_noinline() local
|
| D | l4lb_all.c | 26 int err, i, prog_fd, map_fd; in test_l4lb() local
|
| /tools/testing/selftests/bpf/ |
| D | test_lpm_map.c | 428 int map_fd; in test_lpm_delete() local 541 int map_fd; in test_lpm_get_next_key() local 695 int map_fd; member 740 static void setup_lpm_mt_test_info(struct lpm_mt_test_info *info, int map_fd) in setup_lpm_mt_test_info() 759 int i, map_fd; in test_lpm_multi_thread() local
|
| D | test_skb_cgroup_id_user.c | 86 int map_fd = -1; in get_map_fd_by_prog_id() local 121 int map_fd; in check_ancestor_cgroup_ids() local
|
| D | test_cgroup_storage.c | 40 int map_fd, percpu_map_fd, prog_fd, cgroup_fd; in main() local
|
| D | test_lru_map.c | 31 int map_fd; in create_map() local 555 static void do_test_lru_sanity5(unsigned long long last_key, int map_fd) in do_test_lru_sanity5() 577 int map_fd; in test_lru_sanity5() local
|
| D | test_netcnt.c | 38 int map_fd, percpu_map_fd; in main() local
|
| D | test_tcpbpf_user.c | 93 int prog_fd, map_fd, sock_map_fd; in main() local
|
| D | xdping.c | 96 int prog_fd = -1, map_fd = -1; in main() local
|
| D | test_socket_cookie.c | 99 int map_fd; in validate_map() local
|
| D | test_tcp_check_syncookie_user.c | 87 int map_fd = -1; in get_map_fd_by_prog_id() local
|
| D | test_cgroup_attach.c | 217 static int map_fd = -1; variable
|
| D | test_maps.c | 1436 static void prepare_reuseport_grp(int type, int map_fd, size_t map_elem_size, in prepare_reuseport_grp() 1530 int map_fd, err, t, f; in test_reuseport_array() local
|
| D | test_btf.c | 3629 int map_fd = -1, btf_fd = -1; in do_test_raw() local 3870 int btf_fd[2] = {-1, -1}, map_fd = -1; in test_btf_id() local 4763 int map_fd = -1, btf_fd = -1; in do_test_pprint() local
|
| D | test_sockmap.c | 66 int map_fd[8]; variable
|
| /tools/perf/util/ |
| D | bpf-loader.c | 1264 int map_fd, const struct bpf_map_def *pdef, in foreach_key_array_all() 1283 const char *name, int map_fd, in foreach_key_array_ranges() 1313 int err, map_fd; in bpf_map_config_foreach_key() local 1371 apply_config_value_for_key(int map_fd, void *pkey, in apply_config_value_for_key() 1406 apply_config_evsel_for_key(const char *name, int map_fd, void *pkey, in apply_config_evsel_for_key() 1459 apply_obj_config_map_for_key(const char *name, int map_fd, in apply_obj_config_map_for_key()
|
| /tools/bpf/bpftool/ |
| D | map_perf_ring.c | 136 int err, map_fd; in do_event_pipe() local
|
| /tools/lib/bpf/ |
| D | libbpf.c | 5333 int map_fd; /* BPF_MAP_TYPE_PERF_EVENT_ARRAY BPF map FD */ member 5426 struct perf_buffer *perf_buffer__new(int map_fd, size_t page_cnt, in perf_buffer__new() 5447 perf_buffer__new_raw(int map_fd, size_t page_cnt, in perf_buffer__new_raw() 5462 static struct perf_buffer *__perf_buffer__new(int map_fd, size_t page_cnt, in __perf_buffer__new()
|
| /tools/perf/ |
| D | builtin-trace.c | 3144 int map_fd = bpf_map__fd(map); in bpf_map__set_filter_pids() local
|