Searched refs:sk_storage (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/tools/testing/selftests/bpf/progs/ |
D | udp_limit.c | 19 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()
|
D | sk_storage_omem_uncharge.c | 22 } sk_storage SEC(".maps"); 51 value = bpf_sk_storage_get(&sk_storage, sk, 0, 0); in BPF_PROG()
|
D | map_ptr_kern.c | 624 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/ |
D | bpf_sk_storage.c | 23 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/ |
D | sk_storage_omem_uncharge.c | 18 map_fd = bpf_map__fd(skel->maps.sk_storage); in test_sk_storage_omem_uncharge()
|
/Linux-v6.6/tools/bpf/bpftool/Documentation/ |
D | bpftool-map.rst | 57 | | **queue** | **stack** | **sk_storage** | **struct_ops** | **ringbuf** | **inode_storage**
|