Searched refs:refcount_dec_and_mutex_lock (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.4/lib/ |
D | refcount.c | 314 bool refcount_dec_and_mutex_lock(refcount_t *r, struct mutex *lock) in refcount_dec_and_mutex_lock() function 327 EXPORT_SYMBOL(refcount_dec_and_mutex_lock);
|
/Linux-v5.4/include/linux/ |
D | kref.h | 75 if (refcount_dec_and_mutex_lock(&kref->refcount, lock)) { in kref_put_mutex()
|
D | refcount.h | 113 extern __must_check bool refcount_dec_and_mutex_lock(refcount_t *r, struct mutex *lock);
|
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
D | nv50.c | 200 if (refcount_dec_and_mutex_lock(&iobj->maps, &subdev->mutex)) { in nv50_instobj_release()
|
/Linux-v5.4/Documentation/core-api/ |
D | refcount-vs-atomic.rst | 163 * :c:func:`atomic_dec_and_mutex_lock` --> :c:func:`refcount_dec_and_mutex_lock`
|
/Linux-v5.4/fs/lockd/ |
D | host.c | 300 if (refcount_dec_and_mutex_lock(&host->h_count, &nlm_host_mutex)) { in nlmclnt_release_host()
|
/Linux-v5.4/drivers/block/ |
D | nbd.c | 248 if (refcount_dec_and_mutex_lock(&nbd->refs, in nbd_put() 1187 if (refcount_dec_and_mutex_lock(&nbd->config_refs, in nbd_config_put()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tc.c | 330 if (!refcount_dec_and_mutex_lock(&mh->refcnt, &tbl->lock)) in mlx5e_mod_hdr_put() 717 if (!refcount_dec_and_mutex_lock(&hpe->refcnt, &priv->fs.tc.hairpin_tbl_lock)) in mlx5e_hairpin_put() 1573 if (!refcount_dec_and_mutex_lock(&e->refcnt, &esw->offloads.encap_tbl_lock)) in mlx5e_encap_put()
|
/Linux-v5.4/net/sched/ |
D | act_api.c | 129 if (refcount_dec_and_mutex_lock(&p->tcfa_refcnt, &idrinfo->lock)) { in __tcf_action_put()
|
D | cls_api.c | 1202 if (refcount_dec_and_mutex_lock(&block->refcnt, &block->lock)) { in __tcf_block_put()
|
/Linux-v5.4/net/core/ |
D | rtnetlink.c | 130 return refcount_dec_and_mutex_lock(r, &rtnl_mutex); in refcount_dec_and_rtnl_lock()
|