Lines Matching refs:buckets
91 struct bucket *buckets; member
140 INIT_HLIST_NULLS_HEAD(&htab->buckets[i].head, i); in htab_init_buckets()
142 raw_spin_lock_init(&htab->buckets[i].raw_lock); in htab_init_buckets()
144 spin_lock_init(&htab->buckets[i].lock); in htab_init_buckets()
477 htab->buckets = bpf_map_area_alloc(htab->n_buckets * in htab_map_alloc()
480 if (!htab->buckets) in htab_map_alloc()
510 bpf_map_area_free(htab->buckets); in htab_map_alloc()
525 return &htab->buckets[hash & (htab->n_buckets - 1)]; in __select_bucket()
1340 bpf_map_area_free(htab->buckets); in htab_map_free()
1441 b = &htab->buckets[batch]; in __htab_map_lookup_and_delete_batch()
1682 b = &htab->buckets[bucket_id++]; in bpf_hash_map_seq_find_next()
1688 b = &htab->buckets[i]; in bpf_hash_map_seq_find_next()