| /Linux-v5.4/arch/powerpc/oprofile/cell/ |
| D | spu_task_sync.c | 33 static DEFINE_SPINLOCK(cache_lock); 228 spin_lock_irqsave(&cache_lock, flags); in prepare_cached_spu_info() 242 spin_unlock_irqrestore(&cache_lock, flags); in prepare_cached_spu_info() 431 spin_lock_irqsave(&cache_lock, flags); in spu_active_notify() 433 spin_unlock_irqrestore(&cache_lock, flags); in spu_active_notify() 568 spin_lock_irqsave(&cache_lock, flags); in spu_sync_buffer() 613 spin_unlock_irqrestore(&cache_lock, flags); in spu_sync_buffer() 634 spin_lock_irqsave(&cache_lock, flags); in spu_sync_stop() 636 spin_unlock_irqrestore(&cache_lock, flags); in spu_sync_stop()
|
| /Linux-v5.4/arch/c6x/platforms/ |
| D | cache.c | 123 static DEFINE_SPINLOCK(cache_lock); 142 spin_lock_irqsave(&cache_lock, flags); in cache_block_operation() 148 spin_unlock_irqrestore(&cache_lock, flags); in cache_block_operation() 167 spin_unlock_irqrestore(&cache_lock, flags); in cache_block_operation() 187 spin_lock_irqsave(&cache_lock, flags); in cache_block_operation_nowait() 199 spin_unlock_irqrestore(&cache_lock, flags); in cache_block_operation_nowait()
|
| /Linux-v5.4/drivers/soc/qcom/ |
| D | rpmh.c | 123 spin_lock_irqsave(&ctrlr->cache_lock, flags); in cache_rpm_request() 157 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 | 669 spin_lock_init(&drv->client.cache_lock); in rpmh_rsc_probe()
|
| /Linux-v5.4/fs/nfsd/ |
| D | nfscache.c | 36 spinlock_t cache_lock; member 139 spin_lock(&b->cache_lock); in nfsd_reply_cache_free() 141 spin_unlock(&b->cache_lock); in nfsd_reply_cache_free() 178 spin_lock_init(&nn->drc_hashtbl[i].cache_lock); in nfsd_reply_cache_init() 264 spin_lock(&b->cache_lock); in prune_cache_entries() 266 spin_unlock(&b->cache_lock); in prune_cache_entries() 417 spin_lock(&b->cache_lock); in nfsd_cache_lookup() 435 spin_unlock(&b->cache_lock); in nfsd_cache_lookup() 537 spin_lock(&b->cache_lock); in nfsd_cache_update() 543 spin_unlock(&b->cache_lock); in nfsd_cache_update()
|
| /Linux-v5.4/drivers/base/regmap/ |
| D | regmap-debugfs.c | 115 mutex_lock(&map->cache_lock); in regmap_debugfs_get_dump_start() 137 mutex_unlock(&map->cache_lock); in regmap_debugfs_get_dump_start() 170 mutex_unlock(&map->cache_lock); in regmap_debugfs_get_dump_start() 177 mutex_unlock(&map->cache_lock); in regmap_debugfs_get_dump_start() 202 mutex_lock(&map->cache_lock); in regmap_next_readable_reg() 211 mutex_unlock(&map->cache_lock); in regmap_next_readable_reg() 395 mutex_lock(&map->cache_lock); in regmap_reg_ranges_read_file() 407 mutex_unlock(&map->cache_lock); in regmap_reg_ranges_read_file() 568 mutex_init(&map->cache_lock); in regmap_debugfs_init() 643 mutex_lock(&map->cache_lock); in regmap_debugfs_exit() [all …]
|
| D | internal.h | 86 struct mutex cache_lock; member
|
| /Linux-v5.4/arch/csky/mm/ |
| D | cachev1.c | 23 static DEFINE_SPINLOCK(cache_lock); 65 spin_lock_irqsave(&cache_lock, flags); in cache_op_range() 75 spin_unlock_irqrestore(&cache_lock, flags); in cache_op_range()
|
| /Linux-v5.4/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-v5.4/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-v5.4/drivers/net/ethernet/netronome/nfp/bpf/ |
| D | cmsg.c | 209 spin_lock(&nfp_map->cache_lock); in nfp_bpf_ctrl_op_cache_get() 257 spin_unlock(&nfp_map->cache_lock); in nfp_bpf_ctrl_op_cache_get() 275 spin_lock(&nfp_map->cache_lock); in nfp_bpf_ctrl_op_cache_put() 285 spin_unlock(&nfp_map->cache_lock); in nfp_bpf_ctrl_op_cache_put()
|
| D | main.h | 214 spinlock_t cache_lock; member
|
| D | offload.c | 388 spin_lock_init(&nfp_map->cache_lock); in nfp_bpf_map_alloc()
|
| /Linux-v5.4/drivers/gpu/drm/i915/gvt/ |
| D | kvmgt.c | 320 mutex_lock(&vgpu->vdev.cache_lock); in gvt_cache_destroy() 323 mutex_unlock(&vgpu->vdev.cache_lock); in gvt_cache_destroy() 329 mutex_unlock(&vgpu->vdev.cache_lock); in gvt_cache_destroy() 338 mutex_init(&vgpu->vdev.cache_lock); in gvt_cache_init() 711 mutex_lock(&vgpu->vdev.cache_lock); in intel_vgpu_iommu_notifier() 721 mutex_unlock(&vgpu->vdev.cache_lock); in intel_vgpu_iommu_notifier() 1898 mutex_lock(&info->vgpu->vdev.cache_lock); in kvmgt_dma_map_guest_page() 1926 mutex_unlock(&info->vgpu->vdev.cache_lock); in kvmgt_dma_map_guest_page() 1932 mutex_unlock(&info->vgpu->vdev.cache_lock); in kvmgt_dma_map_guest_page() 1955 mutex_lock(&info->vgpu->vdev.cache_lock); in kvmgt_dma_unmap_guest_page() [all …]
|
| D | gvt.h | 214 struct mutex cache_lock; member
|
| /Linux-v5.4/net/sunrpc/ |
| D | auth.c | 324 spinlock_t *cache_lock; in rpcauth_unhash_cred() local 329 cache_lock = &cred->cr_auth->au_credcache->lock; in rpcauth_unhash_cred() 330 spin_lock(cache_lock); in rpcauth_unhash_cred() 332 spin_unlock(cache_lock); in rpcauth_unhash_cred()
|
| /Linux-v5.4/fs/btrfs/ |
| D | raid56.c | 49 spinlock_t cache_lock; member 226 spin_lock_init(&table->cache_lock); in btrfs_alloc_stripe_hash_table() 415 spin_lock_irqsave(&table->cache_lock, flags); in remove_rbio_from_cache() 417 spin_unlock_irqrestore(&table->cache_lock, flags); in remove_rbio_from_cache() 431 spin_lock_irqsave(&table->cache_lock, flags); in btrfs_clear_rbio_cache() 438 spin_unlock_irqrestore(&table->cache_lock, flags); in btrfs_clear_rbio_cache() 475 spin_lock_irqsave(&table->cache_lock, flags); in cache_rbio() 502 spin_unlock_irqrestore(&table->cache_lock, flags); in cache_rbio()
|