/Linux-v4.19/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-v4.19/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-v4.19/fs/nfsd/ |
D | nfscache.c | 34 spinlock_t cache_lock; member 153 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()
|
/Linux-v4.19/drivers/soc/qcom/ |
D | rpmh.c | 122 spin_lock_irqsave(&ctrlr->cache_lock, flags); in cache_rpm_request() 156 spin_unlock_irqrestore(&ctrlr->cache_lock, flags); in cache_rpm_request() 288 spin_lock_irqsave(&ctrlr->cache_lock, flags); in cache_batch() 290 spin_unlock_irqrestore(&ctrlr->cache_lock, flags); in cache_batch() 302 spin_lock_irqsave(&ctrlr->cache_lock, flags); in flush_batch() 312 spin_unlock_irqrestore(&ctrlr->cache_lock, flags); in flush_batch() 322 spin_lock_irqsave(&ctrlr->cache_lock, flags); in invalidate_batch() 326 spin_unlock_irqrestore(&ctrlr->cache_lock, flags); in invalidate_batch()
|
D | rpmh-internal.h | 78 spinlock_t cache_lock; member
|
D | rpmh-rsc.c | 667 spin_lock_init(&drv->client.cache_lock); in rpmh_rsc_probe()
|
/Linux-v4.19/Documentation/kernel-hacking/ |
D | locking.rst | 406 static DEFINE_MUTEX(cache_lock); 411 /* Must be holding cache_lock */ 424 /* Must be holding cache_lock */ 433 /* Must be holding cache_lock */ 458 mutex_lock(&cache_lock); 460 mutex_unlock(&cache_lock); 466 mutex_lock(&cache_lock); 468 mutex_unlock(&cache_lock); 476 mutex_lock(&cache_lock); 482 mutex_unlock(&cache_lock); [all …]
|
/Linux-v4.19/Documentation/translations/it_IT/kernel-hacking/ |
D | locking.rst | 423 static DEFINE_MUTEX(cache_lock); 428 /* Must be holding cache_lock */ 441 /* Must be holding cache_lock */ 450 /* Must be holding cache_lock */ 475 mutex_lock(&cache_lock); 477 mutex_unlock(&cache_lock); 483 mutex_lock(&cache_lock); 485 mutex_unlock(&cache_lock); 493 mutex_lock(&cache_lock); 499 mutex_unlock(&cache_lock); [all …]
|
/Linux-v4.19/drivers/base/regmap/ |
D | regmap-debugfs.c | 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() 381 mutex_lock(&map->cache_lock); in regmap_reg_ranges_read_file() 393 mutex_unlock(&map->cache_lock); in regmap_reg_ranges_read_file() 564 mutex_init(&map->cache_lock); in regmap_debugfs_init() 645 mutex_lock(&map->cache_lock); in regmap_debugfs_exit() 647 mutex_unlock(&map->cache_lock); in regmap_debugfs_exit()
|
D | internal.h | 89 struct mutex cache_lock; member
|
/Linux-v4.19/net/sunrpc/ |
D | auth.c | 309 spinlock_t *cache_lock; in rpcauth_unhash_cred() local 312 cache_lock = &cred->cr_auth->au_credcache->lock; in rpcauth_unhash_cred() 313 spin_lock(cache_lock); in rpcauth_unhash_cred() 317 spin_unlock(cache_lock); in rpcauth_unhash_cred() 454 spinlock_t *cache_lock; in rpcauth_prune_expired() local 479 cache_lock = &cred->cr_auth->au_credcache->lock; in rpcauth_prune_expired() 480 spin_lock(cache_lock); in rpcauth_prune_expired() 486 spin_unlock(cache_lock); in rpcauth_prune_expired()
|
/Linux-v4.19/drivers/gpu/drm/i915/gvt/ |
D | kvmgt.c | 313 mutex_lock(&vgpu->vdev.cache_lock); in gvt_cache_destroy() 316 mutex_unlock(&vgpu->vdev.cache_lock); in gvt_cache_destroy() 322 mutex_unlock(&vgpu->vdev.cache_lock); in gvt_cache_destroy() 331 mutex_init(&vgpu->vdev.cache_lock); in gvt_cache_init() 569 mutex_lock(&vgpu->vdev.cache_lock); in intel_vgpu_iommu_notifier() 579 mutex_unlock(&vgpu->vdev.cache_lock); in intel_vgpu_iommu_notifier() 1730 mutex_lock(&info->vgpu->vdev.cache_lock); in kvmgt_dma_map_guest_page() 1746 mutex_unlock(&info->vgpu->vdev.cache_lock); in kvmgt_dma_map_guest_page() 1752 mutex_unlock(&info->vgpu->vdev.cache_lock); in kvmgt_dma_map_guest_page() 1775 mutex_lock(&info->vgpu->vdev.cache_lock); in kvmgt_dma_unmap_guest_page() [all …]
|
D | gvt.h | 217 struct mutex cache_lock; member
|
/Linux-v4.19/fs/btrfs/ |
D | raid56.c | 210 spin_lock_init(&table->cache_lock); in btrfs_alloc_stripe_hash_table() 399 spin_lock_irqsave(&table->cache_lock, flags); in remove_rbio_from_cache() 401 spin_unlock_irqrestore(&table->cache_lock, flags); in remove_rbio_from_cache() 415 spin_lock_irqsave(&table->cache_lock, flags); in btrfs_clear_rbio_cache() 422 spin_unlock_irqrestore(&table->cache_lock, flags); in btrfs_clear_rbio_cache() 459 spin_lock_irqsave(&table->cache_lock, flags); in cache_rbio() 486 spin_unlock_irqrestore(&table->cache_lock, flags); in cache_rbio()
|
D | ctree.h | 703 spinlock_t cache_lock; member
|