Lines Matching defs:bucket
945 * batadv_dat_cache_dump_bucket() - dump one bucket of the DAT cache table to
951 * @bucket: bucket index to dump
959 struct batadv_hashtable *hash, unsigned int bucket,
965 spin_lock_bh(&hash->list_locks[bucket]);
968 hlist_for_each_entry(dat_entry, &hash->table[bucket], hash_entry) {
973 spin_unlock_bh(&hash->list_locks[bucket]);
982 spin_unlock_bh(&hash->list_locks[bucket]);
1002 int bucket = cb->args[0];
1027 while (bucket < hash->size) {
1028 if (batadv_dat_cache_dump_bucket(msg, portid, cb, hash, bucket,
1032 bucket++;
1036 cb->args[0] = bucket;