Symbol: bpf_htab
kernel/bpf/hashtab.c
1013
static void pcpu_copy_value(struct bpf_htab *htab, void __percpu *pptr,
kernel/bpf/hashtab.c
1045
static void pcpu_init_value(struct bpf_htab *htab, void __percpu *pptr,
kernel/bpf/hashtab.c
1068
static bool fd_htab_map_needs_adjust(const struct bpf_htab *htab)
kernel/bpf/hashtab.c
1073
static struct htab_elem *alloc_htab_elem(struct bpf_htab *htab, void *key,
kernel/bpf/hashtab.c
1152
static int check_flags(struct bpf_htab *htab, struct htab_elem *l_old,
kernel/bpf/hashtab.c
1170
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
1267
static void htab_lru_push_free(struct bpf_htab *htab, struct htab_elem *elem)
kernel/bpf/hashtab.c
1277
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
133
static inline bool htab_is_prealloc(const struct bpf_htab *htab)
kernel/bpf/hashtab.c
1353
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
138
static void htab_init_buckets(struct bpf_htab *htab)
kernel/bpf/hashtab.c
1416
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
1497
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
1532
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
1565
static void delete_all_elements(struct bpf_htab *htab)
kernel/bpf/hashtab.c
1585
static void htab_free_malloced_internal_structs(struct bpf_htab *htab)
kernel/bpf/hashtab.c
1607
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
1622
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
1675
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
168
static bool htab_is_lru(const struct bpf_htab *htab)
kernel/bpf/hashtab.c
174
static bool htab_is_percpu(const struct bpf_htab *htab)
kernel/bpf/hashtab.c
1772
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
180
static inline bool is_fd_htab(const struct bpf_htab *htab)
kernel/bpf/hashtab.c
206
static struct htab_elem *get_htab_elem(struct bpf_htab *htab, int i)
kernel/bpf/hashtab.c
2077
struct bpf_htab *htab;
kernel/bpf/hashtab.c
2087
const struct bpf_htab *htab = info->htab;
kernel/bpf/hashtab.c
215
static bool htab_has_extra_elems(struct bpf_htab *htab)
kernel/bpf/hashtab.c
220
static void htab_free_prealloced_internal_structs(struct bpf_htab *htab)
kernel/bpf/hashtab.c
2233
seq_info->htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
2262
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
2314
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
2321
usage = sizeof(struct bpf_htab) +
kernel/bpf/hashtab.c
2350
BTF_ID_LIST_SINGLE(htab_map_btf_ids, struct, bpf_htab)
kernel/bpf/hashtab.c
238
static void htab_free_prealloced_fields(struct bpf_htab *htab)
kernel/bpf/hashtab.c
2510
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
2606
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
268
static void htab_free_elems(struct bpf_htab *htab)
kernel/bpf/hashtab.c
298
static struct htab_elem *prealloc_lru_pop(struct bpf_htab *htab, void *key,
kernel/bpf/hashtab.c
314
static int prealloc_init(struct bpf_htab *htab)
kernel/bpf/hashtab.c
373
static void prealloc_destroy(struct bpf_htab *htab)
kernel/bpf/hashtab.c
383
static int alloc_extra_elems(struct bpf_htab *htab)
kernel/bpf/hashtab.c
499
static int htab_set_dtor(struct bpf_htab *htab, void (*dtor)(void *, void *))
kernel/bpf/hashtab.c
528
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
553
struct bpf_htab *htab;
kernel/bpf/hashtab.c
681
static inline struct bucket *__select_bucket(struct bpf_htab *htab, u32 hash)
kernel/bpf/hashtab.c
686
static inline struct hlist_nulls_head *select_bucket(struct bpf_htab *htab, u32 hash)
kernel/bpf/hashtab.c
734
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
837
static void check_and_free_fields(struct bpf_htab *htab,
kernel/bpf/hashtab.c
861
struct bpf_htab *htab = arg;
kernel/bpf/hashtab.c
894
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
950
static void htab_elem_free(struct bpf_htab *htab, struct htab_elem *l)
kernel/bpf/hashtab.c
959
static void htab_put_fd_value(struct bpf_htab *htab, struct htab_elem *l)
kernel/bpf/hashtab.c
970
static bool is_map_full(struct bpf_htab *htab)
kernel/bpf/hashtab.c
978
static void inc_elem_count(struct bpf_htab *htab)
kernel/bpf/hashtab.c
988
static void dec_elem_count(struct bpf_htab *htab)
kernel/bpf/hashtab.c
999
static void free_htab_elem(struct bpf_htab *htab, struct htab_elem *l)
tools/testing/selftests/bpf/progs/map_ptr_kern.c
110
struct bpf_htab *hash = (struct bpf_htab *)&m_hash;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
215
struct bpf_htab *percpu_hash = (struct bpf_htab *)&m_percpu_hash;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
289
struct bpf_htab *lru_hash = (struct bpf_htab *)&m_lru_hash;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
306
struct bpf_htab *lru_percpu_hash = (struct bpf_htab *)&m_lru_percpu_hash;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
395
struct bpf_htab *hash_of_maps = (struct bpf_htab *)&m_hash_of_maps;
tools/testing/selftests/bpf/progs/map_ptr_kern.c
397
struct bpf_htab *inner_map;