Searched refs:bpf_shtab (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/net/core/ |
D | sock_map.c | 858 struct bpf_shtab { struct 872 static struct bpf_shtab_bucket *sock_hash_select_bucket(struct bpf_shtab *htab, in sock_hash_select_bucket() argument 895 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in __sock_hash_lookup_elem() 909 static void sock_hash_free_elem(struct bpf_shtab *htab, in sock_hash_free_elem() 919 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_delete_from_link() 943 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_delete_elem() 964 static struct bpf_shtab_elem *sock_hash_alloc_elem(struct bpf_shtab *htab, in sock_hash_alloc_elem() 993 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_update_common() 1065 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_get_next_key() 1104 struct bpf_shtab *htab; in sock_hash_alloc() [all …]
|
/Linux-v5.10/tools/testing/selftests/bpf/progs/ |
D | map_ptr_kern.c | 481 struct bpf_shtab { struct 494 struct bpf_shtab *sockhash = (struct bpf_shtab *)&m_sockhash; in check_sockhash() argument
|