Home
last modified time | relevance | path

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

12345

/Linux-v6.6/drivers/infiniband/hw/usnic/
Dusnic_ib_sysfs.c75 if (kref_read(&us_ibdev->vf_cnt) > 0) { in config_show()
93 kref_read(&us_ibdev->vf_cnt)); in config_show()
134 return sysfs_emit(buf, "%u\n", kref_read(&us_ibdev->vf_cnt)); in max_vf_show()
/Linux-v6.6/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h221 kref_read(&wr_waitp->kref)); in c4iw_put_wr_wait()
222 WARN_ON(kref_read(&wr_waitp->kref) == 0); in c4iw_put_wr_wait()
229 kref_read(&wr_waitp->kref)); in c4iw_get_wr_wait()
230 WARN_ON(kref_read(&wr_waitp->kref) == 0); in c4iw_get_wr_wait()
681 ep, kref_read(&((ep)->kref))); \
682 WARN_ON(kref_read(&((ep)->kref)) < 1); \
688 ep, kref_read(&((ep)->kref))); \
/Linux-v6.6/fs/ocfs2/dlm/
Ddlmdebug.c67 kref_read(&lock->lock_refs), in __dlm_print_lock()
92 res->last_used, kref_read(&res->refs), in __dlm_print_one_lock_resource()
284 kref_read(&mle->mle_refs)); in dump_mle()
480 kref_read(&lock->lock_refs)); in dump_lock()
507 kref_read(&res->refs)); in dump_lockres()
763 kref_read(&dlm->dlm_refs)); in debug_state_print()
/Linux-v6.6/include/linux/
Dkref.h34 static inline unsigned int kref_read(const struct kref *kref) in kref_read() function
/Linux-v6.6/drivers/gpu/drm/vmwgfx/
Dvmwgfx_gem.c228 kref_read(&bo->tbo.base.refcount), in vmw_bo_print_info()
229 kref_read(&bo->tbo.kref)); in vmw_bo_print_info()
/Linux-v6.6/drivers/gpu/drm/i915/gvt/
Ddmabuf.c439 vgpu->id, kref_read(&dmabuf_obj->kref), in intel_vgpu_query_plane()
486 __func__, kref_read(&dmabuf_obj->kref), ret); in intel_vgpu_query_plane()
553 kref_read(&dmabuf_obj->kref), in intel_vgpu_get_dmabuf()
556 kref_read(&obj->base.refcount)); in intel_vgpu_get_dmabuf()
/Linux-v6.6/drivers/infiniband/hw/hfi1/
Dtrace_mmu.h26 __entry->refcount = kref_read(&node->refcount);
/Linux-v6.6/drivers/infiniband/sw/rxe/
Drxe_pool.h77 #define rxe_read(obj) kref_read(&(obj)->elem.ref_cnt)
/Linux-v6.6/drivers/scsi/qedf/
Dqedf_els.c211 refcount = kref_read(&orig_io_req->refcount); in qedf_rrq_compl()
258 refcount = kref_read(&aborted_io_req->refcount); in qedf_send_rrq()
283 refcount = kref_read(&aborted_io_req->refcount); in qedf_send_rrq()
569 refcount = kref_read(&orig_io_req->refcount); in qedf_srr_compl()
868 refcount = kref_read(&orig_io_req->refcount); in qedf_rec_compl()
Dqedf_io.c824 io_log->refcount = kref_read(&io_req->refcount); in qedf_trace_io()
1227 refcount = kref_read(&io_req->refcount); in qedf_scsi_completion()
1390 refcount = kref_read(&io_req->refcount); in qedf_scsi_done()
1557 kref_read(&els_req->refcount)); in qedf_flush_els_req()
1677 refcount = kref_read(&io_req->refcount); in qedf_flush_active_ios()
1821 kref_read(&io_req->refcount); in qedf_flush_active_ios()
1932 refcount = kref_read(&io_req->refcount); in qedf_initiate_abts()
2209 refcount = kref_read(&io_req->refcount); in qedf_initiate_cleanup()
2442 ref_cnt = kref_read(&io_req->refcount); in qedf_initiate_tmf()
/Linux-v6.6/include/drm/
Ddrm_framebuffer.h259 return kref_read(&fb->base.refcount); in drm_framebuffer_read_refcount()
/Linux-v6.6/drivers/accel/ivpu/
Divpu_drv.c65 file_priv->ctx.id, kref_read(&file_priv->ref)); in ivpu_file_priv_get()
83 file_priv->ctx.id, kref_read(&file_priv->ref)); in ivpu_file_priv_get_by_ctx_id()
112 file_priv->ctx.id, kref_read(&file_priv->ref)); in ivpu_file_priv_put()
Divpu_job.c256 ivpu_dbg(vdev, KREF, "Job get: id %u refcount %u\n", job->job_id, kref_read(&job->ref)); in job_get()
283 ivpu_dbg(vdev, KREF, "Job put: id %u refcount %u\n", job->job_id, kref_read(&job->ref)); in job_put()
/Linux-v6.6/drivers/gpu/drm/
Ddrm_mode_object.c197 DRM_DEBUG("OBJ ID: %d (%d)\n", obj->id, kref_read(&obj->refcount)); in drm_mode_object_put()
214 DRM_DEBUG("OBJ ID: %d (%d)\n", obj->id, kref_read(&obj->refcount)); in drm_mode_object_get()
/Linux-v6.6/drivers/gpu/drm/msm/
Dmsm_fence.c198 WARN_ON(kref_read(&fence->refcount)); in msm_fence_init()
Dmsm_gem.h214 (kref_read(&obj->refcount) == 0) || in msm_gem_assert_locked()
/Linux-v6.6/drivers/misc/mei/
Ddebugfs.c47 kref_read(&me_cl->refcnt), in mei_dbgfs_meclients_show()
/Linux-v6.6/drivers/dma-buf/
Ddma-fence-chain.c189 if (kref_read(&prev->refcount) > 1) in dma_fence_chain_release()
/Linux-v6.6/drivers/scsi/cxgbi/
Dlibcxgbi.h324 fn, csk, kref_read(&csk->refcnt)); in __cxgbi_sock_put()
333 fn, csk, kref_read(&csk->refcnt)); in __cxgbi_sock_get()
/Linux-v6.6/drivers/scsi/lpfc/
Dlpfc_hbadisc.c174 vport->load_flag, kref_read(&ndlp->kref), in lpfc_dev_loss_tmo_callbk()
269 vport->load_flag, kref_read(&ndlp->kref)); in lpfc_dev_loss_tmo_callbk()
412 ndlp->nlp_DID, kref_read(&ndlp->kref), ndlp, in lpfc_check_nlp_post_devloss()
455 ndlp->fc4_xpt_flags, kref_read(&ndlp->kref)); in lpfc_dev_loss_tmo_handler()
530 ndlp->nlp_DID, kref_read(&ndlp->kref), in lpfc_dev_loss_tmo_handler()
546 ndlp->nlp_DID, kref_read(&ndlp->kref), in lpfc_dev_loss_tmo_handler()
573 kref_read(&ndlp->kref)); in lpfc_dev_loss_tmo_handler()
3888 kref_read(&ndlp->kref), in lpfc_mbx_cmpl_reg_login()
4394 kref_read(&ndlp->kref), in lpfc_mbx_cmpl_ns_reg_login()
4567 kref_read(&ndlp->kref)); in lpfc_register_remote_port()
[all …]
/Linux-v6.6/drivers/gpu/host1x/
Ddebug.c101 if (!kref_read(&m->syncpt[i].ref)) in show_syncpts()
/Linux-v6.6/include/linux/sunrpc/
Dcache.h210 if (kref_read(&h->ref) <= 2 && in cache_put()
/Linux-v6.6/net/bluetooth/
Damp.c20 kref_read(&ctrl->kref)); in amp_ctrl_get()
38 kref_read(&ctrl->kref)); in amp_ctrl_put()
/Linux-v6.6/drivers/gpu/drm/i915/display/
Dintel_global_state.c58 drm_WARN_ON(&dev_priv->drm, kref_read(&obj->state->ref) != 1); in intel_atomic_global_obj_cleanup()
/Linux-v6.6/drivers/of/
Ddynamic.c522 if (kref_read(&ce->np->kobj.kref) > 1) { in __of_changeset_entry_destroy()
524 kref_read(&ce->np->kobj.kref), ce->np); in __of_changeset_entry_destroy()

12345