Searched refs:htab_elem (Results 1 – 1 of 1) sorted by relevance
33 struct htab_elem *__percpu *extra_elems;41 struct htab_elem { struct79 static inline void htab_elem_set_ptr(struct htab_elem *l, u32 key_size, in htab_elem_set_ptr() argument85 static inline void __percpu *htab_elem_get_ptr(struct htab_elem *l, u32 key_size) in htab_elem_get_ptr()90 static void *fd_htab_map_get_ptr(const struct bpf_map *map, struct htab_elem *l) in fd_htab_map_get_ptr()95 static struct htab_elem *get_htab_elem(struct bpf_htab *htab, int i) in get_htab_elem()97 return (struct htab_elem *) (htab->elems + i * htab->elem_size); in get_htab_elem()119 static struct htab_elem *prealloc_lru_pop(struct bpf_htab *htab, void *key, in prealloc_lru_pop()123 struct htab_elem *l; in prealloc_lru_pop()126 l = container_of(node, struct htab_elem, lru_node); in prealloc_lru_pop()[all …]