Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_listen.c33 int family, int sotype, int mapfd) in test_insert_invalid() argument
101 int family, int sotype, int mapfd) in test_insert() argument
131 xbpf_map_delete_elem(mapfd, &key); in test_delete_after_insert()
153 err = bpf_map_delete_elem(mapfd, &key); in test_delete_after_close()
202 xbpf_map_delete_elem(mapfd, &key); in test_lookup_after_delete()
224 if (mapfd < 0) { in test_lookup_32_bit_value()
238 xclose(mapfd); in test_lookup_32_bit_value()
244 int family, int sotype, int mapfd) in test_update_existing() argument
354 xbpf_map_delete_elem(mapfd, &key); in test_clone_after_delete()
1192 int err, mapfd; in test_ops_cleanup() local
[all …]
/openbmc/linux/tools/bpf/bpftool/
H A Dprog.c1030 int *mapfd) in parse_attach_detach_args() argument
1046 *mapfd = 0; in parse_attach_detach_args()
1054 *mapfd = map_parse_fd(&argc, &argv); in parse_attach_detach_args()
1055 if (*mapfd < 0) in parse_attach_detach_args()
1056 return *mapfd; in parse_attach_detach_args()
1065 int mapfd; in do_attach() local
1068 &progfd, &attach_type, &mapfd); in do_attach()
1072 err = bpf_prog_attach(progfd, mapfd, attach_type, 0); in do_attach()
1087 int mapfd; in do_detach() local
1090 &progfd, &attach_type, &mapfd); in do_detach()
[all …]