Home
last modified time | relevance | path

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

12

/linux-6.14.4/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-6.14.4/include/linux/
Dkref.h85 if (refcount_dec_and_mutex_lock(&kref->refcount, mutex)) { in kref_put_mutex()
Drefcount.h356 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/
Drefcount-vs-atomic.rst152 * atomic_dec_and_mutex_lock() --> refcount_dec_and_mutex_lock()
/linux-6.14.4/drivers/gpu/host1x/
Dcontext.c171 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/
Dmod_hdr.c143 if (!refcount_dec_and_mutex_lock(&mh->refcnt, &tbl->lock)) in mlx5e_mod_hdr_detach()
Dtc_tun_encap.c496 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/
Dsubdev.c188 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/
Dct_fs_hmfs.c159 if (!refcount_dec_and_mutex_lock(&hmfs_matcher->ref, &fs_hmfs->lock)) in mlx5_ct_fs_hmfs_matcher_put()
Dct_fs_smfs.c173 if (!refcount_dec_and_mutex_lock(&smfs_matcher->ref, &fs_smfs->lock)) in mlx5_ct_fs_smfs_matcher_put()
Dint_port.c298 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/
Drefcount-vs-atomic.rst163 * atomic_dec_and_mutex_lock() --> refcount_dec_and_mutex_lock()
/linux-6.14.4/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Duchan.c86 if (refcount_dec_and_mutex_lock(&cctx->uses, &chan->cgrp->mutex)) { in nvkm_uchan_object_fini_1()
Dchan.c79 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/
Dnv50.c201 if (refcount_dec_and_mutex_lock(&iobj->maps, &imem->base.mutex)) { in nv50_instobj_release()
/linux-6.14.4/drivers/soc/qcom/
Dqcom_pd_mapper.c675 if (refcount_dec_and_mutex_lock(&data->refcnt, &qcom_pdm_mutex)) { in qcom_pdm_remove()
/linux-6.14.4/fs/lockd/
Dhost.c299 if (refcount_dec_and_mutex_lock(&host->h_count, &nlm_host_mutex)) { in nlmclnt_release_host()
/linux-6.14.4/drivers/infiniband/hw/hns/
Dhns_roce_hem.c645 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/
Dgroup.c734 if (!refcount_dec_and_mutex_lock(&group->drivers, &vfio.group_lock)) in vfio_device_remove_group()
/linux-6.14.4/net/netfilter/
Dxt_hashlimit.c428 if (refcount_dec_and_mutex_lock(&hinfo->use, &hashlimit_mutex)) { in htable_put()
/linux-6.14.4/arch/s390/kernel/
Dperf_cpum_sf.c583 if (refcount_dec_and_mutex_lock(&num_events, &pmc_reserve_mutex)) { in hw_perf_event_destroy()
/linux-6.14.4/net/sched/
Dact_api.c377 if (refcount_dec_and_mutex_lock(&p->tcfa_refcnt, &idrinfo->lock)) { in __tcf_action_put()
/linux-6.14.4/kernel/trace/
Dtrace_events_user.c282 delete = refcount_dec_and_mutex_lock(&user->refcnt, &event_mutex); in user_event_put()
/linux-6.14.4/drivers/gpu/drm/panthor/
Dpanthor_mmu.c819 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/
Dnbd.c1423 if (refcount_dec_and_mutex_lock(&nbd->config_refs, in nbd_config_put()

12