Symbol: bpf_htab
kernel/bpf/hashtab.c
1002
static void free_htab_elem(struct bpf_htab *htab, struct htab_elem *l)
kernel/bpf/hashtab.c
1016
static void pcpu_copy_value(struct bpf_htab *htab, void __percpu *pptr,
kernel/bpf/hashtab.c
1048
static void pcpu_init_value(struct bpf_htab *htab, void __percpu *pptr,
kernel/bpf/hashtab.c
1071
static bool fd_htab_map_needs_adjust(const struct bpf_htab *htab)
kernel/bpf/hashtab.c
1076
static struct htab_elem *alloc_htab_elem(struct bpf_htab *htab, void *key,
kernel/bpf/hashtab.c
1159
static int check_flags(struct bpf_htab *htab, struct htab_elem *l_old,
kernel/bpf/hashtab.c
1177
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
1274
static void htab_lru_push_free(struct bpf_htab *htab, struct htab_elem *elem)
kernel/bpf/hashtab.c
1284
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
134
static inline bool htab_is_prealloc(const struct bpf_htab *htab)
kernel/bpf/hashtab.c
1360
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
139
static void htab_init_buckets(struct bpf_htab *htab)
kernel/bpf/hashtab.c
1423
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
1504
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
1539
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
1572
static void delete_all_elements(struct bpf_htab *htab)
kernel/bpf/hashtab.c
1592
static void htab_free_malloced_internal_structs(struct bpf_htab *htab)
kernel/bpf/hashtab.c
1614
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
1629
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
1682
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
169
static bool htab_is_lru(const struct bpf_htab *htab)
kernel/bpf/hashtab.c
175
static bool htab_is_percpu(const struct bpf_htab *htab)
kernel/bpf/hashtab.c
1779
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
181
static inline bool is_fd_htab(const struct bpf_htab *htab)
kernel/bpf/hashtab.c
207
static struct htab_elem *get_htab_elem(struct bpf_htab *htab, int i)
kernel/bpf/hashtab.c
2084
struct bpf_htab *htab;
kernel/bpf/hashtab.c
2094
const struct bpf_htab *htab = info->htab;
kernel/bpf/hashtab.c
216
static bool htab_has_extra_elems(struct bpf_htab *htab)
kernel/bpf/hashtab.c
221
static void htab_free_prealloced_internal_structs(struct bpf_htab *htab)
kernel/bpf/hashtab.c
2240
seq_info->htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
2269
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
2321
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
2328
usage = sizeof(struct bpf_htab) +
kernel/bpf/hashtab.c
2357
BTF_ID_LIST_SINGLE(htab_map_btf_ids, struct, bpf_htab)
kernel/bpf/hashtab.c
239
static void htab_free_prealloced_fields(struct bpf_htab *htab)
kernel/bpf/hashtab.c
2517
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
2613
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
273
static void htab_free_elems(struct bpf_htab *htab)
kernel/bpf/hashtab.c
303
static struct htab_elem *prealloc_lru_pop(struct bpf_htab *htab, void *key,
kernel/bpf/hashtab.c
319
static int prealloc_init(struct bpf_htab *htab)
kernel/bpf/hashtab.c
378
static void prealloc_destroy(struct bpf_htab *htab)
kernel/bpf/hashtab.c
388
static int alloc_extra_elems(struct bpf_htab *htab)
kernel/bpf/hashtab.c
531
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
556
struct bpf_htab *htab;
kernel/bpf/hashtab.c
684
static inline struct bucket *__select_bucket(struct bpf_htab *htab, u32 hash)
kernel/bpf/hashtab.c
689
static inline struct hlist_nulls_head *select_bucket(struct bpf_htab *htab, u32 hash)
kernel/bpf/hashtab.c
737
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
840
static void check_and_cancel_fields(struct bpf_htab *htab,
kernel/bpf/hashtab.c
864
struct bpf_htab *htab = arg;
kernel/bpf/hashtab.c
897
struct bpf_htab *htab = container_of(map, struct bpf_htab, map);
kernel/bpf/hashtab.c
953
static void htab_elem_free(struct bpf_htab *htab, struct htab_elem *l)
kernel/bpf/hashtab.c
962
static void htab_put_fd_value(struct bpf_htab *htab, struct htab_elem *l)
kernel/bpf/hashtab.c
973
static bool is_map_full(struct bpf_htab *htab)
kernel/bpf/hashtab.c
981
static void inc_elem_count(struct bpf_htab *htab)
kernel/bpf/hashtab.c
991
static void dec_elem_count(struct bpf_htab *htab)
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;