Home
last modified time | relevance | path

Searched refs:sk_storage (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dudp_limit.c19 int *sk_storage; in sock() local
24 sk_storage = bpf_sk_storage_get(&sk_map, ctx, 0, in sock()
26 if (!sk_storage) in sock()
28 *sk_storage = 0xdeadbeef; in sock()
47 int *sk_storage; in sock_release() local
52 sk_storage = bpf_sk_storage_get(&sk_map, ctx, 0, 0); in sock_release()
53 if (!sk_storage || *sk_storage != 0xdeadbeef) in sock_release()
Dsk_storage_omem_uncharge.c22 } sk_storage SEC(".maps");
51 value = bpf_sk_storage_get(&sk_storage, sk, 0, 0); in BPF_PROG()
Dmap_ptr_kern.c624 struct bpf_local_storage_map *sk_storage = in check_sk_storage() local
628 VERIFY(check(&sk_storage->map, map, sizeof(__u32), sizeof(__u32), 0)); in check_sk_storage()
/Linux-v6.6/net/core/
Dbpf_sk_storage.c23 struct bpf_local_storage *sk_storage; in bpf_sk_storage_lookup() local
26 sk_storage = in bpf_sk_storage_lookup()
28 if (!sk_storage) in bpf_sk_storage_lookup()
32 return bpf_local_storage_lookup(sk_storage, smap, cacheit_lockit); in bpf_sk_storage_lookup()
51 struct bpf_local_storage *sk_storage; in bpf_sk_storage_free() local
54 sk_storage = rcu_dereference(sk->sk_bpf_storage); in bpf_sk_storage_free()
55 if (!sk_storage) { in bpf_sk_storage_free()
60 bpf_local_storage_destroy(sk_storage); in bpf_sk_storage_free()
157 struct bpf_local_storage *sk_storage; in bpf_sk_storage_clone() local
164 sk_storage = rcu_dereference(sk->sk_bpf_storage); in bpf_sk_storage_clone()
[all …]
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dsk_storage_omem_uncharge.c18 map_fd = bpf_map__fd(skel->maps.sk_storage); in test_sk_storage_omem_uncharge()
/Linux-v6.6/tools/bpf/bpftool/Documentation/
Dbpftool-map.rst57 | | **queue** | **stack** | **sk_storage** | **struct_ops** | **ringbuf** | **inode_storage**