Home
last modified time | relevance | path

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

/Linux-v4.19/kernel/bpf/
Dhashtab.c33 struct bpf_htab { struct
55 struct bpf_htab *htab; argument
70 static bool htab_is_lru(const struct bpf_htab *htab) in htab_is_lru()
76 static bool htab_is_percpu(const struct bpf_htab *htab) in htab_is_percpu()
82 static bool htab_is_prealloc(const struct bpf_htab *htab) in htab_is_prealloc()
103 static struct htab_elem *get_htab_elem(struct bpf_htab *htab, int i) in get_htab_elem()
108 static void htab_free_elems(struct bpf_htab *htab) in htab_free_elems()
127 static struct htab_elem *prealloc_lru_pop(struct bpf_htab *htab, void *key, in prealloc_lru_pop()
142 static int prealloc_init(struct bpf_htab *htab) in prealloc_init()
200 static void prealloc_destroy(struct bpf_htab *htab) in prealloc_destroy()
[all …]
Dsockmap.c69 struct bpf_htab { struct
281 static inline struct bucket *__select_bucket(struct bpf_htab *htab, u32 hash) in __select_bucket()
286 static inline struct hlist_head *select_bucket(struct bpf_htab *htab, u32 hash) in select_bucket()
291 static void free_htab_elem(struct bpf_htab *htab, struct htab_elem *l) in free_htab_elem()
344 struct bpf_htab *htab = container_of(e->map, struct bpf_htab, map); in bpf_tcp_remove()
2054 struct bpf_htab *htab = container_of(map, struct bpf_htab, map); in sock_map_prog()
2153 struct bpf_htab *htab = container_of(map, struct bpf_htab, map); in sock_map_release()
2172 struct bpf_htab *htab; in sock_hash_alloc()
2241 struct bpf_htab *htab; in __bpf_htab_free()
2243 htab = container_of(rcu, struct bpf_htab, rcu); in __bpf_htab_free()
[all …]