Searched refs:cache_lock (Results 1 – 9 of 9) sorted by relevance
/linux-4.1.27/arch/c6x/platforms/ |
D | cache.c | 126 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.1.27/arch/powerpc/oprofile/cell/ |
D | spu_task_sync.c | 37 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.1.27/fs/nfsd/ |
D | nfscache.c | 32 spinlock_t cache_lock; member 159 spin_lock(&b->cache_lock); in nfsd_reply_cache_free() 161 spin_unlock(&b->cache_lock); in nfsd_reply_cache_free() 189 spin_lock_init(&drc_hashtbl[i].cache_lock); in nfsd_reply_cache_init() 276 spin_lock(&b->cache_lock); in prune_cache_entries() 280 spin_unlock(&b->cache_lock); in prune_cache_entries() 436 spin_lock(&b->cache_lock); in nfsd_cache_lookup() 480 spin_unlock(&b->cache_lock); in nfsd_cache_lookup() 583 spin_lock(&b->cache_lock); in nfsd_cache_update() 589 spin_unlock(&b->cache_lock); in nfsd_cache_update()
|
/linux-4.1.27/drivers/base/regmap/ |
D | regmap-debugfs.c | 103 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() 381 mutex_unlock(&map->cache_lock); in regmap_reg_ranges_read_file() 492 mutex_init(&map->cache_lock); in regmap_debugfs_init() 560 mutex_lock(&map->cache_lock); in regmap_debugfs_exit() 562 mutex_unlock(&map->cache_lock); in regmap_debugfs_exit()
|
D | internal.h | 86 struct mutex cache_lock; member
|
/linux-4.1.27/arch/x86/kernel/cpu/ |
D | perf_event_intel_cqm.c | 34 static DEFINE_RAW_SPINLOCK(cache_lock); 407 raw_spin_lock_irq(&cache_lock); in intel_cqm_xchg_rmid() 413 raw_spin_unlock_irq(&cache_lock); in intel_cqm_xchg_rmid() 872 raw_spin_lock_irqsave(&cache_lock, flags); in intel_cqm_event_read() 888 raw_spin_unlock_irqrestore(&cache_lock, flags); in intel_cqm_event_read() 962 raw_spin_lock_irqsave(&cache_lock, flags); in intel_cqm_event_count() 965 raw_spin_unlock_irqrestore(&cache_lock, flags); in intel_cqm_event_count() 1022 raw_spin_lock_irqsave(&cache_lock, flags); in intel_cqm_event_add() 1030 raw_spin_unlock_irqrestore(&cache_lock, flags); in intel_cqm_event_add()
|
/linux-4.1.27/net/sunrpc/ |
D | auth.c | 310 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.1.27/fs/btrfs/ |
D | raid56.c | 227 spin_lock_init(&table->cache_lock); in btrfs_alloc_stripe_hash_table() 417 spin_lock_irqsave(&table->cache_lock, flags); in remove_rbio_from_cache() 419 spin_unlock_irqrestore(&table->cache_lock, flags); in remove_rbio_from_cache() 433 spin_lock_irqsave(&table->cache_lock, flags); in btrfs_clear_rbio_cache() 440 spin_unlock_irqrestore(&table->cache_lock, flags); in btrfs_clear_rbio_cache() 477 spin_lock_irqsave(&table->cache_lock, flags); in cache_rbio() 504 spin_unlock_irqrestore(&table->cache_lock, flags); in cache_rbio()
|
D | ctree.h | 1372 spinlock_t cache_lock; member
|