Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/soc/qcom/
Drpmh.c125 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()
Drpmh-internal.h84 spinlock_t cache_lock; member
Drpmh-rsc.c982 spin_lock_init(&drv->client.cache_lock); in rpmh_rsc_probe()
/linux-6.1.9/fs/nfsd/
Dnfscache.c35 spinlock_t cache_lock; member
134 spin_lock(&b->cache_lock); in nfsd_reply_cache_free()
136 spin_unlock(&b->cache_lock); in nfsd_reply_cache_free()
191 spin_lock_init(&nn->drc_hashtbl[i].cache_lock); in nfsd_reply_cache_init()
290 spin_lock(&b->cache_lock); in prune_cache_entries()
292 spin_unlock(&b->cache_lock); in prune_cache_entries()
450 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-6.1.9/drivers/base/regmap/
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()
659 mutex_lock(&map->cache_lock); in regmap_debugfs_exit()
[all …]
Dinternal.h92 struct mutex cache_lock; member
/linux-6.1.9/arch/csky/mm/
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()
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-6.1.9/Documentation/kernel-hacking/
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);
454 mutex_unlock(&cache_lock);
460 mutex_lock(&cache_lock);
462 mutex_unlock(&cache_lock);
470 mutex_lock(&cache_lock);
476 mutex_unlock(&cache_lock);
[all …]
/linux-6.1.9/Documentation/translations/it_IT/kernel-hacking/
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);
474 mutex_unlock(&cache_lock);
480 mutex_lock(&cache_lock);
482 mutex_unlock(&cache_lock);
490 mutex_lock(&cache_lock);
496 mutex_unlock(&cache_lock);
[all …]
/linux-6.1.9/drivers/infiniband/core/
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()
1163 read_unlock_irqrestore(&device->cache_lock, flags); in ib_find_exact_cached_pkey()
1177 read_lock_irqsave(&device->cache_lock, flags); in ib_get_cached_lmc()
1179 read_unlock_irqrestore(&device->cache_lock, flags); in ib_get_cached_lmc()
[all …]
Ddevice.c611 rwlock_init(&device->cache_lock); in _ib_alloc_device()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/bpf/
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()
Dmain.h214 spinlock_t cache_lock; member
Doffload.c392 spin_lock_init(&nfp_map->cache_lock); in nfp_bpf_map_alloc()
/linux-6.1.9/drivers/gpu/drm/i915/gvt/
Dkvmgt.c312 mutex_lock(&vgpu->cache_lock); in gvt_cache_destroy()
315 mutex_unlock(&vgpu->cache_lock); in gvt_cache_destroy()
321 mutex_unlock(&vgpu->cache_lock); in gvt_cache_destroy()
330 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()
1666 mutex_lock(&vgpu->cache_lock); in intel_gvt_dma_map_guest_page()
1694 mutex_unlock(&vgpu->cache_lock); in intel_gvt_dma_map_guest_page()
1700 mutex_unlock(&vgpu->cache_lock); in intel_gvt_dma_map_guest_page()
1712 mutex_lock(&vgpu->cache_lock); in intel_gvt_dma_pin_guest_page()
[all …]
Dgvt.h228 struct mutex cache_lock; member
/linux-6.1.9/security/selinux/ss/
Dsidtab.c52 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()
Dsidtab.h96 spinlock_t cache_lock; member
/linux-6.1.9/net/sunrpc/
Dauth.c275 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-6.1.9/fs/btrfs/
Draid56.c50 spinlock_t cache_lock; member
113 spin_lock_init(&table->cache_lock); in btrfs_alloc_stripe_hash_table()
355 spin_lock_irqsave(&table->cache_lock, flags); in remove_rbio_from_cache()
357 spin_unlock_irqrestore(&table->cache_lock, flags); in remove_rbio_from_cache()
371 spin_lock_irqsave(&table->cache_lock, flags); in btrfs_clear_rbio_cache()
378 spin_unlock_irqrestore(&table->cache_lock, flags); in btrfs_clear_rbio_cache()
415 spin_lock_irqsave(&table->cache_lock, flags); in cache_rbio()
442 spin_unlock_irqrestore(&table->cache_lock, flags); in cache_rbio()
/linux-6.1.9/include/rdma/
Dib_verbs.h2709 rwlock_t cache_lock; member