Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_lru_map.c184 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 …]
Dtest_maps.c56 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 …]
Dtest_sockmap_kern.h141 BPF_NOEXIST); in bpf_sockmap()
144 BPF_NOEXIST); in bpf_sockmap()
158 BPF_NOEXIST); in bpf_sockmap()
161 BPF_NOEXIST); in bpf_sockmap()
Dtest_sock_fields.c297 BPF_NOEXIST); in init_sk_storage()
303 BPF_NOEXIST); in init_sk_storage()
Dtest_select_reuseport.c626 BPF_NOEXIST); in prepare_sk_fds()
/external/strace/xlat/
Dbpf_map_update_elem_flags.h13 #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),
Dbpf_map_update_elem_flags.in3 BPF_NOEXIST 1
/external/linux-kselftest/tools/testing/selftests/bpf/map_tests/
Dsk_storage_map.c194 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/
Dbpf.h164 #define BPF_NOEXIST 1 /* create new element if it didn't exist */ macro
/external/ltp/include/lapi/
Dbpf.h166 #define BPF_NOEXIST 1 /* create new element if it didn't exist */ macro
/external/bcc/src/cc/compat/linux/
Dbpf.h267 #define BPF_NOEXIST 1 /* create new element if it didn't exist */ macro
/external/bcc/src/cc/includes/compat/linux/
Dbpf.h267 #define BPF_NOEXIST 1 /* create new element if it didn't exist */ macro
/external/kernel-headers/original/uapi/linux/
Dbpf.h405 BPF_NOEXIST = 1, /* create new element if it didn't exist */ enumerator
/external/bcc/src/cc/frontends/b/
Dcodegen_llvm.cc826 …reateCall(update_fn, vector<Value *>({pseudo_map_fd, key_ptr, leaf_ptr, B.getInt64(BPF_NOEXIST)})); in visit_table_index_expr_node()