Searched refs:sk_storage (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/tools/testing/selftests/bpf/progs/ |
D | udp_limit.c | 19 int *sk_storage; in sock() local 25 sk_storage = bpf_sk_storage_get(&sk_map, ctx, 0, in sock() 27 if (!sk_storage) in sock() 29 *sk_storage = 0xdeadbeef; in sock() 48 int *sk_storage; in sock_release() local 54 sk_storage = bpf_sk_storage_get(&sk_map, ctx, 0, 0); in sock_release() 55 if (!sk_storage || *sk_storage != 0xdeadbeef) in sock_release()
|
D | map_ptr_kern.c | 619 struct bpf_local_storage_map *sk_storage = in check_sk_storage() local 623 VERIFY(check(&sk_storage->map, map, sizeof(__u32), sizeof(__u32), 0)); in check_sk_storage()
|
/Linux-v6.1/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() 52 struct bpf_local_storage *sk_storage; in bpf_sk_storage_free() local 57 sk_storage = rcu_dereference(sk->sk_bpf_storage); in bpf_sk_storage_free() 58 if (!sk_storage) { in bpf_sk_storage_free() 72 raw_spin_lock_bh(&sk_storage->lock); in bpf_sk_storage_free() 73 hlist_for_each_entry_safe(selem, n, &sk_storage->list, snode) { in bpf_sk_storage_free() 79 sk_storage, selem, true, false); in bpf_sk_storage_free() [all …]
|
/Linux-v6.1/tools/bpf/bpftool/Documentation/ |
D | bpftool-map.rst | 57 | | **queue** | **stack** | **sk_storage** | **struct_ops** | **ringbuf** | **inode_storage**
|