Home
last modified time | relevance | path

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

/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_listen.c35 int family, int sotype, int mapfd) in test_insert_invalid() argument
103 int family, int sotype, int mapfd) in test_insert() argument
133 xbpf_map_delete_elem(mapfd, &key); in test_delete_after_insert()
155 err = bpf_map_delete_elem(mapfd, &key); in test_delete_after_close()
204 xbpf_map_delete_elem(mapfd, &key); in test_lookup_after_delete()
226 if (mapfd < 0) { in test_lookup_32_bit_value()
240 xclose(mapfd); in test_lookup_32_bit_value()
246 int family, int sotype, int mapfd) in test_update_existing() argument
356 xbpf_map_delete_elem(mapfd, &key); in test_clone_after_delete()
1220 int err, mapfd; in test_ops_cleanup() local
[all …]
/linux-6.15/tools/bpf/bpftool/
H A Dprog.c1041 int *mapfd) in parse_attach_detach_args() argument
1057 *mapfd = 0; in parse_attach_detach_args()
1065 *mapfd = map_parse_fd(&argc, &argv); in parse_attach_detach_args()
1066 if (*mapfd < 0) in parse_attach_detach_args()
1067 return *mapfd; in parse_attach_detach_args()
1076 int mapfd; in do_attach() local
1079 &progfd, &attach_type, &mapfd); in do_attach()
1083 err = bpf_prog_attach(progfd, mapfd, attach_type, 0); in do_attach()
1098 int mapfd; in do_detach() local
1101 &progfd, &attach_type, &mapfd); in do_detach()
[all …]