/external/linux-kselftest/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_sockmap_kern.h | 141 BPF_NOEXIST); in bpf_sockmap() 144 BPF_NOEXIST); in bpf_sockmap() 158 BPF_NOEXIST); in bpf_sockmap() 161 BPF_NOEXIST); in bpf_sockmap()
|
D | test_sock_fields.c | 297 BPF_NOEXIST); in init_sk_storage() 303 BPF_NOEXIST); in init_sk_storage()
|
D | test_select_reuseport.c | 626 BPF_NOEXIST); in prepare_sk_fds()
|
/external/strace/xlat/ |
D | bpf_map_update_elem_flags.h | 13 #if defined(BPF_NOEXIST) || (defined(HAVE_DECL_BPF_NOEXIST) && HAVE_DECL_BPF_NOEXIST) 15 static_assert((BPF_NOEXIST) == (1), "BPF_NOEXIST != 1"); 18 # define BPF_NOEXIST 1 39 [BPF_NOEXIST] = XLAT(BPF_NOEXIST),
|
D | bpf_map_update_elem_flags.in | 3 BPF_NOEXIST 1
|
/external/linux-kselftest/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()
|
/external/iproute2/include/uapi/linux/ |
D | bpf.h | 164 #define BPF_NOEXIST 1 /* create new element if it didn't exist */ macro
|
/external/ltp/include/lapi/ |
D | bpf.h | 166 #define BPF_NOEXIST 1 /* create new element if it didn't exist */ macro
|
/external/bcc/src/cc/compat/linux/ |
D | bpf.h | 267 #define BPF_NOEXIST 1 /* create new element if it didn't exist */ macro
|
/external/bcc/src/cc/includes/compat/linux/ |
D | bpf.h | 267 #define BPF_NOEXIST 1 /* create new element if it didn't exist */ macro
|
/external/kernel-headers/original/uapi/linux/ |
D | bpf.h | 405 BPF_NOEXIST = 1, /* create new element if it didn't exist */ enumerator
|
/external/bcc/src/cc/frontends/b/ |
D | codegen_llvm.cc | 826 …reateCall(update_fn, vector<Value *>({pseudo_map_fd, key_ptr, leaf_ptr, B.getInt64(BPF_NOEXIST)})); in visit_table_index_expr_node()
|