Home
last modified time | relevance | path

Searched refs:sk_stg_map (Results 1 – 8 of 8) sorted by relevance

/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dbpf_iter_bpf_sk_storage_helpers.c14 } sk_stg_map SEC(".maps");
20 bpf_sk_storage_delete(&sk_stg_map, ctx->sk); in delete_bpf_sk_storage_map()
40 sock_tgid = bpf_sk_storage_get(&sk_stg_map, sock->sk, 0, 0); in fill_socket_owner()
58 sock_tgid = bpf_sk_storage_get(&sk_stg_map, sk_common, 0, 0); in negate_socket_local_storage()
A Dtest_sk_storage_tracing.c20 } sk_stg_map SEC(".maps");
41 stg = bpf_sk_storage_get(&sk_stg_map, sk, 0, in BPF_PROG()
58 stg = bpf_sk_storage_get(&sk_stg_map, sk, 0, in set_task_info()
A Dtest_sk_storage_trace_itself.c13 } sk_stg_map SEC(".maps");
20 value = bpf_sk_storage_get(&sk_stg_map, sk, 0, in BPF_PROG()
A Dbpf_dctcp.c34 } sk_stg_map SEC(".maps");
99 stg = bpf_sk_storage_get(&sk_stg_map, (void *)tp, NULL, 0); in BPF_PROG()
102 bpf_sk_storage_delete(&sk_stg_map, (void *)tp); in BPF_PROG()
A Dbpf_iter_bpf_sk_storage_map.c15 } sk_stg_map SEC(".maps");
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dbpf_tcp_ca.c80 static void do_test(const char *tcp_ca, const struct bpf_map *sk_stg_map) in do_test() argument
119 if (sk_stg_map) { in do_test()
120 err = bpf_map_update_elem(bpf_map__fd(sk_stg_map), &fd, in do_test()
132 if (sk_stg_map) { in do_test()
135 err = bpf_map_lookup_elem(bpf_map__fd(sk_stg_map), &fd, in do_test()
206 do_test("bpf_dctcp", dctcp_skel->maps.sk_stg_map); in test_dctcp()
A Dsk_storage_tracing.c30 err = bpf_map_lookup_elem(bpf_map__fd(skel->maps.sk_stg_map), &sk_fd, in check_sk_stg()
A Dbpf_iter.c1129 map_fd = bpf_map__fd(skel->maps.sk_stg_map); in test_bpf_sk_storage_delete()
1197 map_fd = bpf_map__fd(skel->maps.sk_stg_map); in test_bpf_sk_storage_get()
1233 skel->maps.sk_stg_map); in test_bpf_sk_stoarge_map_iter_fd()
1253 map_fd = bpf_map__fd(skel->maps.sk_stg_map); in test_bpf_sk_storage_map()

Completed in 18 milliseconds