Lines Matching defs:bucket
888 * batadv_dat_cache_dump_bucket() - dump one bucket of the DAT cache table to
894 * @bucket: bucket index to dump
902 struct batadv_hashtable *hash, unsigned int bucket,
908 spin_lock_bh(&hash->list_locks[bucket]);
911 hlist_for_each_entry(dat_entry, &hash->table[bucket], hash_entry) {
916 spin_unlock_bh(&hash->list_locks[bucket]);
925 spin_unlock_bh(&hash->list_locks[bucket]);
945 int bucket = cb->args[0];
970 while (bucket < hash->size) {
971 if (batadv_dat_cache_dump_bucket(msg, portid, cb, hash, bucket,
975 bucket++;
979 cb->args[0] = bucket;