Home
last modified time | relevance | path

Searched refs:BPF_ANY (Results 1 – 24 of 24) sorted by relevance

/external/strace/xlat/
Dbpf_map_update_elem_flags.h6 #if defined(BPF_ANY) || (defined(HAVE_DECL_BPF_ANY) && HAVE_DECL_BPF_ANY)
8 static_assert((BPF_ANY) == (0), "BPF_ANY != 0");
11 # define BPF_ANY 0
38 [BPF_ANY] = XLAT(BPF_ANY),
Dbpf_map_update_elem_flags.in2 BPF_ANY 0
/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dtest_tcpbpf_kern.c42 BPF_ANY); in update_event_map()
47 BPF_ANY); in update_event_map()
88 BPF_ANY); in bpf_testcb()
108 BPF_ANY); in bpf_testcb()
136 BPF_ANY); in bpf_testcb()
146 bpf_map_update_elem(&sockopt_results, &key, &v, BPF_ANY); in bpf_testcb()
Dtest_select_reuseport_kern.c173 bpf_map_update_elem(&linum_map, &index_zero, &linum, BPF_ANY); in _select_by_skb_data()
174 bpf_map_update_elem(&data_check_map, &index_zero, &data_check, BPF_ANY); in _select_by_skb_data()
Dtest_tcpnotify_kern.c83 BPF_ANY); in bpf_testcb()
Dtest_tc_edt.c45 if (bpf_map_update_elem(&flow_map, &key, &tstamp, BPF_ANY)) in throttle_flow()
Dtest_tcp_estats.c244 bpf_map_update_elem(&ev_record_map, &key, &ev, BPF_ANY); in send_basic_event()
Dbpf_flow.c81 bpf_map_update_elem(&last_dissection, &key, &val, BPF_ANY); in export_flow_keys()
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dtailcalls.c50 err = bpf_map_update_elem(map_fd, &i, &prog_fd, BPF_ANY); in test_tailcall_1()
82 err = bpf_map_update_elem(map_fd, &i, &prog_fd, BPF_ANY); in test_tailcall_1()
104 err = bpf_map_update_elem(map_fd, &i, &prog_fd, BPF_ANY); in test_tailcall_1()
188 err = bpf_map_update_elem(map_fd, &i, &prog_fd, BPF_ANY); in test_tailcall_2()
263 err = bpf_map_update_elem(map_fd, &i, &prog_fd, BPF_ANY); in test_tailcall_3()
353 err = bpf_map_update_elem(map_fd, &i, &prog_fd, BPF_ANY); in test_tailcall_4()
359 err = bpf_map_update_elem(data_fd, &zero, &i, BPF_ANY); in test_tailcall_4()
370 err = bpf_map_update_elem(data_fd, &zero, &i, BPF_ANY); in test_tailcall_4()
441 err = bpf_map_update_elem(map_fd, &i, &prog_fd, BPF_ANY); in test_tailcall_5()
447 err = bpf_map_update_elem(data_fd, &zero, &key[i], BPF_ANY); in test_tailcall_5()
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_maps.c52 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()
925 err = bpf_map_update_elem(map_fd_rx, &i, &sfd[i], BPF_ANY); in test_sockmap()
931 err = bpf_map_update_elem(map_fd_tx, &i, &sfd[i], BPF_ANY); in test_sockmap()
[all …]
Dtest_sockmap.c870 err = bpf_map_update_elem(map_fd[1], &i, &c1, BPF_ANY); in run_options()
883 err = bpf_map_update_elem(map_fd[2], &i, &redir_fd, BPF_ANY); in run_options()
893 &i, &txmsg_apply, BPF_ANY); in run_options()
904 &i, &txmsg_cork, BPF_ANY); in run_options()
915 &i, &txmsg_start, BPF_ANY); in run_options()
927 &i, &txmsg_end, BPF_ANY); in run_options()
939 &i, &txmsg_start_push, BPF_ANY); in run_options()
951 &i, &txmsg_end_push, BPF_ANY); in run_options()
963 &i, &txmsg_start_pop, BPF_ANY); in run_options()
973 &i, &txmsg_start_pop, BPF_ANY); in run_options()
[all …]
Dflow_dissector_load.h59 bpf_map_update_elem(prog_array_fd, &i, &fd, BPF_ANY); in bpf_flow_load()
Dtest_select_reuseport.c499 &tmp_index, BPF_ANY); in test_syncookie()
658 BPF_ANY); in setup_per_test()
710 &reuseport_array, BPF_ANY); in test_all()
Dxdping.c228 if (bpf_map_update_elem(map_fd, &raddr, &pinginfo, BPF_ANY)) { in main()
Dtest_verifier.c457 if (bpf_map_update_elem(mfd, &p1key, &p1fd, BPF_ANY) < 0) in create_prog_array()
459 if (bpf_map_update_elem(mfd, &p2key, &p2fd, BPF_ANY) < 0) in create_prog_array()
461 if (bpf_map_update_elem(mfd, &p3key, &p3fd, BPF_ANY) < 0) { in create_prog_array()
/external/ltp/testcases/kernel/syscalls/bpf/
Dbpf_map01.c95 attr->flags = BPF_ANY; in run()
Dbpf_prog03.c138 attr->flags = BPF_ANY; in run()
/external/iproute2/include/uapi/linux/
Dbpf.h163 #define BPF_ANY 0 /* create new element or update existing */ macro
/external/ltp/include/lapi/
Dbpf.h165 #define BPF_ANY 0 /* create new element or update existing */ macro
/external/bcc/src/cc/compat/linux/
Dbpf.h266 #define BPF_ANY 0 /* create new element or update existing */ macro
/external/bcc/src/cc/includes/compat/linux/
Dbpf.h266 #define BPF_ANY 0 /* create new element or update existing */ macro
/external/iproute2/lib/
Dbpf.c1019 ret = bpf_map_update(map_fd, &map_key, &prog_fd, BPF_ANY); in bpf_graft_map()
1698 &inner_fd, BPF_ANY); in bpf_maps_attach_all()
2205 &fd, BPF_ANY); in bpf_fill_prog_arrays()
/external/kernel-headers/original/uapi/linux/
Dbpf.h404 BPF_ANY = 0, /* create new element or update existing */ enumerator
/external/bcc/src/cc/frontends/b/
Dcodegen_llvm.cc640 …B.CreateCall(update_fn, vector<Value *>({pseudo_map_fd, key_ptr, value_ptr, B.getInt64(BPF_ANY)})); in emit_table_update()