Home
last modified time | relevance | path

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

/linux-6.3-rc2/lib/
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-6.3-rc2/include/linux/
A Dkref.h75 if (refcount_dec_and_mutex_lock(&kref->refcount, lock)) { in kref_put_mutex()
A Drefcount.h364 extern __must_check bool refcount_dec_and_mutex_lock(refcount_t *r, struct mutex *lock) __cond_acqu…
/linux-6.3-rc2/Documentation/translations/zh_CN/core-api/
A Drefcount-vs-atomic.rst152 * atomic_dec_and_mutex_lock() --> refcount_dec_and_mutex_lock()
/linux-6.3-rc2/drivers/gpu/host1x/
A Dcontext.c154 if (refcount_dec_and_mutex_lock(&cd->ref, &cdl->lock)) { in host1x_memory_context_put()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dmod_hdr.c143 if (!refcount_dec_and_mutex_lock(&mh->refcnt, &tbl->lock)) in mlx5e_mod_hdr_detach()
A Dtc_tun_encap.c486 if (!refcount_dec_and_mutex_lock(&e->refcnt, &esw->offloads.encap_tbl_lock)) in mlx5e_encap_put()
499 if (!refcount_dec_and_mutex_lock(&d->refcnt, &esw->offloads.decap_tbl_lock)) in mlx5e_decap_put()
1020 if (!refcount_dec_and_mutex_lock(&r->refcnt, &esw->offloads.encap_tbl_lock)) in mlx5e_route_put()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/core/
A Dsubdev.c188 if (refcount_dec_and_mutex_lock(&subdev->use.refcount, &subdev->use.mutex)) { in nvkm_subdev_unref()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
A Dint_port.c298 if (!refcount_dec_and_mutex_lock(&int_port->refcnt, &priv->int_ports_lock)) in mlx5e_tc_int_port_put()
A Dct_fs_smfs.c174 if (!refcount_dec_and_mutex_lock(&smfs_matcher->ref, &fs_smfs->lock)) in mlx5_ct_fs_smfs_matcher_put()
/linux-6.3-rc2/Documentation/core-api/
A Drefcount-vs-atomic.rst163 * atomic_dec_and_mutex_lock() --> refcount_dec_and_mutex_lock()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
A Duchan.c86 if (refcount_dec_and_mutex_lock(&cctx->uses, &chan->cgrp->mutex)) { in nvkm_uchan_object_fini_1()
A Dchan.c80 if (refcount_dec_and_mutex_lock(&cctx->refs, &chan->cgrp->mutex)) { in nvkm_chan_cctx_put()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
A Dnv50.c200 if (refcount_dec_and_mutex_lock(&iobj->maps, &imem->base.mutex)) { in nv50_instobj_release()
/linux-6.3-rc2/fs/lockd/
A Dhost.c300 if (refcount_dec_and_mutex_lock(&host->h_count, &nlm_host_mutex)) { in nlmclnt_release_host()
/linux-6.3-rc2/drivers/vfio/
A Dgroup.c661 if (!refcount_dec_and_mutex_lock(&group->drivers, &vfio.group_lock)) in vfio_device_remove_group()
/linux-6.3-rc2/drivers/infiniband/hw/hns/
A Dhns_roce_hem.c675 else if (!refcount_dec_and_mutex_lock(&table->hem[index.buf]->refcount, in hns_roce_table_mhop_put()
698 if (!refcount_dec_and_mutex_lock(&table->hem[i]->refcount, in hns_roce_table_put()
/linux-6.3-rc2/net/netfilter/
A Dxt_hashlimit.c424 if (refcount_dec_and_mutex_lock(&hinfo->use, &hashlimit_mutex)) { in htable_put()
/linux-6.3-rc2/net/sched/
A Dact_api.c377 if (refcount_dec_and_mutex_lock(&p->tcfa_refcnt, &idrinfo->lock)) { in __tcf_action_put()
A Dcls_api.c1284 if (refcount_dec_and_mutex_lock(&block->refcnt, &block->lock)) { in __tcf_block_put()
/linux-6.3-rc2/drivers/net/phy/
A Dphy_device.c1735 if (refcount_dec_and_mutex_lock(&shared->refcnt, &bus->shared_lock)) { in phy_package_leave()
/linux-6.3-rc2/drivers/block/
A Dnbd.c1301 if (refcount_dec_and_mutex_lock(&nbd->config_refs, in nbd_config_put()
/linux-6.3-rc2/fs/btrfs/
A Dscrub.c4210 if (refcount_dec_and_mutex_lock(&fs_info->scrub_workers_refcnt, in scrub_workers_put()
/linux-6.3-rc2/net/core/
A Drtnetlink.c166 return refcount_dec_and_mutex_lock(r, &rtnl_mutex); in refcount_dec_and_rtnl_lock()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Den_tc.c997 if (!refcount_dec_and_mutex_lock(&hpe->refcnt, &tc->hairpin_tbl_lock)) in mlx5e_hairpin_put()

Completed in 89 milliseconds