Searched refs:bpf_shtab (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/net/core/ |
D | sock_map.c | 845 struct bpf_shtab { struct 859 static struct bpf_shtab_bucket *sock_hash_select_bucket(struct bpf_shtab *htab, in sock_hash_select_bucket() argument 882 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in __sock_hash_lookup_elem() 896 static void sock_hash_free_elem(struct bpf_shtab *htab, in sock_hash_free_elem() 906 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_delete_from_link() 930 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_delete_elem() 951 static struct bpf_shtab_elem *sock_hash_alloc_elem(struct bpf_shtab *htab, in sock_hash_alloc_elem() 981 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_update_common() 1046 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_get_next_key() 1085 struct bpf_shtab *htab; in sock_hash_alloc() [all …]
|
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | map_ptr_kern.c | 492 struct bpf_shtab { struct 505 struct bpf_shtab *sockhash = (struct bpf_shtab *)&m_sockhash; in check_sockhash() argument
|