/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | test_tcpbpf_kern.c | 42 BPF_ANY); in update_event_map() 47 BPF_ANY); in update_event_map() 129 BPF_ANY); in bpf_testcb() 149 BPF_ANY); in bpf_testcb() 177 BPF_ANY); in bpf_testcb() 187 bpf_map_update_elem(&sockopt_results, &key, &v, BPF_ANY); in bpf_testcb()
|
D | test_sk_lookup.c | 584 bpf_map_update_elem(&run_map, &KEY_PROG1, &PROG_DONE, BPF_ANY); in multi_prog_pass1() 591 bpf_map_update_elem(&run_map, &KEY_PROG2, &PROG_DONE, BPF_ANY); in multi_prog_pass2() 598 bpf_map_update_elem(&run_map, &KEY_PROG1, &PROG_DONE, BPF_ANY); in multi_prog_drop1() 605 bpf_map_update_elem(&run_map, &KEY_PROG2, &PROG_DONE, BPF_ANY); in multi_prog_drop2() 632 bpf_map_update_elem(&run_map, &KEY_PROG1, &PROG_DONE, BPF_ANY); in multi_prog_redir1() 642 bpf_map_update_elem(&run_map, &KEY_PROG2, &PROG_DONE, BPF_ANY); in multi_prog_redir2()
|
D | test_select_reuseport_kern.c | 179 bpf_map_update_elem(&linum_map, &index_zero, &linum, BPF_ANY); in _select_by_skb_data() 180 bpf_map_update_elem(&data_check_map, &index_zero, &data_check, BPF_ANY); in _select_by_skb_data()
|
D | load_bytes_relative.c | 45 bpf_map_update_elem(&test_result, &map_key, &test_passed, BPF_ANY); in load_bytes_relative()
|
D | test_tcpnotify_kern.c | 83 BPF_ANY); in bpf_testcb()
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | map_perf_test_kern.c | 112 bpf_map_update_elem(&hash_map, &key, &init_val, BPF_ANY); in SYSCALL() 127 bpf_map_update_elem(&percpu_hash_map, &key, &init_val, BPF_ANY); in SYSCALL() 141 bpf_map_update_elem(&hash_map_alloc, &key, &init_val, BPF_ANY); in SYSCALL() 155 bpf_map_update_elem(&percpu_hash_map_alloc, &key, &init_val, BPF_ANY); in SYSCALL() 204 ret = bpf_map_update_elem(&lru_hash_map, &key, &val, BPF_ANY); in SYSCALL() 207 BPF_ANY); in SYSCALL() 220 BPF_ANY); in SYSCALL()
|
D | test_current_task_under_cgroup_user.c | 65 if (bpf_map_update_elem(map_fd[0], &idx, &cg2, BPF_ANY)) { in main() 93 bpf_map_update_elem(map_fd[1], &idx, &remote_pid, BPF_ANY); in main()
|
D | spintest_kern.c | 41 bpf_map_update_elem(&my_map, &v, &v, BPF_ANY); \ 42 bpf_map_update_elem(&my_map2, &v, &v, BPF_ANY); \
|
D | tracex2_kern.c | 41 bpf_map_update_elem(&my_map, &loc, &init_val, BPF_ANY); in bpf_prog2() 98 bpf_map_update_elem(&my_hist_map, &key, &init_val, BPF_ANY); in SYSCALL()
|
D | offwaketime_kern.c | 78 bpf_map_update_elem(&wokeby, &pid, &woke, BPF_ANY); in waker() 139 bpf_map_update_elem(&start, &pid, &ts, BPF_ANY);
|
D | test_map_in_map_kern.c | 169 bpf_map_update_elem(®_result_h, &ret_key, &ret, BPF_ANY); in trace_sys_connect() 170 bpf_map_update_elem(&inline_result_h, &ret_key, &inline_ret, BPF_ANY); in trace_sys_connect()
|
D | test_map_in_map_user.c | 52 ret = bpf_map_update_elem(PORT_A, &port_key, &magic_result, BPF_ANY); in populate_map() 59 ret = bpf_map_update_elem(A_OF_PORT_A, &port_key, &PORT_A, BPF_ANY); in populate_map()
|
D | test_current_task_under_cgroup_kern.c | 39 bpf_map_update_elem(&perf_map, &idx, &pid, BPF_ANY); in SYSCALL()
|
D | tracex4_kern.c | 51 bpf_map_update_elem(&my_map, &ptr, &v, BPF_ANY); in bpf_prog2()
|
D | lwt_len_hist_kern.c | 77 bpf_map_update_elem(&lwt_len_hist_map, &key, &init_val, BPF_ANY); in do_len_hist()
|
D | tracex3_kern.c | 30 bpf_map_update_elem(&my_map, &rq, &val, BPF_ANY); in bpf_prog1()
|
D | tracex5_user.c | 87 bpf_map_update_elem(progs_fd, &key, &fd, BPF_ANY); in main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | tailcalls.c | 51 err = bpf_map_update_elem(map_fd, &i, &prog_fd, BPF_ANY); in test_tailcall_1() 83 err = bpf_map_update_elem(map_fd, &i, &prog_fd, BPF_ANY); in test_tailcall_1() 105 err = bpf_map_update_elem(map_fd, &i, &prog_fd, BPF_ANY); in test_tailcall_1() 189 err = bpf_map_update_elem(map_fd, &i, &prog_fd, BPF_ANY); in test_tailcall_2() 264 err = bpf_map_update_elem(map_fd, &i, &prog_fd, BPF_ANY); in test_tailcall_3() 354 err = bpf_map_update_elem(map_fd, &i, &prog_fd, BPF_ANY); in test_tailcall_4() 360 err = bpf_map_update_elem(data_fd, &zero, &i, BPF_ANY); in test_tailcall_4() 371 err = bpf_map_update_elem(data_fd, &zero, &i, BPF_ANY); in test_tailcall_4() 442 err = bpf_map_update_elem(map_fd, &i, &prog_fd, BPF_ANY); in test_tailcall_5() 448 err = bpf_map_update_elem(data_fd, &zero, &key[i], BPF_ANY); in test_tailcall_5() [all …]
|
D | select_reuseport.c | 526 &tmp_index, BPF_ANY); in test_syncookie() 684 BPF_ANY); in setup_per_test() 693 BPF_ANY); in setup_per_test() 705 err = bpf_map_update_elem(result_map, &i, &zero, BPF_ANY); in cleanup_per_test() 710 err = bpf_map_update_elem(linum_map, &zero, &zero, BPF_ANY); in cleanup_per_test()
|
D | pe_preserve_elems.c | 25 err = bpf_map_update_elem(mfd, &key, &pfd, BPF_ANY); in test_one_map()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
D | test_sockmap.c | 1000 err = bpf_map_update_elem(map_fd[1], &i, &c1, BPF_ANY); in run_options() 1013 err = bpf_map_update_elem(map_fd[2], &i, &redir_fd, BPF_ANY); in run_options() 1023 &i, &txmsg_apply, BPF_ANY); in run_options() 1034 &i, &txmsg_cork, BPF_ANY); in run_options() 1045 &i, &txmsg_start, BPF_ANY); in run_options() 1057 &i, &txmsg_end, BPF_ANY); in run_options() 1069 &i, &txmsg_start_push, BPF_ANY); in run_options() 1081 &i, &txmsg_end_push, BPF_ANY); in run_options() 1093 &i, &txmsg_start_pop, BPF_ANY); in run_options() 1103 &i, &txmsg_start_pop, BPF_ANY); in run_options() [all …]
|
D | test_maps.c | 52 assert(bpf_map_update_elem(fd, &key, &value, BPF_ANY) == 0); in test_hashmap() 90 assert(bpf_map_update_elem(fd, &key, &value, BPF_ANY) == 0); in test_hashmap() 168 assert(bpf_map_update_elem(fd, &key, value, BPF_ANY) == 0); in test_hashmap_percpu() 360 assert(bpf_map_update_elem(fd, &key, &value, BPF_ANY) == 0); in test_arraymap() 418 assert(bpf_map_update_elem(fd, &key, values, BPF_ANY) == 0); in test_arraymap_percpu() 481 assert(bpf_map_update_elem(fd, &key, values, BPF_ANY) == 0); in test_arraymap_percpu_many_keys() 749 err = bpf_map_update_elem(fd, &i, &udp, BPF_ANY); in test_sockmap() 758 err = bpf_map_update_elem(fd, &i, &sfd[i], BPF_ANY); in test_sockmap() 921 err = bpf_map_update_elem(map_fd_rx, &i, &sfd[i], BPF_ANY); in test_sockmap() 927 err = bpf_map_update_elem(map_fd_tx, &i, &sfd[i], BPF_ANY); in test_sockmap() [all …]
|
D | flow_dissector_load.h | 65 bpf_map_update_elem(prog_array_fd, &i, &fd, BPF_ANY); in bpf_flow_load()
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
D | bpf-script-example.c | 10 #define BPF_ANY 0 macro 45 bpf_map_update_elem(&flip_table, &ind, &new_flag, BPF_ANY); in bpf_func__SyS_epoll_pwait()
|
D | bpf-script-test-relocation.c | 10 #define BPF_ANY 0 macro
|