Home
last modified time | relevance | path

Searched refs:bpf_shtab (Results 1 – 2 of 2) sorted by relevance

/linux/net/core/
H A Dsock_map.c858 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()
994 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_update_common()
1059 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_get_next_key()
1098 struct bpf_shtab *htab; in sock_hash_alloc()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dmap_ptr_kern.c492 struct bpf_shtab { struct
505 struct bpf_shtab *sockhash = (struct bpf_shtab *)&m_sockhash; in check_sockhash() argument