Home
last modified time | relevance | path

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

/Linux-v5.10/lib/
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-v5.10/include/linux/
Dkref.h75 if (refcount_dec_and_mutex_lock(&kref->refcount, lock)) { in kref_put_mutex()
Drefcount.h364 extern __must_check bool refcount_dec_and_mutex_lock(refcount_t *r, struct mutex *lock);
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dmod_hdr.c142 if (!refcount_dec_and_mutex_lock(&mh->refcnt, &tbl->lock)) in mlx5e_mod_hdr_detach()
/Linux-v5.10/drivers/net/ipa/
Dipa_clock.c245 if (!refcount_dec_and_mutex_lock(&clock->count, &clock->mutex)) in ipa_clock_put()
/Linux-v5.10/Documentation/core-api/
Drefcount-vs-atomic.rst163 * atomic_dec_and_mutex_lock() --> refcount_dec_and_mutex_lock()
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dnv50.c200 if (refcount_dec_and_mutex_lock(&iobj->maps, &subdev->mutex)) { in nv50_instobj_release()
/Linux-v5.10/fs/lockd/
Dhost.c300 if (refcount_dec_and_mutex_lock(&host->h_count, &nlm_host_mutex)) { in nlmclnt_release_host()
/Linux-v5.10/drivers/block/
Dnbd.c248 if (refcount_dec_and_mutex_lock(&nbd->refs, in nbd_put()
1209 if (refcount_dec_and_mutex_lock(&nbd->config_refs, in nbd_config_put()
/Linux-v5.10/net/netfilter/
Dxt_hashlimit.c424 if (refcount_dec_and_mutex_lock(&hinfo->use, &hashlimit_mutex)) { in htable_put()
/Linux-v5.10/net/sched/
Dact_api.c129 if (refcount_dec_and_mutex_lock(&p->tcfa_refcnt, &idrinfo->lock)) { in __tcf_action_put()
Dcls_api.c1160 if (refcount_dec_and_mutex_lock(&block->refcnt, &block->lock)) { in __tcf_block_put()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c754 if (!refcount_dec_and_mutex_lock(&hpe->refcnt, &priv->fs.tc.hairpin_tbl_lock)) in mlx5e_hairpin_put()
1763 if (!refcount_dec_and_mutex_lock(&e->refcnt, &esw->offloads.encap_tbl_lock)) in mlx5e_encap_put()
1775 if (!refcount_dec_and_mutex_lock(&d->refcnt, &esw->offloads.decap_tbl_lock)) in mlx5e_decap_put()
/Linux-v5.10/drivers/net/phy/
Dphy_device.c1602 if (refcount_dec_and_mutex_lock(&shared->refcnt, &bus->shared_lock)) { in phy_package_leave()
/Linux-v5.10/fs/btrfs/
Dscrub.c3721 if (refcount_dec_and_mutex_lock(&fs_info->scrub_workers_refcnt, in scrub_workers_put()
/Linux-v5.10/net/core/
Drtnetlink.c130 return refcount_dec_and_mutex_lock(r, &rtnl_mutex); in refcount_dec_and_rtnl_lock()