/linux/drivers/soc/qcom/ |
A 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() 285 spin_lock_irqsave(&ctrlr->cache_lock, flags); in cache_batch() 288 spin_unlock_irqrestore(&ctrlr->cache_lock, flags); in cache_batch() 448 if (!spin_trylock(&ctrlr->cache_lock)) in rpmh_flush() 483 spin_unlock(&ctrlr->cache_lock); in rpmh_flush() 500 spin_lock_irqsave(&ctrlr->cache_lock, flags); in rpmh_invalidate() 505 spin_unlock_irqrestore(&ctrlr->cache_lock, flags); in rpmh_invalidate()
|
A D | rpmh-internal.h | 84 spinlock_t cache_lock; member
|
A D | rpmh-rsc.c | 982 spin_lock_init(&drv->client.cache_lock); in rpmh_rsc_probe()
|
/linux/drivers/base/regmap/ |
A 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() 659 mutex_lock(&map->cache_lock); in regmap_debugfs_exit() [all …]
|
A D | internal.h | 90 struct mutex cache_lock; member
|
/linux/fs/nfsd/ |
A 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() 196 spin_lock_init(&nn->drc_hashtbl[i].cache_lock); in nfsd_reply_cache_init() 287 spin_lock(&b->cache_lock); in prune_cache_entries() 289 spin_unlock(&b->cache_lock); in prune_cache_entries() 447 spin_lock(&b->cache_lock); in nfsd_cache_lookup() 465 spin_unlock(&b->cache_lock); in nfsd_cache_lookup() 572 spin_lock(&b->cache_lock); in nfsd_cache_update() 578 spin_unlock(&b->cache_lock); in nfsd_cache_update()
|
/linux/Documentation/kernel-hacking/ |
A D | locking.rst | 400 static DEFINE_MUTEX(cache_lock); 405 /* Must be holding cache_lock */ 418 /* Must be holding cache_lock */ 427 /* Must be holding cache_lock */ 452 mutex_lock(&cache_lock); 460 mutex_lock(&cache_lock); 470 mutex_lock(&cache_lock); 509 -static DEFINE_MUTEX(cache_lock); 526 - mutex_lock(&cache_lock); 536 - mutex_lock(&cache_lock); [all …]
|
/linux/Documentation/translations/it_IT/kernel-hacking/ |
A 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); 485 mutex_lock(&cache_lock); 495 mutex_lock(&cache_lock); 534 -static DEFINE_MUTEX(cache_lock); 551 - mutex_lock(&cache_lock); 561 - mutex_lock(&cache_lock); [all …]
|
/linux/arch/csky/mm/ |
A 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()
|
A 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/drivers/infiniband/core/ |
A 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() 1077 read_lock_irqsave(&device->cache_lock, flags); in ib_get_cached_subnet_prefix() 1079 read_unlock_irqrestore(&device->cache_lock, flags); in ib_get_cached_subnet_prefix() 1095 read_lock_irqsave(&device->cache_lock, flags); in ib_find_cached_pkey() 1122 read_unlock_irqrestore(&device->cache_lock, flags); in ib_find_cached_pkey() 1139 read_lock_irqsave(&device->cache_lock, flags); in ib_find_exact_cached_pkey() 1171 read_lock_irqsave(&device->cache_lock, flags); in ib_get_cached_lmc() 1188 read_lock_irqsave(&device->cache_lock, flags); in ib_get_cached_port_state() 1519 write_lock_irq(&device->cache_lock); in ib_cache_update() [all …]
|
A D | device.c | 610 rwlock_init(&device->cache_lock); in _ib_alloc_device()
|
/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
A 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()
|
A D | main.h | 214 spinlock_t cache_lock; member
|
A D | offload.c | 392 spin_lock_init(&nfp_map->cache_lock); in nfp_bpf_map_alloc()
|
/linux/drivers/gpu/drm/i915/gvt/ |
A D | kvmgt.c | 126 struct mutex cache_lock; member 456 mutex_lock(&vdev->cache_lock); in gvt_cache_destroy() 459 mutex_unlock(&vdev->cache_lock); in gvt_cache_destroy() 465 mutex_unlock(&vdev->cache_lock); in gvt_cache_destroy() 476 mutex_init(&vdev->cache_lock); in gvt_cache_init() 854 mutex_lock(&vdev->cache_lock); in intel_vgpu_iommu_notifier() 864 mutex_unlock(&vdev->cache_lock); in intel_vgpu_iommu_notifier() 2065 mutex_lock(&vdev->cache_lock); in kvmgt_dma_map_guest_page() 2093 mutex_unlock(&vdev->cache_lock); in kvmgt_dma_map_guest_page() 2116 mutex_lock(&vdev->cache_lock); in kvmgt_dma_pin_guest_page() [all …]
|
/linux/security/selinux/ss/ |
A D | sidtab.c | 52 spin_lock_init(&s->cache_lock); in sidtab_init() 563 spin_lock_irqsave(&s->cache_lock, flags); in sidtab_sid2str_put() 566 lockdep_is_held(&s->cache_lock)); in sidtab_sid2str_put() 594 spin_unlock_irqrestore(&s->cache_lock, flags); in sidtab_sid2str_put()
|
A D | sidtab.h | 96 spinlock_t cache_lock; member
|
/linux/net/sunrpc/ |
A 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/fs/btrfs/ |
A D | raid56.c | 50 spinlock_t cache_lock; member 224 spin_lock_init(&table->cache_lock); in btrfs_alloc_stripe_hash_table() 404 spin_lock_irqsave(&table->cache_lock, flags); in remove_rbio_from_cache() 406 spin_unlock_irqrestore(&table->cache_lock, flags); in remove_rbio_from_cache() 420 spin_lock_irqsave(&table->cache_lock, flags); in btrfs_clear_rbio_cache() 427 spin_unlock_irqrestore(&table->cache_lock, flags); in btrfs_clear_rbio_cache() 464 spin_lock_irqsave(&table->cache_lock, flags); in cache_rbio() 491 spin_unlock_irqrestore(&table->cache_lock, flags); in cache_rbio()
|
/linux/include/rdma/ |
A D | ib_verbs.h | 2699 rwlock_t cache_lock; member
|