Searched refs:refcount_dec_and_mutex_lock (Results 1 – 21 of 21) sorted by relevance
| /linux/lib/ |
| H A D | refcount.c | 113 bool refcount_dec_and_mutex_lock(refcount_t *r, struct mutex *lock) in refcount_dec_and_mutex_lock() function 126 EXPORT_SYMBOL(refcount_dec_and_mutex_lock);
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | refcount-vs-atomic.rst | 152 * atomic_dec_and_mutex_lock() --> refcount_dec_and_mutex_lock()
|
| /linux/drivers/gpu/host1x/ |
| H A D | context.c | 171 if (refcount_dec_and_mutex_lock(&cd->ref, &cdl->lock)) { in host1x_memory_context_put()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | mod_hdr.c | 143 if (!refcount_dec_and_mutex_lock(&mh->refcnt, &tbl->lock)) in mlx5e_mod_hdr_detach()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/core/ |
| H A D | subdev.c | 200 if (refcount_dec_and_mutex_lock(&subdev->use.refcount, &subdev->use.mutex)) { in nvkm_subdev_unref()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
| H A D | ct_fs_hmfs.c | 159 if (!refcount_dec_and_mutex_lock(&hmfs_matcher->ref, &fs_hmfs->lock)) in mlx5_ct_fs_hmfs_matcher_put()
|
| H A D | ct_fs_smfs.c | 173 if (!refcount_dec_and_mutex_lock(&smfs_matcher->ref, &fs_smfs->lock)) in mlx5_ct_fs_smfs_matcher_put()
|
| H A D | int_port.c | 298 if (!refcount_dec_and_mutex_lock(&int_port->refcnt, &priv->int_ports_lock)) in mlx5e_tc_int_port_put()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
| H A D | uchan.c | 86 if (refcount_dec_and_mutex_lock(&cctx->uses, &chan->cgrp->mutex)) { in nvkm_uchan_object_fini_1()
|
| H A D | chan.c | 79 if (refcount_dec_and_mutex_lock(&cctx->refs, &chan->cgrp->mutex)) { in nvkm_chan_cctx_put()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
| H A D | nv50.c | 201 if (refcount_dec_and_mutex_lock(&iobj->maps, &imem->base.mutex)) { in nv50_instobj_release()
|
| /linux/arch/s390/kernel/ |
| H A D | perf_cpum_sf.c | 581 if (refcount_dec_and_mutex_lock(&num_events, &pmc_reserve_mutex)) { in hw_perf_event_destroy()
|
| /linux/net/netfilter/ |
| H A D | xt_hashlimit.c | 426 if (refcount_dec_and_mutex_lock(&hinfo->use, &hashlimit_mutex)) { in htable_put()
|
| /linux/kernel/trace/ |
| H A D | trace_events_user.c | 282 delete = refcount_dec_and_mutex_lock(&user->refcnt, &event_mutex); in user_event_put()
|
| /linux/net/sched/ |
| H A D | act_api.c | 377 if (refcount_dec_and_mutex_lock(&p->tcfa_refcnt, &idrinfo->lock)) { in __tcf_action_put()
|
| H A D | cls_api.c | 1315 if (refcount_dec_and_mutex_lock(&block->refcnt, &block->lock)) { in __tcf_block_put()
|
| /linux/drivers/block/ |
| H A D | nbd.c | 1434 if (refcount_dec_and_mutex_lock(&nbd->config_refs, in nbd_config_put()
|
| /linux/drivers/gpu/drm/panthor/ |
| H A D | panthor_mmu.c | 804 if (!refcount_dec_and_mutex_lock(&vm->as.active_cnt, &ptdev->mmu->as.slots_lock)) in panthor_vm_idle()
|
| /linux/fs/btrfs/ |
| H A D | scrub.c | 3025 if (refcount_dec_and_mutex_lock(&fs_info->scrub_workers_refcnt, in scrub_workers_put()
|
| /linux/kernel/events/ |
| H A D | core.c | 7036 refcount_dec_and_mutex_lock(&rb->aux_mmap_count, &rb->aux_mutex)) { in perf_mmap_close() 7059 if (!refcount_dec_and_mutex_lock(&event->mmap_count, &event->mmap_mutex)) in perf_mmap_close()
|
| /linux/net/core/ |
| H A D | rtnetlink.c | 175 return refcount_dec_and_mutex_lock(r, &rtnl_mutex); in refcount_dec_and_rtnl_lock()
|