Searched refs:cache_lock (Results 1 - 20 of 20) sorted by relevance

/linux-master/arch/csky/mm/
H A Dcachev2.c38 static DEFINE_SPINLOCK(cache_lock);
52 spin_lock_irqsave(&cache_lock, flags);
57 spin_unlock_irqrestore(&cache_lock, flags);
H A Dcachev1.c23 static DEFINE_SPINLOCK(cache_lock);
65 spin_lock_irqsave(&cache_lock, flags);
75 spin_unlock_irqrestore(&cache_lock, flags);
/linux-master/fs/nfsd/
H A Dnfscache.c35 spinlock_t cache_lock; member in struct:nfsd_drc_bucket
161 spin_lock(&b->cache_lock);
163 spin_unlock(&b->cache_lock);
207 spin_lock_init(&nn->drc_hashtbl[i].cache_lock);
271 lockdep_assert_held(&b->cache_lock);
337 spin_lock(&b->cache_lock);
339 spin_unlock(&b->cache_lock);
415 * Must be called with cache_lock held. Returns the found entry or
470 * a suitable one isn't there, then drop the cache_lock and allocate a
506 spin_lock(&b->cache_lock);
[all...]
/linux-master/drivers/soc/qcom/
H A Drpmh.c119 spin_lock_irqsave(&ctrlr->cache_lock, flags);
154 spin_unlock_irqrestore(&ctrlr->cache_lock, flags);
279 spin_lock_irqsave(&ctrlr->cache_lock, flags);
282 spin_unlock_irqrestore(&ctrlr->cache_lock, flags);
442 if (!spin_trylock(&ctrlr->cache_lock))
479 spin_unlock(&ctrlr->cache_lock);
496 spin_lock_irqsave(&ctrlr->cache_lock, flags);
501 spin_unlock_irqrestore(&ctrlr->cache_lock, flags);
H A Drpmh-internal.h76 * @cache_lock: synchronize access to the cache data
82 spinlock_t cache_lock; member in struct:rpmh_ctrlr
114 * cache_lock.
H A Drpmh-rsc.c1122 spin_lock_init(&drv->client.cache_lock);
/linux-master/drivers/base/regmap/
H A Dregmap-debugfs.c114 mutex_lock(&map->cache_lock);
136 mutex_unlock(&map->cache_lock);
169 mutex_unlock(&map->cache_lock);
176 mutex_unlock(&map->cache_lock);
201 mutex_lock(&map->cache_lock);
210 mutex_unlock(&map->cache_lock);
400 mutex_lock(&map->cache_lock);
412 mutex_unlock(&map->cache_lock);
579 mutex_init(&map->cache_lock);
670 mutex_lock(&map->cache_lock);
[all...]
H A Dinternal.h92 struct mutex cache_lock; member in struct:regmap
/linux-master/drivers/infiniband/core/
H A Dcache.c1063 read_lock_irqsave(&device->cache_lock, flags);
1072 read_unlock_irqrestore(&device->cache_lock, flags);
1083 read_lock_irqsave(&device->cache_lock, flags);
1085 read_unlock_irqrestore(&device->cache_lock, flags);
1101 read_lock_irqsave(&device->cache_lock, flags);
1128 read_unlock_irqrestore(&device->cache_lock, flags);
1145 read_lock_irqsave(&device->cache_lock, flags);
1163 read_unlock_irqrestore(&device->cache_lock, flags);
1177 read_lock_irqsave(&device->cache_lock, flags);
1179 read_unlock_irqrestore(&device->cache_lock, flag
[all...]
H A Ddevice.c611 rwlock_init(&device->cache_lock);
/linux-master/drivers/net/ethernet/netronome/nfp/bpf/
H A Dcmsg.c209 spin_lock(&nfp_map->cache_lock);
257 spin_unlock(&nfp_map->cache_lock);
275 spin_lock(&nfp_map->cache_lock);
285 spin_unlock(&nfp_map->cache_lock);
H A Dmain.h200 * @cache_lock: protects @cache_blockers, @cache_to, @cache
214 spinlock_t cache_lock; member in struct:nfp_bpf_map
H A Doffload.c392 spin_lock_init(&nfp_map->cache_lock);
/linux-master/security/selinux/ss/
H A Dsidtab.h97 spinlock_t cache_lock; member in struct:sidtab
H A Dsidtab.c54 spin_lock_init(&s->cache_lock);
573 spin_lock_irqsave(&s->cache_lock, flags);
576 lockdep_is_held(&s->cache_lock));
604 spin_unlock_irqrestore(&s->cache_lock, flags);
/linux-master/drivers/gpu/drm/i915/gvt/
H A Dkvmgt.c310 mutex_lock(&vgpu->cache_lock);
313 mutex_unlock(&vgpu->cache_lock);
319 mutex_unlock(&vgpu->cache_lock);
328 mutex_init(&vgpu->cache_lock);
620 mutex_lock(&vgpu->cache_lock);
630 mutex_unlock(&vgpu->cache_lock);
1638 mutex_lock(&vgpu->cache_lock);
1666 mutex_unlock(&vgpu->cache_lock);
1672 mutex_unlock(&vgpu->cache_lock);
1684 mutex_lock(&vgpu->cache_lock);
[all...]
H A Dgvt.h233 struct mutex cache_lock; member in struct:intel_vgpu
/linux-master/net/sunrpc/
H A Dauth.c272 spinlock_t *cache_lock; local
277 cache_lock = &cred->cr_auth->au_credcache->lock;
278 spin_lock(cache_lock);
280 spin_unlock(cache_lock);
/linux-master/fs/btrfs/
H A Draid56.c52 spinlock_t cache_lock; member in struct:btrfs_stripe_hash_table
141 spin_lock_init(&table->cache_lock);
415 spin_lock(&table->cache_lock);
417 spin_unlock(&table->cache_lock);
430 spin_lock(&table->cache_lock);
437 spin_unlock(&table->cache_lock);
473 spin_lock(&table->cache_lock);
500 spin_unlock(&table->cache_lock);
/linux-master/include/rdma/
H A Dib_verbs.h2707 rwlock_t cache_lock; member in struct:ib_device

Completed in 237 milliseconds