Home
last modified time | relevance | path

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

/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()
278 spin_lock_irqsave(&ctrlr->cache_lock, flags); in cache_batch()
281 spin_unlock_irqrestore(&ctrlr->cache_lock, flags); in cache_batch()
441 if (!spin_trylock(&ctrlr->cache_lock)) in rpmh_flush()
478 spin_unlock(&ctrlr->cache_lock); in rpmh_flush()
495 spin_lock_irqsave(&ctrlr->cache_lock, flags); in rpmh_invalidate()
500 spin_unlock_irqrestore(&ctrlr->cache_lock, flags); in rpmh_invalidate()
H A Drpmh-internal.h82 spinlock_t cache_lock; member
/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);
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/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);
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/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/drivers/infiniband/core/
H A Dcache.c1056 read_lock_irqsave(&device->cache_lock, flags); in ib_get_cached_pkey()
1065 read_unlock_irqrestore(&device->cache_lock, flags); in ib_get_cached_pkey()
1076 read_lock_irqsave(&device->cache_lock, flags); in ib_get_cached_subnet_prefix()
1078 read_unlock_irqrestore(&device->cache_lock, flags); in ib_get_cached_subnet_prefix()
1094 read_lock_irqsave(&device->cache_lock, flags); in ib_find_cached_pkey()
1121 read_unlock_irqrestore(&device->cache_lock, flags); in ib_find_cached_pkey()
1135 read_lock_irqsave(&device->cache_lock, flags); in ib_get_cached_lmc()
1137 read_unlock_irqrestore(&device->cache_lock, flags); in ib_get_cached_lmc()
1152 read_lock_irqsave(&device->cache_lock, flags); in ib_get_cached_port_state()
1154 read_unlock_irqrestore(&device->cache_lock, flags); in ib_get_cached_port_state()
[all …]
H A Ddevice.c616 rwlock_init(&device->cache_lock); in _ib_alloc_device()
2947 write_lock_irq(&ibdev->cache_lock); in ib_dispatch_port_state_event()
2949 write_unlock_irq(&ibdev->cache_lock); in ib_dispatch_port_state_event()
2953 write_unlock_irq(&ibdev->cache_lock); in ib_dispatch_port_state_event()
/linux/drivers/gpu/drm/i915/gvt/
H A Dkvmgt.c311 mutex_lock(&vgpu->cache_lock); in gvt_cache_destroy()
314 mutex_unlock(&vgpu->cache_lock); in gvt_cache_destroy()
320 mutex_unlock(&vgpu->cache_lock); in gvt_cache_destroy()
329 mutex_init(&vgpu->cache_lock); in gvt_cache_init()
629 mutex_lock(&vgpu->cache_lock); in intel_vgpu_dma_unmap()
639 mutex_unlock(&vgpu->cache_lock); in intel_vgpu_dma_unmap()
1618 mutex_lock(&vgpu->cache_lock); in intel_gvt_dma_map_guest_page()
1646 mutex_unlock(&vgpu->cache_lock); in intel_gvt_dma_map_guest_page()
1652 mutex_unlock(&vgpu->cache_lock); in intel_gvt_dma_map_guest_page()
1664 mutex_lock(&vgpu->cache_lock); in intel_gvt_dma_pin_guest_page()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dcmsg.c211 spin_lock(&nfp_map->cache_lock); in nfp_bpf_ctrl_op_cache_get()
259 spin_unlock(&nfp_map->cache_lock); in nfp_bpf_ctrl_op_cache_get()
277 spin_lock(&nfp_map->cache_lock); in nfp_bpf_ctrl_op_cache_put()
287 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.c390 spin_lock_init(&nfp_map->cache_lock); in nfp_bpf_map_alloc()
/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/drivers/iommu/intel/
H A Dsvm.c224 spin_lock_init(&domain->cache_lock); in intel_svm_domain_alloc()
H A Dnested.c233 spin_lock_init(&domain->cache_lock); in intel_iommu_domain_alloc_nested()
/linux/fs/btrfs/
H A Draid56.c131 spinlock_t cache_lock; member
215 spin_lock_init(&table->cache_lock); in btrfs_alloc_stripe_hash_table()
533 spin_lock(&table->cache_lock); in remove_rbio_from_cache()
535 spin_unlock(&table->cache_lock); in remove_rbio_from_cache()
548 spin_lock(&table->cache_lock); in btrfs_clear_rbio_cache()
554 spin_unlock(&table->cache_lock); in btrfs_clear_rbio_cache()
590 spin_lock(&table->cache_lock); in cache_rbio()
617 spin_unlock(&table->cache_lock); in cache_rbio()