Searched refs:cache_lock (Results 1 – 5 of 5) sorted by relevance
34 spinlock_t cache_lock; member153 spin_lock(&b->cache_lock); in nfsd_reply_cache_free()155 spin_unlock(&b->cache_lock); in nfsd_reply_cache_free()188 spin_lock_init(&drc_hashtbl[i].cache_lock); in nfsd_reply_cache_init()270 spin_lock(&b->cache_lock); in prune_cache_entries()272 spin_unlock(&b->cache_lock); in prune_cache_entries()414 spin_lock(&b->cache_lock); in nfsd_cache_lookup()458 spin_unlock(&b->cache_lock); in nfsd_cache_lookup()560 spin_lock(&b->cache_lock); in nfsd_cache_update()566 spin_unlock(&b->cache_lock); in nfsd_cache_update()
119 mutex_lock(&map->cache_lock); in regmap_debugfs_get_dump_start()141 mutex_unlock(&map->cache_lock); in regmap_debugfs_get_dump_start()174 mutex_unlock(&map->cache_lock); in regmap_debugfs_get_dump_start()181 mutex_unlock(&map->cache_lock); in regmap_debugfs_get_dump_start()387 mutex_lock(&map->cache_lock); in regmap_reg_ranges_read_file()399 mutex_unlock(&map->cache_lock); in regmap_reg_ranges_read_file()576 mutex_init(&map->cache_lock); in regmap_debugfs_init()664 mutex_lock(&map->cache_lock); in regmap_debugfs_exit()666 mutex_unlock(&map->cache_lock); in regmap_debugfs_exit()
89 struct mutex cache_lock; member
210 spin_lock_init(&table->cache_lock); in btrfs_alloc_stripe_hash_table()402 spin_lock_irqsave(&table->cache_lock, flags); in remove_rbio_from_cache()404 spin_unlock_irqrestore(&table->cache_lock, flags); in remove_rbio_from_cache()418 spin_lock_irqsave(&table->cache_lock, flags); in btrfs_clear_rbio_cache()425 spin_unlock_irqrestore(&table->cache_lock, flags); in btrfs_clear_rbio_cache()462 spin_lock_irqsave(&table->cache_lock, flags); in cache_rbio()489 spin_unlock_irqrestore(&table->cache_lock, flags); in cache_rbio()
704 spinlock_t cache_lock; member