Searched refs:refcount_dec_and_mutex_lock (Results 1 – 25 of 30) sorted by relevance
12
/linux-6.14.4/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-6.14.4/include/linux/ |
D | kref.h | 85 if (refcount_dec_and_mutex_lock(&kref->refcount, mutex)) { in kref_put_mutex()
|
D | refcount.h | 356 extern __must_check bool refcount_dec_and_mutex_lock(refcount_t *r, struct mutex *lock) __cond_acqu…
|
/linux-6.14.4/Documentation/translations/zh_CN/core-api/ |
D | refcount-vs-atomic.rst | 152 * atomic_dec_and_mutex_lock() --> refcount_dec_and_mutex_lock()
|
/linux-6.14.4/drivers/gpu/host1x/ |
D | context.c | 171 if (refcount_dec_and_mutex_lock(&cd->ref, &cdl->lock)) { in host1x_memory_context_put()
|
/linux-6.14.4/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | mod_hdr.c | 143 if (!refcount_dec_and_mutex_lock(&mh->refcnt, &tbl->lock)) in mlx5e_mod_hdr_detach()
|
D | tc_tun_encap.c | 496 if (!refcount_dec_and_mutex_lock(&e->refcnt, &esw->offloads.encap_tbl_lock)) in mlx5e_encap_put() 522 if (!refcount_dec_and_mutex_lock(&d->refcnt, &esw->offloads.decap_tbl_lock)) in mlx5e_decap_put() 1145 if (!refcount_dec_and_mutex_lock(&r->refcnt, &esw->offloads.encap_tbl_lock)) in mlx5e_route_put()
|
/linux-6.14.4/drivers/gpu/drm/nouveau/nvkm/core/ |
D | subdev.c | 188 if (refcount_dec_and_mutex_lock(&subdev->use.refcount, &subdev->use.mutex)) { in nvkm_subdev_unref()
|
/linux-6.14.4/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
D | ct_fs_hmfs.c | 159 if (!refcount_dec_and_mutex_lock(&hmfs_matcher->ref, &fs_hmfs->lock)) in mlx5_ct_fs_hmfs_matcher_put()
|
D | ct_fs_smfs.c | 173 if (!refcount_dec_and_mutex_lock(&smfs_matcher->ref, &fs_smfs->lock)) in mlx5_ct_fs_smfs_matcher_put()
|
D | int_port.c | 298 if (!refcount_dec_and_mutex_lock(&int_port->refcnt, &priv->int_ports_lock)) in mlx5e_tc_int_port_put()
|
/linux-6.14.4/Documentation/core-api/ |
D | refcount-vs-atomic.rst | 163 * atomic_dec_and_mutex_lock() --> refcount_dec_and_mutex_lock()
|
/linux-6.14.4/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | uchan.c | 86 if (refcount_dec_and_mutex_lock(&cctx->uses, &chan->cgrp->mutex)) { in nvkm_uchan_object_fini_1()
|
D | chan.c | 79 if (refcount_dec_and_mutex_lock(&cctx->refs, &chan->cgrp->mutex)) { in nvkm_chan_cctx_put()
|
/linux-6.14.4/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
D | nv50.c | 201 if (refcount_dec_and_mutex_lock(&iobj->maps, &imem->base.mutex)) { in nv50_instobj_release()
|
/linux-6.14.4/drivers/soc/qcom/ |
D | qcom_pd_mapper.c | 675 if (refcount_dec_and_mutex_lock(&data->refcnt, &qcom_pdm_mutex)) { in qcom_pdm_remove()
|
/linux-6.14.4/fs/lockd/ |
D | host.c | 299 if (refcount_dec_and_mutex_lock(&host->h_count, &nlm_host_mutex)) { in nlmclnt_release_host()
|
/linux-6.14.4/drivers/infiniband/hw/hns/ |
D | hns_roce_hem.c | 645 else if (!refcount_dec_and_mutex_lock(&table->hem[index.buf]->refcount, in hns_roce_table_mhop_put() 669 if (!refcount_dec_and_mutex_lock(&table->hem[i]->refcount, in hns_roce_table_put()
|
/linux-6.14.4/drivers/vfio/ |
D | group.c | 734 if (!refcount_dec_and_mutex_lock(&group->drivers, &vfio.group_lock)) in vfio_device_remove_group()
|
/linux-6.14.4/net/netfilter/ |
D | xt_hashlimit.c | 428 if (refcount_dec_and_mutex_lock(&hinfo->use, &hashlimit_mutex)) { in htable_put()
|
/linux-6.14.4/arch/s390/kernel/ |
D | perf_cpum_sf.c | 583 if (refcount_dec_and_mutex_lock(&num_events, &pmc_reserve_mutex)) { in hw_perf_event_destroy()
|
/linux-6.14.4/net/sched/ |
D | act_api.c | 377 if (refcount_dec_and_mutex_lock(&p->tcfa_refcnt, &idrinfo->lock)) { in __tcf_action_put()
|
/linux-6.14.4/kernel/trace/ |
D | trace_events_user.c | 282 delete = refcount_dec_and_mutex_lock(&user->refcnt, &event_mutex); in user_event_put()
|
/linux-6.14.4/drivers/gpu/drm/panthor/ |
D | panthor_mmu.c | 819 if (!refcount_dec_and_mutex_lock(&vm->as.active_cnt, &ptdev->mmu->as.slots_lock)) in panthor_vm_idle()
|
/linux-6.14.4/drivers/block/ |
D | nbd.c | 1423 if (refcount_dec_and_mutex_lock(&nbd->config_refs, in nbd_config_put()
|
12