Searched refs:refcount_dec_and_mutex_lock (Results 1 – 22 of 22) sorted by relevance
/linux-5.19.10/lib/ |
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-5.19.10/include/linux/ |
D | kref.h | 75 if (refcount_dec_and_mutex_lock(&kref->refcount, lock)) { in kref_put_mutex()
|
D | refcount.h | 364 extern __must_check bool refcount_dec_and_mutex_lock(refcount_t *r, struct mutex *lock) __cond_acqu…
|
/linux-5.19.10/Documentation/translations/zh_CN/core-api/ |
D | refcount-vs-atomic.rst | 152 * atomic_dec_and_mutex_lock() --> refcount_dec_and_mutex_lock()
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | mod_hdr.c | 142 if (!refcount_dec_and_mutex_lock(&mh->refcnt, &tbl->lock)) in mlx5e_mod_hdr_detach()
|
D | tc_tun_encap.c | 477 if (!refcount_dec_and_mutex_lock(&e->refcnt, &esw->offloads.encap_tbl_lock)) in mlx5e_encap_put() 490 if (!refcount_dec_and_mutex_lock(&d->refcnt, &esw->offloads.decap_tbl_lock)) in mlx5e_decap_put() 1013 if (!refcount_dec_and_mutex_lock(&r->refcnt, &esw->offloads.encap_tbl_lock)) in mlx5e_route_put()
|
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/core/ |
D | engine.c | 43 if (refcount_dec_and_mutex_lock(&engine->use.refcount, &engine->use.mutex)) { in nvkm_engine_unref()
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
D | int_port.c | 298 if (!refcount_dec_and_mutex_lock(&int_port->refcnt, &priv->int_ports_lock)) in mlx5e_tc_int_port_put()
|
D | ct_fs_smfs.c | 174 if (!refcount_dec_and_mutex_lock(&smfs_matcher->ref, &fs_smfs->lock)) in mlx5_ct_fs_smfs_matcher_put()
|
/linux-5.19.10/Documentation/core-api/ |
D | refcount-vs-atomic.rst | 163 * atomic_dec_and_mutex_lock() --> refcount_dec_and_mutex_lock()
|
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
D | nv50.c | 200 if (refcount_dec_and_mutex_lock(&iobj->maps, &imem->base.mutex)) { in nv50_instobj_release()
|
/linux-5.19.10/fs/lockd/ |
D | host.c | 300 if (refcount_dec_and_mutex_lock(&host->h_count, &nlm_host_mutex)) { in nlmclnt_release_host()
|
/linux-5.19.10/drivers/infiniband/hw/hns/ |
D | hns_roce_hem.c | 676 else if (!refcount_dec_and_mutex_lock(&table->hem[index.buf]->refcount, in hns_roce_table_mhop_put() 699 if (!refcount_dec_and_mutex_lock(&table->hem[i]->refcount, in hns_roce_table_put()
|
/linux-5.19.10/net/netfilter/ |
D | xt_hashlimit.c | 424 if (refcount_dec_and_mutex_lock(&hinfo->use, &hashlimit_mutex)) { in htable_put()
|
/linux-5.19.10/drivers/vfio/ |
D | vfio.c | 422 if (!refcount_dec_and_mutex_lock(&group->users, &vfio.group_lock)) in vfio_group_put()
|
/linux-5.19.10/net/sched/ |
D | act_api.c | 383 if (refcount_dec_and_mutex_lock(&p->tcfa_refcnt, &idrinfo->lock)) { in __tcf_action_put()
|
D | cls_api.c | 1177 if (refcount_dec_and_mutex_lock(&block->refcnt, &block->lock)) { in __tcf_block_put()
|
/linux-5.19.10/drivers/net/phy/ |
D | phy_device.c | 1683 if (refcount_dec_and_mutex_lock(&shared->refcnt, &bus->shared_lock)) { in phy_package_leave()
|
/linux-5.19.10/drivers/block/ |
D | nbd.c | 1303 if (refcount_dec_and_mutex_lock(&nbd->config_refs, in nbd_config_put()
|
/linux-5.19.10/fs/btrfs/ |
D | scrub.c | 4038 if (refcount_dec_and_mutex_lock(&fs_info->scrub_workers_refcnt, in scrub_workers_put()
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tc.c | 810 if (!refcount_dec_and_mutex_lock(&hpe->refcnt, &priv->fs.tc.hairpin_tbl_lock)) in mlx5e_hairpin_put()
|
/linux-5.19.10/net/core/ |
D | rtnetlink.c | 165 return refcount_dec_and_mutex_lock(r, &rtnl_mutex); in refcount_dec_and_rtnl_lock()
|