/openbmc/linux/fs/nfsd/ |
H A D | nfscache.c | 35 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() 205 spin_lock_init(&nn->drc_hashtbl[i].cache_lock); in nfsd_reply_cache_init() 269 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() 509 spin_lock(&b->cache_lock); in nfsd_cache_lookup() 516 spin_unlock(&b->cache_lock); in nfsd_cache_lookup() 563 spin_unlock(&b->cache_lock); in nfsd_cache_lookup() [all …]
|
/openbmc/linux/drivers/soc/qcom/ |
H A D | rpmh.c | 119 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 D | rpmh-internal.h | 82 spinlock_t cache_lock; member
|
H A D | rpmh-rsc.c | 1124 spin_lock_init(&drv->client.cache_lock); in rpmh_rsc_probe()
|
/openbmc/linux/drivers/base/regmap/ |
H A D | regmap-debugfs.c | 114 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 D | internal.h | 93 struct mutex cache_lock; member
|
/openbmc/linux/arch/csky/mm/ |
H A D | cachev2.c | 38 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 D | cachev1.c | 23 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()
|
/openbmc/linux/Documentation/translations/it_IT/kernel-hacking/ |
H A D | locking.rst | 420 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 …]
|
/openbmc/linux/Documentation/kernel-hacking/ |
H A D | locking.rst | 400 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 …]
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | cache.c | 1059 read_lock_irqsave(&device->cache_lock, flags); in ib_get_cached_pkey() 1068 read_unlock_irqrestore(&device->cache_lock, flags); in ib_get_cached_pkey() 1079 read_lock_irqsave(&device->cache_lock, flags); in ib_get_cached_subnet_prefix() 1081 read_unlock_irqrestore(&device->cache_lock, flags); in ib_get_cached_subnet_prefix() 1097 read_lock_irqsave(&device->cache_lock, flags); in ib_find_cached_pkey() 1124 read_unlock_irqrestore(&device->cache_lock, flags); in ib_find_cached_pkey() 1141 read_lock_irqsave(&device->cache_lock, flags); in ib_find_exact_cached_pkey() 1159 read_unlock_irqrestore(&device->cache_lock, flags); in ib_find_exact_cached_pkey() 1173 read_lock_irqsave(&device->cache_lock, flags); in ib_get_cached_lmc() 1175 read_unlock_irqrestore(&device->cache_lock, flags); in ib_get_cached_lmc() [all …]
|
H A D | device.c | 611 rwlock_init(&device->cache_lock); in _ib_alloc_device()
|
/openbmc/linux/drivers/gpu/drm/i915/gvt/ |
H A D | kvmgt.c | 310 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 D | gvt.h | 234 struct mutex cache_lock; member
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | cmsg.c | 211 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 D | main.h | 214 spinlock_t cache_lock; member
|
H A D | offload.c | 392 spin_lock_init(&nfp_map->cache_lock); in nfp_bpf_map_alloc()
|
/openbmc/linux/security/selinux/ss/ |
H A D | sidtab.c | 53 spin_lock_init(&s->cache_lock); in sidtab_init() 568 spin_lock_irqsave(&s->cache_lock, flags); in sidtab_sid2str_put() 571 lockdep_is_held(&s->cache_lock)); in sidtab_sid2str_put() 599 spin_unlock_irqrestore(&s->cache_lock, flags); in sidtab_sid2str_put()
|
H A D | sidtab.h | 95 spinlock_t cache_lock; member
|
/openbmc/linux/net/sunrpc/ |
H A D | auth.c | 272 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()
|
/openbmc/linux/fs/btrfs/ |
H A D | raid56.c | 53 spinlock_t cache_lock; member 142 spin_lock_init(&table->cache_lock); in btrfs_alloc_stripe_hash_table() 416 spin_lock(&table->cache_lock); in remove_rbio_from_cache() 418 spin_unlock(&table->cache_lock); in remove_rbio_from_cache() 431 spin_lock(&table->cache_lock); in btrfs_clear_rbio_cache() 438 spin_unlock(&table->cache_lock); in btrfs_clear_rbio_cache() 474 spin_lock(&table->cache_lock); in cache_rbio() 501 spin_unlock(&table->cache_lock); in cache_rbio()
|
/openbmc/linux/include/rdma/ |
H A D | ib_verbs.h | 2722 rwlock_t cache_lock; member
|