Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/dma-buf/
H A Ddma-buf-cache.c29 mutex_lock(&dmabuf->cache_lock); in dma_buf_cache_destructor()
44 mutex_unlock(&dmabuf->cache_lock); in dma_buf_cache_destructor()
75 mutex_lock(&dmabuf->cache_lock); in dma_buf_cache_detach()
81 mutex_unlock(&dmabuf->cache_lock); in dma_buf_cache_detach()
92 mutex_lock(&dmabuf->cache_lock); in dma_buf_cache_attach()
133 mutex_unlock(&dmabuf->cache_lock); in dma_buf_cache_attach()
142 mutex_unlock(&dmabuf->cache_lock); in dma_buf_cache_attach()
154 mutex_lock(&dmabuf->cache_lock); in dma_buf_cache_unmap_attachment()
160 mutex_unlock(&dmabuf->cache_lock); in dma_buf_cache_unmap_attachment()
171 mutex_lock(&dmabuf->cache_lock); in dma_buf_cache_map_attachment()
[all …]
H A Ddma-buf.c714 mutex_init(&dmabuf->cache_lock); in dma_buf_export()
/OK3568_Linux_fs/kernel/arch/powerpc/oprofile/cell/
H A Dspu_task_sync.c33 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()
/OK3568_Linux_fs/kernel/arch/c6x/platforms/
H A Dcache.c123 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()
/OK3568_Linux_fs/kernel/drivers/soc/qcom/
H A 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()
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()
H A Drpmh-internal.h84 spinlock_t cache_lock; member
H A Drpmh-rsc.c1009 spin_lock_init(&drv->client.cache_lock); in rpmh_rsc_probe()
/OK3568_Linux_fs/kernel/fs/nfsd/
H A Dnfscache.c35 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()
/OK3568_Linux_fs/kernel/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()
659 mutex_lock(&map->cache_lock); in regmap_debugfs_exit()
[all …]
H A Dinternal.h86 struct mutex cache_lock; member
/OK3568_Linux_fs/kernel/Documentation/translations/it_IT/kernel-hacking/
H A Dlocking.rst425 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 …]
/OK3568_Linux_fs/kernel/Documentation/kernel-hacking/
H A Dlocking.rst406 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 …]
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/infiniband/core/
H A Dcache.c1057 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 …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gvt/
H A Dkvmgt.c126 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 …]
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/security/selinux/ss/
H A 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()
H A Dsidtab.h96 spinlock_t cache_lock; member
/OK3568_Linux_fs/kernel/net/sunrpc/
H A 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()
/OK3568_Linux_fs/kernel/fs/btrfs/
H A Draid56.c49 spinlock_t cache_lock; member
224 spin_lock_init(&table->cache_lock); in btrfs_alloc_stripe_hash_table()
416 spin_lock_irqsave(&table->cache_lock, flags); in remove_rbio_from_cache()
418 spin_unlock_irqrestore(&table->cache_lock, flags); in remove_rbio_from_cache()
432 spin_lock_irqsave(&table->cache_lock, flags); in btrfs_clear_rbio_cache()
439 spin_unlock_irqrestore(&table->cache_lock, flags); in btrfs_clear_rbio_cache()
476 spin_lock_irqsave(&table->cache_lock, flags); in cache_rbio()
503 spin_unlock_irqrestore(&table->cache_lock, flags); in cache_rbio()
/OK3568_Linux_fs/kernel/include/linux/
H A Ddma-buf.h445 struct mutex cache_lock; member
/OK3568_Linux_fs/kernel/include/rdma/
H A Dib_verbs.h2648 rwlock_t cache_lock; member