/tools/testing/selftests/bpf/ |
D | test_lru_map.c | 184 assert(!bpf_map_update_elem(lru_map_fd, &key, value, BPF_NOEXIST)); in test_lru_sanity0() 186 BPF_NOEXIST)); in test_lru_sanity0() 189 assert(bpf_map_update_elem(lru_map_fd, &key, value, BPF_NOEXIST) == -1 in test_lru_sanity0() 208 assert(!bpf_map_update_elem(lru_map_fd, &key, value, BPF_NOEXIST)); in test_lru_sanity0() 225 assert(!bpf_map_update_elem(lru_map_fd, &key, value, BPF_NOEXIST)); in test_lru_sanity0() 227 BPF_NOEXIST)); in test_lru_sanity0() 281 BPF_NOEXIST)); in test_lru_sanity1() 288 BPF_NOEXIST)); in test_lru_sanity1() 299 BPF_NOEXIST)); in test_lru_sanity1() 301 BPF_NOEXIST)); in test_lru_sanity1() [all …]
|
D | test_maps.c | 56 assert(bpf_map_update_elem(fd, &key, &value, BPF_NOEXIST) == -1 && in test_hashmap() 77 assert(bpf_map_update_elem(fd, &key, &value, BPF_NOEXIST) == 0); in test_hashmap() 83 assert(bpf_map_update_elem(fd, &key, &value, BPF_NOEXIST) == -1 && in test_hashmap() 92 assert(bpf_map_update_elem(fd, &key, &value, BPF_NOEXIST) == -1 && in test_hashmap() 172 assert(bpf_map_update_elem(fd, &key, value, BPF_NOEXIST) == -1 && in test_hashmap_percpu() 198 assert(bpf_map_update_elem(fd, &key, value, BPF_NOEXIST) == 0); in test_hashmap_percpu() 205 assert(bpf_map_update_elem(fd, &key, value, BPF_NOEXIST) == -1 && in test_hashmap_percpu() 265 ret = bpf_map_update_elem(fd, &key, &value, BPF_NOEXIST); in helper_fill_hashmap() 363 assert(bpf_map_update_elem(fd, &key, &value, BPF_NOEXIST) == -1 && in test_arraymap() 421 assert(bpf_map_update_elem(fd, &key, values, BPF_NOEXIST) == -1 && in test_arraymap_percpu() [all …]
|
D | test_tcp_hdr_options.h | 144 bpf_map_update_elem(&lport_linum_map, &__lport, &__linum_err, BPF_NOEXIST); \
|
/tools/testing/selftests/bpf/prog_tests/ |
D | sockmap_listen.c | 331 err = bpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST); in test_insert_invalid() 336 err = bpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST); in test_insert_invalid() 353 err = bpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST); in test_insert_opened() 380 err = bpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST); in test_insert_bound() 399 xbpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST); in test_insert() 415 xbpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST); in test_delete_after_insert() 432 xbpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST); in test_delete_after_close() 456 xbpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST); in test_lookup_after_insert() 483 xbpf_map_update_elem(mapfd, &key, &value, BPF_NOEXIST); in test_lookup_after_delete() 512 xbpf_map_update_elem(mapfd, &key, &value32, BPF_NOEXIST); in test_lookup_32_bit_value() [all …]
|
D | sockmap_basic.c | 98 err = bpf_map_update_elem(map, &zero, &s, BPF_NOEXIST); in test_sockmap_create_update_free() 163 err = bpf_map_update_elem(src, &zero, &sk, BPF_NOEXIST); in test_sockmap_update() 237 err = bpf_map_update_elem(src_fd, &i, &sock_fd[i], BPF_NOEXIST); in test_sockmap_copy()
|
D | map_init.c | 30 err = bpf_map_update_elem(map_fd, &key, value, BPF_NOEXIST); in map_populate()
|
D | sock_fields.c | 261 BPF_NOEXIST); in init_sk_storage() 267 BPF_NOEXIST); in init_sk_storage()
|
D | bpf_tcp_ca.c | 133 &expected_stg, BPF_NOEXIST); in do_test()
|
D | select_reuseport.c | 651 BPF_NOEXIST); in prepare_sk_fds()
|
D | bpf_iter.c | 943 BPF_NOEXIST); in test_bpf_sk_storage_map()
|
D | sk_lookup.c | 507 err = bpf_map_update_elem(map_fd, &index, &value, BPF_NOEXIST); in update_lookup_map()
|
/tools/perf/include/bpf/ |
D | pid_filter.h | 13 return bpf_map_update_elem(pids, &pid, &value, BPF_NOEXIST); in pid_filter__add()
|
/tools/testing/selftests/bpf/progs/ |
D | test_map_init.c | 28 bpf_map_update_elem(&hashmap1, &inKey, &inValue, BPF_NOEXIST); in sysenter_getpgid()
|
D | test_sockmap_kern.h | 205 BPF_NOEXIST); in bpf_sockmap() 208 BPF_NOEXIST); in bpf_sockmap() 220 BPF_NOEXIST); in bpf_sockmap() 223 BPF_NOEXIST); in bpf_sockmap()
|
/tools/testing/selftests/bpf/map_tests/ |
D | sk_storage_map.c | 194 BPF_NOEXIST); in insert_close_thread() 485 BPF_NOEXIST | BPF_F_LOCK); in test_sk_storage_map_basic() 523 BPF_NOEXIST | BPF_F_LOCK); in test_sk_storage_map_basic() 527 err = bpf_map_update_elem(map_fd, &sk_fd, &value, BPF_NOEXIST); in test_sk_storage_map_basic()
|
/tools/include/uapi/linux/ |
D | bpf.h | 398 BPF_NOEXIST = 1, /* create new element if it didn't exist */ enumerator
|
/tools/bpf/bpftool/ |
D | map.c | 456 *flags = BPF_NOEXIST; in parse_elem()
|