Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_listen.c115 xbpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST); in test_insert()
132 xbpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST); in test_delete_after_insert()
150 xbpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST); in test_delete_after_close()
175 xbpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST); in test_lookup_after_insert()
203 xbpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST); in test_lookup_after_delete()
233 xbpf_map_update_elem(mapfd, &key, &value32, BPF_NOEXIST); in test_lookup_32_bit_value()
262 xbpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST); in test_update_existing()
265 xbpf_map_update_elem(mapfd, &key, &value, BPF_EXIST); in test_update_existing()
293 xbpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST); in do_destroy_orphan_child()
355 xbpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST); in test_clone_after_delete()
[all …]
H A Dsockmap_helpers.h153 #define xbpf_map_update_elem(fd, key, val, flags) \ macro
328 err = xbpf_map_update_elem(sock_mapfd, &key, &value, BPF_NOEXIST); in add_to_sockmap()
334 return xbpf_map_update_elem(sock_mapfd, &key, &value, BPF_NOEXIST); in add_to_sockmap()