Searched refs:BPF_EXIST (Results 1 – 8 of 8) sorted by relevance
/tools/testing/selftests/bpf/ |
D | test_maps.c | 72 assert(bpf_map_update_elem(fd, &key, &value, BPF_EXIST) == -1 && in test_hashmap() 88 assert(bpf_map_update_elem(fd, &key, &value, BPF_EXIST) == 0); in test_hashmap() 192 assert(bpf_map_update_elem(fd, &key, value, BPF_EXIST) == -1 && in test_hashmap_percpu() 233 assert(bpf_map_update_elem(fd, &key, value, BPF_EXIST) == 0); in test_hashmap_percpu() 295 assert(bpf_map_update_elem(fd, &key, &value, BPF_EXIST) == 0); in test_hashmap_walk() 377 assert(bpf_map_update_elem(fd, &key, &value, BPF_EXIST) == -1 && in test_arraymap() 436 assert(bpf_map_update_elem(fd, &key, values, BPF_EXIST) == -1 && in test_arraymap_percpu() 566 assert(bpf_map_update_elem(fd, NULL, &vals[i], BPF_EXIST) == 0); in test_queuemap() 624 assert(bpf_map_update_elem(fd, NULL, &vals[i], BPF_EXIST) == 0); in test_stackmap() 1017 err = bpf_map_update_elem(fd, &i, &sfd[i], BPF_EXIST); in test_sockmap() [all …]
|
D | test_lru_map.c | 204 assert(bpf_map_update_elem(lru_map_fd, &key, value, BPF_EXIST) == -1 && in test_lru_sanity0() 378 BPF_EXIST)); in test_lru_sanity2() 729 assert(bpf_map_update_elem(lru_map_fd, &key, value, BPF_EXIST) == -1 && in test_lru_sanity7() 823 assert(bpf_map_update_elem(lru_map_fd, &key, value, BPF_EXIST) == -1 && in test_lru_sanity8()
|
/tools/testing/selftests/bpf/progs/ |
D | test_tc_edt.c | 58 if (bpf_map_update_elem(&flow_map, &key, &next_tstamp, BPF_EXIST)) in throttle_flow()
|
/tools/testing/selftests/bpf/map_tests/ |
D | sk_storage_map.c | 498 BPF_EXIST | BPF_F_LOCK); in test_sk_storage_map_basic() 510 err = bpf_map_update_elem(map_fd, &sk_fd, &value, BPF_EXIST); in test_sk_storage_map_basic()
|
/tools/testing/selftests/bpf/prog_tests/ |
D | sockmap_listen.c | 543 xbpf_map_update_elem(mapfd, &key, &value, BPF_EXIST); in test_update_existing() 1295 err = xbpf_map_update_elem(sock_map, &key, &value, BPF_EXIST); in test_reuseport_select_connected()
|
/tools/include/uapi/linux/ |
D | bpf.h | 399 BPF_EXIST = 2, /* update existing element */ enumerator
|
/tools/bpf/bpftool/ |
D | map.c | 458 *flags = BPF_EXIST; in parse_elem()
|
/tools/perf/ |
D | builtin-trace.c | 3333 err = bpf_map_update_elem(fd, &key, &value, BPF_EXIST);
|