Home
last modified time | relevance | path

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

12345

/linux-6.12.1/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()
Dusnic_ib_verbs.c306 kref_read(&us_ibdev->vf_cnt); in usnic_ib_query_device()
311 kref_read(&us_ibdev->vf_cnt); in usnic_ib_query_device()
/linux-6.12.1/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()
717 ep, kref_read(&((ep)->kref))); \
718 WARN_ON(kref_read(&((ep)->kref)) < 1); \
724 ep, kref_read(&((ep)->kref))); \
/linux-6.12.1/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-6.12.1/drivers/gpu/drm/i915/gvt/
Ddmabuf.c440 vgpu->id, kref_read(&dmabuf_obj->kref), in intel_vgpu_query_plane()
487 __func__, kref_read(&dmabuf_obj->kref), ret); in intel_vgpu_query_plane()
554 kref_read(&dmabuf_obj->kref), in intel_vgpu_get_dmabuf()
557 kref_read(&obj->base.refcount)); in intel_vgpu_get_dmabuf()
/linux-6.12.1/include/linux/
Dkref.h34 static inline unsigned int kref_read(const struct kref *kref) in kref_read() function
/linux-6.12.1/drivers/infiniband/hw/hfi1/
Dtrace_mmu.h26 __entry->refcount = kref_read(&node->refcount);
/linux-6.12.1/drivers/infiniband/sw/rxe/
Drxe_pool.h77 #define rxe_read(obj) kref_read(&(obj)->elem.ref_cnt)
/linux-6.12.1/drivers/gpu/drm/vmwgfx/
Dvmwgfx_gem.c303 kref_read(&bo->tbo.base.refcount), in vmw_bo_print_info()
304 kref_read(&bo->tbo.kref)); in vmw_bo_print_info()
/linux-6.12.1/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.c828 io_log->refcount = kref_read(&io_req->refcount); in qedf_trace_io()
1231 refcount = kref_read(&io_req->refcount); in qedf_scsi_completion()
1394 refcount = kref_read(&io_req->refcount); in qedf_scsi_done()
1561 kref_read(&els_req->refcount)); in qedf_flush_els_req()
1681 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()
/linux-6.12.1/include/drm/
Ddrm_framebuffer.h247 return kref_read(&fb->base.refcount); in drm_framebuffer_read_refcount()
/linux-6.12.1/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-6.12.1/drivers/gpu/drm/msm/
Dmsm_fence.c198 WARN_ON(kref_read(&fence->refcount)); in msm_fence_init()
Dmsm_gem.h219 (kref_read(&obj->refcount) == 0) || in msm_gem_assert_locked()
/linux-6.12.1/drivers/misc/mei/
Ddebugfs.c47 kref_read(&me_cl->refcnt), in mei_dbgfs_meclients_show()
/linux-6.12.1/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-6.12.1/drivers/accel/ivpu/
Divpu_gem.c108 lockdep_assert(lockdep_is_held(&bo->lock) || !kref_read(&bo->base.base.refcount)); in ivpu_bo_unbind_locked()
410 bo->flags, kref_read(&bo->base.base.refcount)); in ivpu_bo_print_info()
Divpu_drv.c75 file_priv->ctx.id, kref_read(&file_priv->ref)); in ivpu_file_priv_get()
122 file_priv->ctx.id, kref_read(&file_priv->ref)); in ivpu_file_priv_put()
/linux-6.12.1/drivers/dma-buf/
Ddma-fence-chain.c189 if (kref_read(&prev->refcount) > 1) in dma_fence_chain_release()
/linux-6.12.1/drivers/scsi/lpfc/
Dlpfc_hbadisc.c174 vport->load_flag, kref_read(&ndlp->kref), in lpfc_dev_loss_tmo_callbk()
277 vport->load_flag, kref_read(&ndlp->kref)); in lpfc_dev_loss_tmo_callbk()
417 ndlp->nlp_DID, kref_read(&ndlp->kref), ndlp, in lpfc_check_nlp_post_devloss()
460 ndlp->fc4_xpt_flags, kref_read(&ndlp->kref)); in lpfc_dev_loss_tmo_handler()
539 ndlp->nlp_DID, kref_read(&ndlp->kref), in lpfc_dev_loss_tmo_handler()
556 ndlp->nlp_DID, kref_read(&ndlp->kref), in lpfc_dev_loss_tmo_handler()
580 kref_read(&ndlp->kref)); in lpfc_dev_loss_tmo_handler()
3869 kref_read(&ndlp->kref), in lpfc_mbx_cmpl_reg_login()
4366 kref_read(&ndlp->kref), in lpfc_mbx_cmpl_ns_reg_login()
4539 kref_read(&ndlp->kref)); in lpfc_register_remote_port()
[all …]
/linux-6.12.1/drivers/gpu/host1x/
Ddebug.c101 if (!kref_read(&m->syncpt[i].ref)) in show_syncpts()
/linux-6.12.1/include/linux/sunrpc/
Dcache.h210 if (kref_read(&h->ref) <= 2 && in cache_put()
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_drm_client.c158 xe_assert(xe, !kref_read(&bo->ttm.base.refcount)); in xe_drm_client_remove_bo()
/linux-6.12.1/drivers/of/
Ddynamic.c526 if (kref_read(&ce->np->kobj.kref) > 1) { in __of_changeset_entry_destroy()
528 kref_read(&ce->np->kobj.kref), ce->np); in __of_changeset_entry_destroy()

12345