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.c861 struct bpf_shtab { struct
875 static struct bpf_shtab_bucket *sock_hash_select_bucket(struct bpf_shtab *htab, in sock_hash_select_bucket() argument
898 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in __sock_hash_lookup_elem()
912 static void sock_hash_free_elem(struct bpf_shtab *htab, in sock_hash_free_elem()
922 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_delete_from_link()
946 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_delete_elem()
967 static struct bpf_shtab_elem *sock_hash_alloc_elem(struct bpf_shtab *htab, in sock_hash_alloc_elem()
997 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_update_common()
1062 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_get_next_key()
1101 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