Searched refs:bpf_htab (Results 1 – 2 of 2) sorted by relevance
88 struct bpf_htab { struct 131 static inline bool htab_is_prealloc(const struct bpf_htab *htab) in htab_is_prealloc() 136 static void htab_init_buckets(struct bpf_htab *htab) in htab_init_buckets() 166 static bool htab_is_lru(const struct bpf_htab *htab) in htab_is_lru() 172 static bool htab_is_percpu(const struct bpf_htab *htab) in htab_is_percpu() 178 static inline bool is_fd_htab(const struct bpf_htab *htab) in is_fd_htab() 204 static struct htab_elem *get_htab_elem(struct bpf_htab *htab, int i) in get_htab_elem() 213 static bool htab_has_extra_elems(struct bpf_htab *htab) in htab_has_extra_elems() 218 static void htab_free_prealloced_timers_and_wq(struct bpf_htab *htab) in htab_free_prealloced_timers_and_wq() 240 static void htab_free_prealloced_fields(struct bpf_htab *hta89 mapbpf_htab global() argument 90 mabpf_htab global() argument 91 pcpu_mabpf_htab global() argument 92 bucketsbpf_htab global() argument 93 elemsbpf_htab global() argument 94 __anon7fee7861010abpf_htab global() argument 98 extra_elemsbpf_htab global() argument 102 pcountbpf_htab global() argument 103 countbpf_htab global() argument 104 use_percpu_counterbpf_htab global() argument 105 n_bucketsbpf_htab global() argument 106 elem_sizebpf_htab global() argument 107 hashrndbpf_htab global() argument [all...]
91 struct bpf_htab { struct 100 __uint(map_flags, BPF_F_NO_PREALLOC); /* to test bpf_htab.count */ argument 110 struct bpf_htab *hash = (struct bpf_htab *)&m_hash; in check_hash() 215 struct bpf_htab *percpu_hash = (struct bpf_htab *)&m_percpu_hash; in check_percpu_hash() 289 struct bpf_htab *lru_hash = (struct bpf_htab *)&m_lru_hash; in check_lru_hash() 306 struct bpf_htab *lru_percpu_hash = (struct bpf_htab *) in check_lru_percpu_hash() [all...]