Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/bpf/progs/
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()
99 bpf_sk_storage_get(&sk_stg_map, sk, 0, 0); in BPF_PROG()
100 bpf_sk_storage_get(&sk_stg_map, req->sk, 0, 0); in BPF_PROG()
107 bpf_sk_storage_get(&sk_stg_map, skb->sk, 0, 0); in BPF_PROG()
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()
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()
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()
Dbpf_iter_bpf_sk_storage_map.c15 } sk_stg_map SEC(".maps");
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dbpf_tcp_ca.c81 static void do_test(const char *tcp_ca, const struct bpf_map *sk_stg_map) in do_test() argument
120 if (sk_stg_map) { in do_test()
121 err = bpf_map_update_elem(bpf_map__fd(sk_stg_map), &fd, in do_test()
133 if (sk_stg_map) { in do_test()
136 err = bpf_map_lookup_elem(bpf_map__fd(sk_stg_map), &fd, in do_test()
209 do_test("bpf_dctcp", dctcp_skel->maps.sk_stg_map); in test_dctcp()
Dsk_storage_tracing.c30 err = bpf_map_lookup_elem(bpf_map__fd(skel->maps.sk_stg_map), &sk_fd, in check_sk_stg()
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()