| /Linux-v5.10/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.10/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.10/drivers/soc/qcom/ |
| D | rpmh.c | 125 spin_lock_irqsave(&ctrlr->cache_lock, flags); in cache_rpm_request() 160 spin_unlock_irqrestore(&ctrlr->cache_lock, flags); in cache_rpm_request() 291 spin_lock_irqsave(&ctrlr->cache_lock, flags); in cache_batch() 294 spin_unlock_irqrestore(&ctrlr->cache_lock, flags); in cache_batch() 454 if (!spin_trylock(&ctrlr->cache_lock)) in rpmh_flush() 489 spin_unlock(&ctrlr->cache_lock); in rpmh_flush() 506 spin_lock_irqsave(&ctrlr->cache_lock, flags); in rpmh_invalidate() 511 spin_unlock_irqrestore(&ctrlr->cache_lock, flags); in rpmh_invalidate()
|
| D | rpmh-internal.h | 84 spinlock_t cache_lock; member
|
| D | rpmh-rsc.c | 1008 spin_lock_init(&drv->client.cache_lock); in rpmh_rsc_probe()
|
| /Linux-v5.10/fs/nfsd/ |
| D | nfscache.c | 35 spinlock_t cache_lock; member 140 spin_lock(&b->cache_lock); in nfsd_reply_cache_free() 142 spin_unlock(&b->cache_lock); in nfsd_reply_cache_free() 182 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() 424 spin_lock(&b->cache_lock); in nfsd_cache_lookup() 443 spin_unlock(&b->cache_lock); in nfsd_cache_lookup() 550 spin_lock(&b->cache_lock); in nfsd_cache_update() 556 spin_unlock(&b->cache_lock); in nfsd_cache_update()
|
| /Linux-v5.10/drivers/base/regmap/ |
| D | regmap-debugfs.c | 114 mutex_lock(&map->cache_lock); in regmap_debugfs_get_dump_start() 136 mutex_unlock(&map->cache_lock); in regmap_debugfs_get_dump_start() 169 mutex_unlock(&map->cache_lock); in regmap_debugfs_get_dump_start() 176 mutex_unlock(&map->cache_lock); in regmap_debugfs_get_dump_start() 201 mutex_lock(&map->cache_lock); in regmap_next_readable_reg() 210 mutex_unlock(&map->cache_lock); in regmap_next_readable_reg() 400 mutex_lock(&map->cache_lock); in regmap_reg_ranges_read_file() 412 mutex_unlock(&map->cache_lock); in regmap_reg_ranges_read_file() 579 mutex_init(&map->cache_lock); in regmap_debugfs_init() 654 mutex_lock(&map->cache_lock); in regmap_debugfs_exit() [all …]
|
| D | internal.h | 86 struct mutex cache_lock; member
|
| /Linux-v5.10/arch/csky/mm/ |
| D | cachev2.c | 38 static DEFINE_SPINLOCK(cache_lock); 52 spin_lock_irqsave(&cache_lock, flags); in local_icache_inv_range() 57 spin_unlock_irqrestore(&cache_lock, flags); in local_icache_inv_range()
|
| 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.10/Documentation/translations/it_IT/kernel-hacking/ |
| D | locking.rst | 425 static DEFINE_MUTEX(cache_lock); 430 /* Must be holding cache_lock */ 443 /* Must be holding cache_lock */ 452 /* Must be holding cache_lock */ 477 mutex_lock(&cache_lock); 479 mutex_unlock(&cache_lock); 485 mutex_lock(&cache_lock); 487 mutex_unlock(&cache_lock); 495 mutex_lock(&cache_lock); 501 mutex_unlock(&cache_lock); [all …]
|
| /Linux-v5.10/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.10/drivers/infiniband/core/ |
| D | cache.c | 1057 read_lock_irqsave(&device->cache_lock, flags); in ib_get_cached_pkey() 1066 read_unlock_irqrestore(&device->cache_lock, flags); in ib_get_cached_pkey() 1081 read_lock_irqsave(&device->cache_lock, flags); in ib_get_cached_subnet_prefix() 1083 read_unlock_irqrestore(&device->cache_lock, flags); in ib_get_cached_subnet_prefix() 1103 read_lock_irqsave(&device->cache_lock, flags); in ib_find_cached_pkey() 1129 read_unlock_irqrestore(&device->cache_lock, flags); in ib_find_cached_pkey() 1148 read_lock_irqsave(&device->cache_lock, flags); in ib_find_exact_cached_pkey() 1166 read_unlock_irqrestore(&device->cache_lock, flags); in ib_find_exact_cached_pkey() 1182 read_lock_irqsave(&device->cache_lock, flags); in ib_get_cached_lmc() 1184 read_unlock_irqrestore(&device->cache_lock, flags); in ib_get_cached_lmc() [all …]
|
| /Linux-v5.10/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 | 392 spin_lock_init(&nfp_map->cache_lock); in nfp_bpf_map_alloc()
|
| /Linux-v5.10/drivers/gpu/drm/i915/gvt/ |
| D | kvmgt.c | 126 struct mutex cache_lock; member 358 mutex_lock(&vdev->cache_lock); in gvt_cache_destroy() 361 mutex_unlock(&vdev->cache_lock); in gvt_cache_destroy() 367 mutex_unlock(&vdev->cache_lock); in gvt_cache_destroy() 378 mutex_init(&vdev->cache_lock); in gvt_cache_init() 758 mutex_lock(&vdev->cache_lock); in intel_vgpu_iommu_notifier() 768 mutex_unlock(&vdev->cache_lock); in intel_vgpu_iommu_notifier() 1963 mutex_lock(&vdev->cache_lock); in kvmgt_dma_map_guest_page() 1991 mutex_unlock(&vdev->cache_lock); in kvmgt_dma_map_guest_page() 1997 mutex_unlock(&vdev->cache_lock); in kvmgt_dma_map_guest_page() [all …]
|
| /Linux-v5.10/security/selinux/ss/ |
| D | sidtab.c | 51 spin_lock_init(&s->cache_lock); in sidtab_init() 542 spin_lock_irqsave(&s->cache_lock, flags); in sidtab_sid2str_put() 545 lockdep_is_held(&s->cache_lock)); in sidtab_sid2str_put() 573 spin_unlock_irqrestore(&s->cache_lock, flags); in sidtab_sid2str_put()
|
| D | sidtab.h | 95 spinlock_t cache_lock; member
|
| /Linux-v5.10/net/sunrpc/ |
| D | auth.c | 275 spinlock_t *cache_lock; in rpcauth_unhash_cred() local 280 cache_lock = &cred->cr_auth->au_credcache->lock; in rpcauth_unhash_cred() 281 spin_lock(cache_lock); in rpcauth_unhash_cred() 283 spin_unlock(cache_lock); in rpcauth_unhash_cred()
|
| /Linux-v5.10/fs/btrfs/ |
| D | raid56.c | 49 spinlock_t cache_lock; member 224 spin_lock_init(&table->cache_lock); in btrfs_alloc_stripe_hash_table() 413 spin_lock_irqsave(&table->cache_lock, flags); in remove_rbio_from_cache() 415 spin_unlock_irqrestore(&table->cache_lock, flags); in remove_rbio_from_cache() 429 spin_lock_irqsave(&table->cache_lock, flags); in btrfs_clear_rbio_cache() 436 spin_unlock_irqrestore(&table->cache_lock, flags); in btrfs_clear_rbio_cache() 473 spin_lock_irqsave(&table->cache_lock, flags); in cache_rbio() 500 spin_unlock_irqrestore(&table->cache_lock, flags); in cache_rbio()
|
| /Linux-v5.10/include/rdma/ |
| D | ib_verbs.h | 2648 rwlock_t cache_lock; member
|