Searched defs:map_fd (Results 1 - 25 of 99) sorted by last modified time

1234

/linux-master/tools/lib/bpf/
H A Dlibbpf.c4942 static bool map_is_reuse_compat(const struct bpf_map *map, int map_fd) argument
5056 int err = 0, map_fd; local
12682 int map_fd; member in struct:bpf_link_struct_ops
12868 int map_fd; /* BPF_MAP_TYPE_PERF_EVENT_ARRAY BPF map FD */ member in struct:perf_buffer
12964 perf_buffer__new(int map_fd, size_t page_cnt, perf_buffer_sample_fn sample_cb, perf_buffer_lost_fn lost_cb, void *ctx, const struct perf_buffer_opts *opts) argument
12998 perf_buffer__new_raw(int map_fd, size_t page_cnt, struct perf_event_attr *attr, perf_buffer_event_fn event_cb, void *ctx, const struct perf_buffer_raw_opts *opts) argument
13021 __perf_buffer__new(int map_fd, size_t page_cnt, struct perf_buffer_params *p) argument
13658 int prot, map_fd = map->fd; local
[all...]
H A Dbpf.c1161 bpf_map_get_info_by_fd(int map_fd, struct bpf_map_info *info, __u32 *info_len) argument
1283 bpf_prog_bind_map(int prog_fd, int map_fd, const struct bpf_prog_bind_opts *opts) argument
[all...]
/linux-master/tools/perf/util/
H A Dbpf_lock_contention.c196 static void update_lock_stat(int map_fd, int pid, u64 end_ts, argument
H A Dbpf_counter.c321 int map_fd, err; local
[all...]
/linux-master/tools/perf/
H A Dbuiltin-trace.c3561 int map_fd = bpf_map__fd(map); local
/linux-master/tools/testing/selftests/bpf/
H A Dtest_maps.c1408 int map_update_retriable(int map_fd, const void *key, const void *value, int flags, int attempts, argument
1427 static int map_delete_retriable(int map_fd, const void *key, int attempts) argument
1633 static void prepare_reuseport_grp(int type, int map_fd, size_t map_elem_size, argument
1727 int map_fd, err, t, f; local
[all...]
H A Dtest_lpm_map.c428 int map_fd; local
538 int map_fd; local
685 int map_fd; member in struct:lpm_mt_test_info
730 setup_lpm_mt_test_info(struct lpm_mt_test_info *info, int map_fd) argument
750 int i, map_fd; local
[all...]
H A Dxsk.c442 int map_fd; local
450 int map_fd, sock_fd; local
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtoken.c501 int err, token_fd = -1, map_fd = -1; local
[all...]
H A Dtask_local_storage.c82 int err, map_fd, prog_fd, task_fd; local
H A Dmptcp.c85 static int verify_tsk(int map_fd, int client_fd) argument
123 static int verify_msk(int map_fd, int client_fd, __u32 token) argument
158 int client_fd, prog_fd, map_fd, err; local
H A Dbtf.c4352 int map_fd = -1, btf_fd = -1; local
4563 int btf_fd[2] = {-1, -1}, map_fd = -1; local
5418 int map_fd = -1, btf_fd = -1; local
[all...]
H A Dxdp_bonding.c348 int map_fd = bpf_map__fd(skeletons->xdp_redirect_multi_kern->maps.map_all); local
H A Dsockmap_basic.c318 int err, map_fd, verdict_fd; local
H A Dsyscall.c10 int map_fd; member in struct:args
H A Dbpf_iter.c762 int err, i, len, map_fd, iter_fd; local
855 int err, i, j, len, map_fd, iter_fd; local
939 int err, i, map_fd, hash_fd, iter_fd; local
1039 int err, i, j, map_fd, iter_fd; local
1112 int err, len, map_fd, iter_fd; local
1181 int err, map_fd, val = -1; local
1238 int err, i, len, map_fd, iter_fd, num_sockets; local
[all...]
H A Dbpf_obj_id.c210 int map_fd, cmp_res; local
/linux-master/tools/include/uapi/linux/
H A Dbpf.h123 __u32 map_fd; member in struct:bpf_iter_link_info::__anon3122
1498 __u32 map_fd; member in struct:bpf_attr::__anon3131
1519 __u32 map_fd; member in struct:bpf_attr::__anon3133
1706 __u32 map_fd; /* struct_op member in union:bpf_attr::__anon3150::__anon3151
1811 __u32 map_fd; member in struct:bpf_attr::__anon3170
[all...]
/linux-master/tools/bpf/bpftool/
H A Dprog.c228 int map_fd; local
2267 profile_open_perf_event(int mid, int cpu, int map_fd) argument
2298 int map_fd; local
[all...]
/linux-master/samples/bpf/
H A Dmap_perf_test_user.c69 static int map_fd[NR_IDXES]; variable
[all...]
/linux-master/include/uapi/linux/
H A Dbpf.h123 __u32 map_fd; member in struct:bpf_iter_link_info::__anon2581
1498 __u32 map_fd; member in struct:bpf_attr::__anon2590
1519 __u32 map_fd; member in struct:bpf_attr::__anon2592
1706 __u32 map_fd; /* struct_op member in union:bpf_attr::__anon2609::__anon2610
1811 __u32 map_fd; member in struct:bpf_attr::__anon2629
[all...]
/linux-master/drivers/hid/bpf/
H A Dhid_bpf_jmp_table.c190 static void __hid_bpf_do_release_prog(int map_fd, unsigned int idx) argument
198 int i, j, n, map_fd = -1; local
292 int map_fd = -1; local
310 int i, index = -1, map_fd = -1, err = -EINVAL; local
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dsyscall.c22 int map_fd; member in struct:args
/linux-master/tools/testing/selftests/bpf/map_tests/
H A Dmap_percpu_stats.c21 static void map_info(int map_fd, struct bpf_map_info *info) argument
50 static __u32 map_count_elements(__u32 type, int map_fd) argument
62 static void delete_and_lookup_batch(int map_fd, void *keys, __u32 count) argument
88 static void delete_all_elements(__u32 type, int map_fd, bool batch) argument
142 int map_fd; member in struct:upsert_opts
149 int map_fd; local
263 check_expected_number_elements(__u32 n_inserted, int map_fd, struct bpf_map_info *info) argument
291 __test(int map_fd) argument
341 int map_fd; local
[all...]
/linux-master/net/core/
H A Dbpf_sk_storage.c513 int map_fd; local

Completed in 333 milliseconds

1234