/external/linux-kselftest/tools/testing/selftests/bpf/ |
test_lru_map.c | 123 assert(!bpf_map_update_elem(lru_map_fd, &key, value, BPF_NOEXIST)); 124 assert(!bpf_map_update_elem(expected_map_fd, &key, value, 128 assert(bpf_map_update_elem(lru_map_fd, &key, value, BPF_NOEXIST) == -1 132 assert(bpf_map_update_elem(lru_map_fd, &key, value, -1) == -1 && 143 assert(bpf_map_update_elem(lru_map_fd, &key, value, BPF_EXIST) == -1 && 147 assert(!bpf_map_update_elem(lru_map_fd, &key, value, BPF_NOEXIST)); 164 assert(!bpf_map_update_elem(lru_map_fd, &key, value, BPF_NOEXIST)); 165 assert(!bpf_map_update_elem(expected_map_fd, &key, value, 218 assert(!bpf_map_update_elem(lru_map_fd, &key, value, 225 assert(!bpf_map_update_elem(expected_map_fd, &key, value [all...] |
socket_cookie_prog.c | 27 if (bpf_map_update_elem(&socket_cookies, &cookie_key, &cookie_value, 0)) 53 bpf_map_update_elem(&socket_cookies, &cookie_key, &new_cookie_value, 0);
|
test_tcpbpf_kern.c | 41 bpf_map_update_elem(&global_map, &key, &g, 46 bpf_map_update_elem(&global_map, &key, &g, 87 bpf_map_update_elem(&global_map, &key, &g, 107 bpf_map_update_elem(&sockopt_results, &key, &v, 134 bpf_map_update_elem(&global_map, &key, &g, 145 bpf_map_update_elem(&sockopt_results, &key, &v, BPF_ANY);
|
test_maps.c | 61 assert(bpf_map_update_elem(fd, &key, &value, BPF_ANY) == 0); 65 assert(bpf_map_update_elem(fd, &key, &value, BPF_NOEXIST) == -1 && 70 assert(bpf_map_update_elem(fd, &key, &value, -1) == -1 && 81 assert(bpf_map_update_elem(fd, &key, &value, BPF_EXIST) == -1 && 86 assert(bpf_map_update_elem(fd, &key, &value, BPF_NOEXIST) == 0); 92 assert(bpf_map_update_elem(fd, &key, &value, BPF_NOEXIST) == -1 && 97 assert(bpf_map_update_elem(fd, &key, &value, BPF_EXIST) == 0); 99 assert(bpf_map_update_elem(fd, &key, &value, BPF_ANY) == 0); 101 assert(bpf_map_update_elem(fd, &key, &value, BPF_NOEXIST) == -1 && 177 assert(bpf_map_update_elem(fd, &key, value, BPF_ANY) == 0) [all...] |
test_skb_cgroup_id_kern.c | 28 bpf_map_update_elem(&cgroup_ids, &level, &id, 0);
|
test_lpm_map.c | 252 r = bpf_map_update_elem(map, key, value, 0); 359 assert(bpf_map_update_elem(map_fd_ipv4, key_ipv4, &value, 0) == 0); 364 assert(bpf_map_update_elem(map_fd_ipv4, key_ipv4, &value, 0) == 0); 369 assert(bpf_map_update_elem(map_fd_ipv4, key_ipv4, &value, 0) == 0); 374 assert(bpf_map_update_elem(map_fd_ipv4, key_ipv4, &value, 0) == 0); 379 assert(bpf_map_update_elem(map_fd_ipv4, key_ipv4, &value, 0) == 0); 384 assert(bpf_map_update_elem(map_fd_ipv6, key_ipv6, &value, 0) == 0); 454 assert(bpf_map_update_elem(map_fd, key, &value, 0) == 0); 459 assert(bpf_map_update_elem(map_fd, key, &value, 0) == 0); 464 assert(bpf_map_update_elem(map_fd, key, &value, 0) == 0) [all...] |
test_stacktrace_build_id.c | 65 bpf_map_update_elem(&stackid_hmap, &key, &val, 0);
|
test_stacktrace_map.c | 65 bpf_map_update_elem(&stackid_hmap, &key, &val, 0);
|
test_cgroup_storage.c | 113 if (bpf_map_update_elem(percpu_map_fd, &key, percpu_value, 0)) { 136 if (bpf_map_update_elem(map_fd, &key, &value, 0)) {
|
test_select_reuseport_kern.c | 173 bpf_map_update_elem(&linum_map, &index_zero, &linum, BPF_ANY); 174 bpf_map_update_elem(&data_check_map, &index_zero, &data_check, BPF_ANY);
|
test_sockmap.c | 844 err = bpf_map_update_elem(map_fd[1], &i, &c1, BPF_ANY); 847 "ERROR: bpf_map_update_elem (txmsg): %d (%s\n", 857 err = bpf_map_update_elem(map_fd[2], &i, &redir_fd, BPF_ANY); 860 "ERROR: bpf_map_update_elem (txmsg): %d (%s\n", 866 err = bpf_map_update_elem(map_fd[3], 870 "ERROR: bpf_map_update_elem (apply_bytes): %d (%s\n", 877 err = bpf_map_update_elem(map_fd[4], 881 "ERROR: bpf_map_update_elem (cork_bytes): %d (%s\n", 888 err = bpf_map_update_elem(map_fd[5], 892 "ERROR: bpf_map_update_elem (txmsg_start): %d (%s)\n" [all...] |
flow_dissector_load.c | 60 bpf_map_update_elem(prog_array_fd, &i, &fd, BPF_ANY);
|
test_progs.c | 150 bpf_map_update_elem(map_fd, &key4, &value4, 0); 151 bpf_map_update_elem(map_fd, &key6, &value6, 0); 243 bpf_map_update_elem(map_fd, &key, &value, 0); 248 bpf_map_update_elem(map_fd, &ch_key, &real_num, 0); 253 bpf_map_update_elem(map_fd, &real_num, &real_def, 0); 332 bpf_map_update_elem(map_fd, &key, &value, 0); 337 bpf_map_update_elem(map_fd, &ch_key, &real_num, 0); 342 bpf_map_update_elem(map_fd, &real_num, &real_def, 0); 468 err = bpf_map_update_elem(map_fds[i], &array_key, 1015 bpf_map_update_elem(control_map_fd, &key, &val, 0) [all...] |
get_cgroup_id_user.c | 90 bpf_map_update_elem(pidmap_fd, &key, &pid, 0);
|
test_select_reuseport.c | 498 err = bpf_map_update_elem(tmp_index_ovr_map, &index_zero, 573 err = bpf_map_update_elem(reuseport_array, &i, &sk_fds[i], 605 err = bpf_map_update_elem(tmp_index_ovr_map, &index_zero, &ovr, 657 err = bpf_map_update_elem(outer_map, &index_zero,
|
test_tcp_estats.c | 244 bpf_map_update_elem(&ev_record_map, &key, &ev, BPF_ANY);
|
bpf_helpers.h | 14 static int (*bpf_map_update_elem)(void *map, void *key, void *value, variable
|
test_xdp_noinline.c | 606 bpf_map_update_elem(lru_map, &pckt->flow, &new_dst_lru, 0);
|
test_btf.c | [all...] |
test_verifier.c | [all...] |