Home
last modified time | relevance | path

Searched refs:cache_lock (Results 1 – 22 of 22) sorted by relevance

/linux/fs/nfsd/
H A Dnfscache.c35 spinlock_t cache_lock; member
161 spin_lock(&b->cache_lock); in nfsd_reply_cache_free()
163 spin_unlock(&b->cache_lock); in nfsd_reply_cache_free()
271 lockdep_assert_held(&b->cache_lock); in nfsd_prune_bucket_locked()
337 spin_lock(&b->cache_lock); in nfsd_reply_cache_scan()
339 spin_unlock(&b->cache_lock); in nfsd_reply_cache_scan()
506 spin_lock(&b->cache_lock); in nfsd_cache_lookup()
513 spin_unlock(&b->cache_lock); in nfsd_cache_lookup()
559 spin_unlock(&b->cache_lock); in nfsd_cache_lookup()
629 spin_lock(&b->cache_lock); in nfsd_cache_update()
[all …]
/linux/drivers/soc/qcom/
H A Drpmh.c119 spin_lock_irqsave(&ctrlr->cache_lock, flags); in cache_rpm_request()
154 spin_unlock_irqrestore(&ctrlr->cache_lock, flags); in cache_rpm_request()
279 spin_lock_irqsave(&ctrlr->cache_lock, flags); in cache_batch()
282 spin_unlock_irqrestore(&ctrlr->cache_lock, flags); in cache_batch()
442 if (!spin_trylock(&ctrlr->cache_lock)) in rpmh_flush()
479 spin_unlock(&ctrlr->cache_lock); in rpmh_flush()
496 spin_lock_irqsave(&ctrlr->cache_lock, flags); in rpmh_invalidate()
501 spin_unlock_irqrestore(&ctrlr->cache_lock, flags); in rpmh_invalidate()
H A Drpmh-internal.h82 spinlock_t cache_lock; member
H A Drpmh-rsc.c1123 spin_lock_init(&drv->client.cache_lock); in rpmh_rsc_probe()
/linux/drivers/base/regmap/
H A Dregmap-debugfs.c114 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()
670 mutex_lock(&map->cache_lock); in regmap_debugfs_exit()
[all …]
H A Dinternal.h92 struct mutex cache_lock; member
/linux/arch/csky/mm/
H A Dcachev2.c38 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()
H A Dcachev1.c23 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/Documentation/kernel-hacking/
H A Dlocking.rst400 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/
H A Dlocking.rst420 static DEFINE_MUTEX(cache_lock);
425 /* Must be holding cache_lock */
438 /* Must be holding cache_lock */
447 /* Must be holding cache_lock */
472 mutex_lock(&cache_lock);
480 mutex_lock(&cache_lock);
490 mutex_lock(&cache_lock);
529 -static DEFINE_MUTEX(cache_lock);
546 - mutex_lock(&cache_lock);
556 - mutex_lock(&cache_lock);
[all …]
/linux/drivers/infiniband/core/
H A Dcache.c1063 read_lock_irqsave(&device->cache_lock, flags); in ib_get_cached_pkey()
1072 read_unlock_irqrestore(&device->cache_lock, flags); in ib_get_cached_pkey()
1083 read_lock_irqsave(&device->cache_lock, flags); in ib_get_cached_subnet_prefix()
1085 read_unlock_irqrestore(&device->cache_lock, flags); in ib_get_cached_subnet_prefix()
1101 read_lock_irqsave(&device->cache_lock, flags); in ib_find_cached_pkey()
1128 read_unlock_irqrestore(&device->cache_lock, flags); in ib_find_cached_pkey()
1145 read_lock_irqsave(&device->cache_lock, flags); in ib_find_exact_cached_pkey()
1177 read_lock_irqsave(&device->cache_lock, flags); in ib_get_cached_lmc()
1194 read_lock_irqsave(&device->cache_lock, flags); in ib_get_cached_port_state()
1536 write_lock_irq(&device->cache_lock); in ib_cache_update()
[all …]
H A Ddevice.c611 rwlock_init(&device->cache_lock); in _ib_alloc_device()
/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dcmsg.c209 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()
H A Dmain.h214 spinlock_t cache_lock; member
H A Doffload.c392 spin_lock_init(&nfp_map->cache_lock); in nfp_bpf_map_alloc()
/linux/drivers/gpu/drm/i915/gvt/
H A Dkvmgt.c310 mutex_lock(&vgpu->cache_lock); in gvt_cache_destroy()
313 mutex_unlock(&vgpu->cache_lock); in gvt_cache_destroy()
319 mutex_unlock(&vgpu->cache_lock); in gvt_cache_destroy()
328 mutex_init(&vgpu->cache_lock); in gvt_cache_init()
620 mutex_lock(&vgpu->cache_lock); in intel_vgpu_dma_unmap()
630 mutex_unlock(&vgpu->cache_lock); in intel_vgpu_dma_unmap()
1638 mutex_lock(&vgpu->cache_lock); in intel_gvt_dma_map_guest_page()
1666 mutex_unlock(&vgpu->cache_lock); in intel_gvt_dma_map_guest_page()
1672 mutex_unlock(&vgpu->cache_lock); in intel_gvt_dma_map_guest_page()
1684 mutex_lock(&vgpu->cache_lock); in intel_gvt_dma_pin_guest_page()
[all …]
H A Dgvt.h233 struct mutex cache_lock; member
/linux/security/selinux/ss/
H A Dsidtab.c54 spin_lock_init(&s->cache_lock); in sidtab_init()
573 spin_lock_irqsave(&s->cache_lock, flags); in sidtab_sid2str_put()
576 lockdep_is_held(&s->cache_lock)); in sidtab_sid2str_put()
604 spin_unlock_irqrestore(&s->cache_lock, flags); in sidtab_sid2str_put()
H A Dsidtab.h97 spinlock_t cache_lock; member
/linux/net/sunrpc/
H A Dauth.c272 spinlock_t *cache_lock; in rpcauth_unhash_cred() local
277 cache_lock = &cred->cr_auth->au_credcache->lock; in rpcauth_unhash_cred()
278 spin_lock(cache_lock); in rpcauth_unhash_cred()
280 spin_unlock(cache_lock); in rpcauth_unhash_cred()
/linux/fs/btrfs/
H A Draid56.c52 spinlock_t cache_lock; member
141 spin_lock_init(&table->cache_lock); in btrfs_alloc_stripe_hash_table()
414 spin_lock(&table->cache_lock); in remove_rbio_from_cache()
416 spin_unlock(&table->cache_lock); in remove_rbio_from_cache()
429 spin_lock(&table->cache_lock); in btrfs_clear_rbio_cache()
436 spin_unlock(&table->cache_lock); in btrfs_clear_rbio_cache()
472 spin_lock(&table->cache_lock); in cache_rbio()
499 spin_unlock(&table->cache_lock); in cache_rbio()
/linux/include/rdma/
H A Dib_verbs.h2707 rwlock_t cache_lock; member