Lines Matching refs:hlist_head
19 struct hlist_head *buckets;
82 htab->n_buckets > U32_MAX / sizeof(struct hlist_head)) in htab_map_alloc()
85 if ((u64) htab->n_buckets * sizeof(struct hlist_head) + in htab_map_alloc()
91 htab->map.pages = round_up(htab->n_buckets * sizeof(struct hlist_head) + in htab_map_alloc()
96 htab->buckets = kmalloc_array(htab->n_buckets, sizeof(struct hlist_head), in htab_map_alloc()
100 htab->buckets = vmalloc(htab->n_buckets * sizeof(struct hlist_head)); in htab_map_alloc()
123 static inline struct hlist_head *select_bucket(struct bpf_htab *htab, u32 hash) in select_bucket()
128 static struct htab_elem *lookup_elem_raw(struct hlist_head *head, u32 hash, in lookup_elem_raw()
144 struct hlist_head *head; in htab_map_lookup_elem()
169 struct hlist_head *head; in htab_map_get_next_key()
229 struct hlist_head *head; in htab_map_update_elem()
302 struct hlist_head *head; in htab_map_delete_elem()
336 struct hlist_head *head = select_bucket(htab, i); in delete_all_elements()