Lines Matching defs:htab
46 struct bpf_htab *htab; member
68 static struct htab_elem *get_htab_elem(struct bpf_htab *htab, int i) in get_htab_elem()
73 static void htab_free_elems(struct bpf_htab *htab) in htab_free_elems()
91 static int prealloc_elems_and_freelist(struct bpf_htab *htab) in prealloc_elems_and_freelist()
128 static int alloc_extra_elems(struct bpf_htab *htab) in alloc_extra_elems()
149 struct bpf_htab *htab; in htab_map_alloc() local
270 static inline struct bucket *__select_bucket(struct bpf_htab *htab, u32 hash) in __select_bucket()
275 static inline struct hlist_head *select_bucket(struct bpf_htab *htab, u32 hash) in select_bucket()
295 struct bpf_htab *htab = container_of(map, struct bpf_htab, map); in __htab_map_lookup_elem() local
327 struct bpf_htab *htab = container_of(map, struct bpf_htab, map); in htab_map_get_next_key() local
382 static void htab_elem_free(struct bpf_htab *htab, struct htab_elem *l) in htab_elem_free()
392 struct bpf_htab *htab = l->htab; in htab_elem_free_rcu() local
405 static void free_htab_elem(struct bpf_htab *htab, struct htab_elem *l) in free_htab_elem()
421 static struct htab_elem *alloc_htab_elem(struct bpf_htab *htab, void *key, in alloc_htab_elem()
502 static int check_flags(struct bpf_htab *htab, struct htab_elem *l_old, in check_flags()
520 struct bpf_htab *htab = container_of(map, struct bpf_htab, map); in htab_map_update_elem() local
576 struct bpf_htab *htab = container_of(map, struct bpf_htab, map); in __htab_percpu_map_update_elem() local
647 struct bpf_htab *htab = container_of(map, struct bpf_htab, map); in htab_map_delete_elem() local
677 static void delete_all_elements(struct bpf_htab *htab) in delete_all_elements()
696 struct bpf_htab *htab = container_of(map, struct bpf_htab, map); in htab_map_free() local