Searched refs:mapfd (Results 1 - 2 of 2) sorted by relevance

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_listen.c33 int family, int sotype, int mapfd)
40 err = bpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST);
45 err = bpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST);
51 int family, int sotype, int mapfd)
63 err = bpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST);
73 int family, int sotype, int mapfd)
93 err = bpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST);
101 int family, int sotype, int mapfd)
113 xbpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST);
118 int family, int sotype, int mapfd)
32 test_insert_invalid(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument
50 test_insert_opened(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument
72 test_insert_bound(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument
100 test_insert(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument
117 test_delete_after_insert(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument
135 test_delete_after_close(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument
159 test_lookup_after_insert(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument
188 test_lookup_after_delete(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument
212 test_lookup_32_bit_value(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument
243 test_update_existing(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument
272 do_destroy_orphan_child(int family, int sotype, int mapfd) argument
303 test_destroy_orphan_child(struct test_sockmap_listen *skel, int family, int sotype, int mapfd) argument
333 test_clone_after_delete(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument
370 test_accept_after_delete(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument
425 test_accept_before_delete(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument
535 test_syn_recv_insert_delete(struct test_sockmap_listen *skel __always_unused, int family, int sotype, int mapfd) argument
599 test_race_insert_listen(struct test_sockmap_listen *skel __always_unused, int family, int socktype, int mapfd) argument
646 zero_verdict_count(int mapfd) argument
1192 int err, mapfd; local
[all...]
/linux-master/tools/bpf/bpftool/
H A Dprog.c1034 int *mapfd)
1050 *mapfd = 0;
1058 *mapfd = map_parse_fd(&argc, &argv);
1059 if (*mapfd < 0)
1060 return *mapfd;
1069 int mapfd; local
1072 &progfd, &attach_type, &mapfd);
1076 err = bpf_prog_attach(progfd, mapfd, attach_type, 0);
1091 int mapfd; local
1094 &progfd, &attach_type, &mapfd);
1032 parse_attach_detach_args(int argc, char **argv, int *progfd, enum bpf_attach_type *attach_type, int *mapfd) argument
[all...]

Completed in 354 milliseconds