Searched refs:bpf_htab (Results 1 – 2 of 2) sorted by relevance
89 struct bpf_htab { struct111 struct bpf_htab *htab; argument125 static inline bool htab_is_prealloc(const struct bpf_htab *htab) in htab_is_prealloc()130 static inline bool htab_use_raw_lock(const struct bpf_htab *htab) in htab_use_raw_lock()135 static void htab_init_buckets(struct bpf_htab *htab) in htab_init_buckets()148 static inline unsigned long htab_lock_bucket(const struct bpf_htab *htab, in htab_lock_bucket()160 static inline void htab_unlock_bucket(const struct bpf_htab *htab, in htab_unlock_bucket()172 static bool htab_is_lru(const struct bpf_htab *htab) in htab_is_lru()178 static bool htab_is_percpu(const struct bpf_htab *htab) in htab_is_percpu()200 static struct htab_elem *get_htab_elem(struct bpf_htab *htab, int i) in get_htab_elem()[all …]
97 struct bpf_htab { struct114 struct bpf_htab *hash = (struct bpf_htab *)&m_hash; in check_hash()216 struct bpf_htab *percpu_hash = (struct bpf_htab *)&m_percpu_hash; in check_percpu_hash()290 struct bpf_htab *lru_hash = (struct bpf_htab *)&m_lru_hash; in check_lru_hash()307 struct bpf_htab *lru_percpu_hash = (struct bpf_htab *)&m_lru_percpu_hash; in check_lru_percpu_hash()389 struct bpf_htab *hash_of_maps = (struct bpf_htab *)&m_hash_of_maps; in check_hash_of_maps()