Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H 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()
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()
H 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()
H 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()
H 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()
H A Dbpf_iter_bpf_sk_storage_map.c15 } sk_stg_map SEC(".maps");
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A 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()
H A Dsk_storage_tracing.c30 err = bpf_map_lookup_elem(bpf_map__fd(skel->maps.sk_stg_map), &sk_fd, in check_sk_stg()
H A Dbpf_iter.c1131 map_fd = bpf_map__fd(skel->maps.sk_stg_map); in test_bpf_sk_storage_delete()
1199 map_fd = bpf_map__fd(skel->maps.sk_stg_map); in test_bpf_sk_storage_get()
1235 skel->maps.sk_stg_map); in test_bpf_sk_stoarge_map_iter_fd()
1255 map_fd = bpf_map__fd(skel->maps.sk_stg_map); in test_bpf_sk_storage_map()