Home
last modified time | relevance | path

Searched refs:cache_lock (Results 1 – 9 of 9) sorted by relevance

/linux-4.4.14/arch/c6x/platforms/
Dcache.c126 static DEFINE_SPINLOCK(cache_lock);
145 spin_lock_irqsave(&cache_lock, flags); in cache_block_operation()
151 spin_unlock_irqrestore(&cache_lock, flags); in cache_block_operation()
170 spin_unlock_irqrestore(&cache_lock, flags); in cache_block_operation()
190 spin_lock_irqsave(&cache_lock, flags); in cache_block_operation_nowait()
202 spin_unlock_irqrestore(&cache_lock, flags); in cache_block_operation_nowait()
/linux-4.4.14/arch/powerpc/oprofile/cell/
Dspu_task_sync.c37 static DEFINE_SPINLOCK(cache_lock);
232 spin_lock_irqsave(&cache_lock, flags); in prepare_cached_spu_info()
246 spin_unlock_irqrestore(&cache_lock, flags); in prepare_cached_spu_info()
435 spin_lock_irqsave(&cache_lock, flags); in spu_active_notify()
437 spin_unlock_irqrestore(&cache_lock, flags); in spu_active_notify()
572 spin_lock_irqsave(&cache_lock, flags); in spu_sync_buffer()
617 spin_unlock_irqrestore(&cache_lock, flags); in spu_sync_buffer()
638 spin_lock_irqsave(&cache_lock, flags); in spu_sync_stop()
640 spin_unlock_irqrestore(&cache_lock, flags); in spu_sync_stop()
/linux-4.4.14/fs/nfsd/
Dnfscache.c32 spinlock_t cache_lock; member
151 spin_lock(&b->cache_lock); in nfsd_reply_cache_free()
153 spin_unlock(&b->cache_lock); in nfsd_reply_cache_free()
181 spin_lock_init(&drc_hashtbl[i].cache_lock); in nfsd_reply_cache_init()
263 spin_lock(&b->cache_lock); in prune_cache_entries()
265 spin_unlock(&b->cache_lock); in prune_cache_entries()
408 spin_lock(&b->cache_lock); in nfsd_cache_lookup()
452 spin_unlock(&b->cache_lock); in nfsd_cache_lookup()
555 spin_lock(&b->cache_lock); in nfsd_cache_update()
561 spin_unlock(&b->cache_lock); in nfsd_cache_update()
/linux-4.4.14/drivers/base/regmap/
Dregmap-debugfs.c103 mutex_lock(&map->cache_lock); in regmap_debugfs_get_dump_start()
126 mutex_unlock(&map->cache_lock); in regmap_debugfs_get_dump_start()
159 mutex_unlock(&map->cache_lock); in regmap_debugfs_get_dump_start()
166 mutex_unlock(&map->cache_lock); in regmap_debugfs_get_dump_start()
366 mutex_lock(&map->cache_lock); in regmap_reg_ranges_read_file()
378 mutex_unlock(&map->cache_lock); in regmap_reg_ranges_read_file()
570 mutex_init(&map->cache_lock); in regmap_debugfs_init()
640 mutex_lock(&map->cache_lock); in regmap_debugfs_exit()
642 mutex_unlock(&map->cache_lock); in regmap_debugfs_exit()
Dinternal.h87 struct mutex cache_lock; member
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_intel_cqm.c53 static DEFINE_RAW_SPINLOCK(cache_lock);
425 raw_spin_lock_irq(&cache_lock); in intel_cqm_xchg_rmid()
431 raw_spin_unlock_irq(&cache_lock); in intel_cqm_xchg_rmid()
890 raw_spin_lock_irqsave(&cache_lock, flags); in intel_cqm_event_read()
906 raw_spin_unlock_irqrestore(&cache_lock, flags); in intel_cqm_event_read()
980 raw_spin_lock_irqsave(&cache_lock, flags); in intel_cqm_event_count()
983 raw_spin_unlock_irqrestore(&cache_lock, flags); in intel_cqm_event_count()
1033 raw_spin_lock_irqsave(&cache_lock, flags); in intel_cqm_event_add()
1041 raw_spin_unlock_irqrestore(&cache_lock, flags); in intel_cqm_event_add()
/linux-4.4.14/net/sunrpc/
Dauth.c310 spinlock_t *cache_lock; in rpcauth_unhash_cred() local
313 cache_lock = &cred->cr_auth->au_credcache->lock; in rpcauth_unhash_cred()
314 spin_lock(cache_lock); in rpcauth_unhash_cred()
318 spin_unlock(cache_lock); in rpcauth_unhash_cred()
453 spinlock_t *cache_lock; in rpcauth_prune_expired() local
476 cache_lock = &cred->cr_auth->au_credcache->lock; in rpcauth_prune_expired()
477 spin_lock(cache_lock); in rpcauth_prune_expired()
483 spin_unlock(cache_lock); in rpcauth_prune_expired()
/linux-4.4.14/fs/btrfs/
Draid56.c228 spin_lock_init(&table->cache_lock); in btrfs_alloc_stripe_hash_table()
418 spin_lock_irqsave(&table->cache_lock, flags); in remove_rbio_from_cache()
420 spin_unlock_irqrestore(&table->cache_lock, flags); in remove_rbio_from_cache()
434 spin_lock_irqsave(&table->cache_lock, flags); in btrfs_clear_rbio_cache()
441 spin_unlock_irqrestore(&table->cache_lock, flags); in btrfs_clear_rbio_cache()
478 spin_lock_irqsave(&table->cache_lock, flags); in cache_rbio()
505 spin_unlock_irqrestore(&table->cache_lock, flags); in cache_rbio()
Dctree.h1406 spinlock_t cache_lock; member