Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_tcp_ca.c92 static void do_test(const char *tcp_ca, const struct bpf_map *sk_stg_map) in do_test() argument
131 if (sk_stg_map) { in do_test()
132 err = bpf_map_update_elem(bpf_map__fd(sk_stg_map), &fd, in do_test()
144 if (sk_stg_map) { in do_test()
147 err = bpf_map_lookup_elem(bpf_map__fd(sk_stg_map), &fd, in do_test()
220 do_test("bpf_dctcp", dctcp_skel->maps.sk_stg_map); in test_dctcp()
H A Dbpf_iter.c932 map_fd = bpf_map__fd(skel->maps.sk_stg_map); in test_bpf_sk_storage_map()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dbpf_dctcp.c27 } sk_stg_map SEC(".maps");
65 stg = bpf_sk_storage_get(&sk_stg_map, (void *)tp, NULL, 0); in BPF_PROG()
68 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");