Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/core/
H A Dsock_map.c867 struct bpf_shtab { struct
881 static struct bpf_shtab_bucket *sock_hash_select_bucket(struct bpf_shtab *htab, in sock_hash_select_bucket() argument
904 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in __sock_hash_lookup_elem()
918 static void sock_hash_free_elem(struct bpf_shtab *htab, in sock_hash_free_elem()
928 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_delete_from_link()
952 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_delete_elem()
973 static struct bpf_shtab_elem *sock_hash_alloc_elem(struct bpf_shtab *htab, in sock_hash_alloc_elem()
1002 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_update_common()
1074 struct bpf_shtab *htab = container_of(map, struct bpf_shtab, map); in sock_hash_get_next_key()
1113 struct bpf_shtab *htab; in sock_hash_alloc()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dmap_ptr_kern.c481 struct bpf_shtab { struct
494 struct bpf_shtab *sockhash = (struct bpf_shtab *)&m_sockhash; in check_sockhash() argument