Searched refs:xbpf_map_update_elem (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_listen.c | 113 xbpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST); in test_insert() 130 xbpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST); in test_delete_after_insert() 148 xbpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST); in test_delete_after_close() 173 xbpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST); in test_lookup_after_insert() 201 xbpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST); in test_lookup_after_delete() 260 xbpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST); in test_update_existing() 263 xbpf_map_update_elem(mapfd, &key, &value, BPF_EXIST); in test_update_existing() 291 xbpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST); in do_destroy_orphan_child() 652 xbpf_map_update_elem(mapfd, &key, &zero, BPF_ANY); in zero_verdict_count() 654 xbpf_map_update_elem(mapfd, &key, &zero, BPF_ANY); in zero_verdict_count() [all …]
|
H A D | sockmap_helpers.h | 139 #define xbpf_map_update_elem(fd, key, val, flags) \ macro 306 err = xbpf_map_update_elem(sock_mapfd, &key, &value, BPF_NOEXIST); in add_to_sockmap() 312 return xbpf_map_update_elem(sock_mapfd, &key, &value, BPF_NOEXIST); in add_to_sockmap()
|