Searched refs:BPF_NOEXIST (Results 1 – 6 of 6) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_lru_map.c | 122 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 …]
|
D | test_maps.c | 49 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/ |
D | bpf_map_update_elem_flags.h | 5 #if !(defined(BPF_NOEXIST) || (defined(HAVE_DECL_BPF_NOEXIST) && HAVE_DECL_BPF_NOEXIST)) 6 # define BPF_NOEXIST 1 macro 21 XLAT(BPF_NOEXIST),
|
D | bpf_map_update_elem_flags.in | 2 BPF_NOEXIST 1
|
/external/iproute2/include/uapi/linux/ |
D | bpf.h | 164 #define BPF_NOEXIST 1 /* create new element if it didn't exist */ macro
|
/external/kernel-headers/original/uapi/linux/ |
D | bpf.h | 204 #define BPF_NOEXIST 1 /* create new element if it didn't exist */ macro
|