Home
last modified time | relevance | path

Searched refs:refcount_dec_and_mutex_lock (Results 1 – 16 of 16) sorted by relevance

/linux/lib/
H A Drefcount.c113 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 Drefcount-vs-atomic.rst152 * atomic_dec_and_mutex_lock() --> refcount_dec_and_mutex_lock()
/linux/drivers/gpu/host1x/
H A Dcontext.c171 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 Dmod_hdr.c143 if (!refcount_dec_and_mutex_lock(&mh->refcnt, &tbl->lock)) in mlx5e_mod_hdr_detach()
/linux/drivers/net/phy/
H A Dphy_package.c332 if (refcount_dec_and_mutex_lock(&shared->refcnt, &bus->shared_lock)) { in phy_package_leave()
/linux/drivers/gpu/drm/nouveau/nvkm/core/
H A Dsubdev.c188 if (refcount_dec_and_mutex_lock(&subdev->use.refcount, &subdev->use.mutex)) { in nvkm_subdev_unref()
/linux/drivers/soc/qcom/
H A Dqcom_pd_mapper.c709 if (refcount_dec_and_mutex_lock(&data->refcnt, &qcom_pdm_mutex)) { in qcom_pdm_remove()
/linux/fs/lockd/
H A Dhost.c299 if (refcount_dec_and_mutex_lock(&host->h_count, &nlm_host_mutex)) { in nlmclnt_release_host()
/linux/net/netfilter/
H A Dxt_hashlimit.c426 if (refcount_dec_and_mutex_lock(&hinfo->use, &hashlimit_mutex)) { in htable_put()
/linux/kernel/trace/
H A Dtrace_events_user.c282 delete = refcount_dec_and_mutex_lock(&user->refcnt, &event_mutex); in user_event_put()
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c825 if (!refcount_dec_and_mutex_lock(&vm->as.active_cnt, &ptdev->mmu->as.slots_lock)) in panthor_vm_idle()
/linux/drivers/block/
H A Dnbd.c1434 if (refcount_dec_and_mutex_lock(&nbd->config_refs, in nbd_config_put()
/linux/fs/btrfs/
H A Dscrub.c3049 if (refcount_dec_and_mutex_lock(&fs_info->scrub_workers_refcnt, in scrub_workers_put()
/linux/net/sched/
H A Dcls_api.c1315 if (refcount_dec_and_mutex_lock(&block->refcnt, &block->lock)) { in __tcf_block_put()
/linux/kernel/events/
H A Dcore.c6753 refcount_dec_and_mutex_lock(&rb->aux_mmap_count, &rb->aux_mutex)) { in perf_mmap_close()
6776 if (!refcount_dec_and_mutex_lock(&event->mmap_count, &event->mmap_mutex)) in perf_mmap_close()
/linux/net/core/
H A Drtnetlink.c175 return refcount_dec_and_mutex_lock(r, &rtnl_mutex); in refcount_dec_and_rtnl_lock()