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

/linux-master/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_bpf_sk_storage_helpers.c14 } sk_stg_map SEC(".maps");
20 bpf_sk_storage_delete(&sk_stg_map, ctx->sk);
40 sock_tgid = bpf_sk_storage_get(&sk_stg_map, sock->sk, 0, 0);
58 sock_tgid = bpf_sk_storage_get(&sk_stg_map, sk_common, 0, 0);
H A Dtest_sk_storage_trace_itself.c13 } sk_stg_map SEC(".maps");
20 value = bpf_sk_storage_get(&sk_stg_map, sk, 0,
H A Dtest_sk_storage_tracing.c20 } sk_stg_map SEC(".maps");
41 stg = bpf_sk_storage_get(&sk_stg_map, sk, 0,
58 stg = bpf_sk_storage_get(&sk_stg_map, sk, 0,
99 bpf_sk_storage_get(&sk_stg_map, sk, 0, 0);
100 bpf_sk_storage_get(&sk_stg_map, req->sk, 0, 0);
107 bpf_sk_storage_get(&sk_stg_map, skb->sk, 0, 0);
H A Dbpf_iter_bpf_sk_storage_map.c15 } sk_stg_map SEC(".maps");
H A Dbpf_dctcp.c34 } sk_stg_map SEC(".maps");
99 stg = bpf_sk_storage_get(&sk_stg_map, (void *)tp, NULL, 0);
102 bpf_sk_storage_delete(&sk_stg_map, (void *)tp);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_tcp_ca.c79 static void do_test(const char *tcp_ca, const struct bpf_map *sk_stg_map) argument
121 if (sk_stg_map) {
122 err = bpf_map_update_elem(bpf_map__fd(sk_stg_map), &fd,
124 if (!ASSERT_OK(err, "bpf_map_update_elem(sk_stg_map)"))
133 if (sk_stg_map) {
136 err = bpf_map_lookup_elem(bpf_map__fd(sk_stg_map), &fd,
138 if (!ASSERT_ERR(err, "bpf_map_lookup_elem(sk_stg_map)") ||
139 !ASSERT_EQ(errno, ENOENT, "bpf_map_lookup_elem(sk_stg_map)"))
207 do_test("bpf_dctcp", dctcp_skel->maps.sk_stg_map);
H A Dsk_storage_tracing.c30 err = bpf_map_lookup_elem(bpf_map__fd(skel->maps.sk_stg_map), &sk_fd,
32 if (!ASSERT_OK(err, "map_lookup(sk_stg_map)"))
H A Dbpf_iter.c1122 map_fd = bpf_map__fd(skel->maps.sk_stg_map);
1196 map_fd = bpf_map__fd(skel->maps.sk_stg_map);
1230 skel->maps.sk_stg_map);
1250 map_fd = bpf_map__fd(skel->maps.sk_stg_map);

Completed in 224 milliseconds