Home
last modified time | relevance | path

Searched refs:BPF_NOEXIST (Results 1 – 6 of 6) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_lru_map.c122 assert(!bpf_map_update_elem(lru_map_fd, &key, value, BPF_NOEXIST)); in test_lru_sanity0()
124 BPF_NOEXIST)); in test_lru_sanity0()
127 assert(bpf_map_update_elem(lru_map_fd, &key, value, BPF_NOEXIST) == -1 in test_lru_sanity0()
146 assert(!bpf_map_update_elem(lru_map_fd, &key, value, BPF_NOEXIST)); in test_lru_sanity0()
163 assert(!bpf_map_update_elem(lru_map_fd, &key, value, BPF_NOEXIST)); in test_lru_sanity0()
165 BPF_NOEXIST)); in test_lru_sanity0()
218 BPF_NOEXIST)); in test_lru_sanity1()
225 BPF_NOEXIST)); in test_lru_sanity1()
236 BPF_NOEXIST)); in test_lru_sanity1()
238 BPF_NOEXIST)); in test_lru_sanity1()
[all …]
Dtest_maps.c49 assert(bpf_map_update_elem(fd, &key, &value, BPF_NOEXIST) == -1 && in test_hashmap()
70 assert(bpf_map_update_elem(fd, &key, &value, BPF_NOEXIST) == 0); in test_hashmap()
76 assert(bpf_map_update_elem(fd, &key, &value, BPF_NOEXIST) == -1 && in test_hashmap()
85 assert(bpf_map_update_elem(fd, &key, &value, BPF_NOEXIST) == -1 && in test_hashmap()
163 assert(bpf_map_update_elem(fd, &key, value, BPF_NOEXIST) == -1 && in test_hashmap_percpu()
189 assert(bpf_map_update_elem(fd, &key, value, BPF_NOEXIST) == 0); in test_hashmap_percpu()
196 assert(bpf_map_update_elem(fd, &key, value, BPF_NOEXIST) == -1 && in test_hashmap_percpu()
258 assert(bpf_map_update_elem(fd, &key, &value, BPF_NOEXIST) == 0); in test_hashmap_walk()
309 assert(bpf_map_update_elem(fd, &key, &value, BPF_NOEXIST) == -1 && in test_arraymap()
367 assert(bpf_map_update_elem(fd, &key, values, BPF_NOEXIST) == -1 && in test_arraymap_percpu()
[all …]
/external/strace/xlat/
Dbpf_map_update_elem_flags.h5 #if !(defined(BPF_NOEXIST) || (defined(HAVE_DECL_BPF_NOEXIST) && HAVE_DECL_BPF_NOEXIST))
6 # define BPF_NOEXIST 1 macro
21 XLAT(BPF_NOEXIST),
Dbpf_map_update_elem_flags.in2 BPF_NOEXIST 1
/external/iproute2/include/uapi/linux/
Dbpf.h164 #define BPF_NOEXIST 1 /* create new element if it didn't exist */ macro
/external/kernel-headers/original/uapi/linux/
Dbpf.h204 #define BPF_NOEXIST 1 /* create new element if it didn't exist */ macro