Home
last modified time | relevance | path

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

1234

/linux/drivers/infiniband/hw/usnic/
A Dusnic_ib_sysfs.c76 if (kref_read(&us_ibdev->vf_cnt) > 0) { in config_show()
94 kref_read(&us_ibdev->vf_cnt)); in config_show()
135 return sysfs_emit(buf, "%u\n", kref_read(&us_ibdev->vf_cnt)); in max_vf_show()
A Dusnic_ib_verbs.c307 kref_read(&us_ibdev->vf_cnt); in usnic_ib_query_device()
311 kref_read(&us_ibdev->vf_cnt); in usnic_ib_query_device()
/linux/drivers/infiniband/hw/cxgb4/
A 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()
682 ep, kref_read(&((ep)->kref))); \
683 WARN_ON(kref_read(&((ep)->kref)) < 1); \
689 ep, kref_read(&((ep)->kref))); \
/linux/include/drm/ttm/
A Dttm_bo_api.h553 WARN_ON_ONCE(!kref_read(&bo->kref)); in ttm_bo_pin()
566 WARN_ON_ONCE(!kref_read(&bo->kref)); in ttm_bo_unpin()
/linux/fs/ocfs2/dlm/
A 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/drivers/gpu/drm/i915/gvt/
A Ddmabuf.c456 vgpu->id, kref_read(&dmabuf_obj->kref), in intel_vgpu_query_plane()
511 __func__, kref_read(&dmabuf_obj->kref), ret); in intel_vgpu_query_plane()
578 kref_read(&dmabuf_obj->kref), in intel_vgpu_get_dmabuf()
581 kref_read(&obj->base.refcount)); in intel_vgpu_get_dmabuf()
/linux/include/linux/
A Dkref.h34 static inline unsigned int kref_read(const struct kref *kref) in kref_read() function
A Dkobject.h132 WARN_ON_ONCE(kref_read(&kobj->kref) == 0); in kobject_has_children()
/linux/drivers/scsi/qedf/
A 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()
A Dqedf_io.c825 io_log->refcount = kref_read(&io_req->refcount); in qedf_trace_io()
1229 refcount = kref_read(&io_req->refcount); in qedf_scsi_completion()
1392 refcount = kref_read(&io_req->refcount); in qedf_scsi_done()
1559 kref_read(&els_req->refcount)); in qedf_flush_els_req()
1679 refcount = kref_read(&io_req->refcount); in qedf_flush_active_ios()
1823 kref_read(&io_req->refcount); in qedf_flush_active_ios()
1930 refcount = kref_read(&io_req->refcount); in qedf_initiate_abts()
2207 refcount = kref_read(&io_req->refcount); in qedf_initiate_cleanup()
2437 ref_cnt = kref_read(&io_req->refcount); in qedf_initiate_tmf()
/linux/include/drm/
A Ddrm_framebuffer.h259 return kref_read(&fb->base.refcount); in drm_framebuffer_read_refcount()
/linux/drivers/gpu/drm/
A Ddrm_mode_object.c195 DRM_DEBUG("OBJ ID: %d (%d)\n", obj->id, kref_read(&obj->refcount)); in drm_mode_object_put()
212 DRM_DEBUG("OBJ ID: %d (%d)\n", obj->id, kref_read(&obj->refcount)); in drm_mode_object_get()
A Ddrm_dp_mst_topology.c1500 drm_dbg(mstb->mgr->dev, "mstb %p (%d)\n", mstb, kref_read(&mstb->malloc_kref)); in drm_dp_mst_get_mstb_malloc()
1517 drm_dbg(mstb->mgr->dev, "mstb %p (%d)\n", mstb, kref_read(&mstb->malloc_kref) - 1); in drm_dp_mst_put_mstb_malloc()
1551 drm_dbg(port->mgr->dev, "port %p (%d)\n", port, kref_read(&port->malloc_kref)); in drm_dp_mst_get_port_malloc()
1568 drm_dbg(port->mgr->dev, "port %p (%d)\n", port, kref_read(&port->malloc_kref) - 1); in drm_dp_mst_put_port_malloc()
1790 drm_dbg(mstb->mgr->dev, "mstb %p (%d)\n", mstb, kref_read(&mstb->topology_kref)); in drm_dp_mst_topology_try_get_mstb()
1818 WARN_ON(kref_read(&mstb->topology_kref) == 0); in drm_dp_mst_topology_get_mstb()
1820 drm_dbg(mstb->mgr->dev, "mstb %p (%d)\n", mstb, kref_read(&mstb->topology_kref)); in drm_dp_mst_topology_get_mstb()
1842 drm_dbg(mstb->mgr->dev, "mstb %p (%d)\n", mstb, kref_read(&mstb->topology_kref) - 1); in drm_dp_mst_topology_put_mstb()
1905 drm_dbg(port->mgr->dev, "port %p (%d)\n", port, kref_read(&port->topology_kref)); in drm_dp_mst_topology_try_get_port()
1930 WARN_ON(kref_read(&port->topology_kref) == 0); in drm_dp_mst_topology_get_port()
[all …]
/linux/drivers/misc/mei/
A Ddebugfs.c47 kref_read(&me_cl->refcnt), in mei_dbgfs_meclients_show()
/linux/drivers/scsi/cxgbi/
A Dlibcxgbi.h325 fn, csk, kref_read(&csk->refcnt)); in __cxgbi_sock_put()
334 fn, csk, kref_read(&csk->refcnt)); in __cxgbi_sock_get()
/linux/drivers/scsi/lpfc/
A Dlpfc_hbadisc.c471 ndlp->nlp_DID, kref_read(&ndlp->kref), in lpfc_dev_loss_tmo_handler()
3862 kref_read(&ndlp->kref), in lpfc_mbx_cmpl_reg_login()
4386 kref_read(&ndlp->kref), in lpfc_mbx_cmpl_ns_reg_login()
4573 kref_read(&ndlp->kref)); in lpfc_register_remote_port()
4600 kref_read(&ndlp->kref)); in lpfc_unregister_remote_port()
5269 (kref_read(&ndlp->kref) > 0)) { in lpfc_set_unreg_login_mbx_cmpl()
6393 kref_read(&ndlp->kref), in lpfc_mbx_cmpl_fdmi_reg_login()
6669 kref_read(&ndlp->kref)); in lpfc_nlp_get()
6701 kref_read(&ndlp->kref)); in lpfc_nlp_put()
6720 kref_read(&ndlp->kref)); in lpfc_nlp_not_used()
[all …]
A Dlpfc_els.c1065 kref_read(&ndlp->kref)); in lpfc_cmpl_els_flogi()
2106 ndlp->nlp_DID, kref_read(&ndlp->kref), 0); in lpfc_cmpl_els_plogi()
2232 did, kref_read(&ndlp->kref), 0); in lpfc_issue_els_plogi()
2542 ndlp->nlp_DID, kref_read(&ndlp->kref), 0); in lpfc_issue_els_prli()
2863 ndlp->nlp_DID, kref_read(&ndlp->kref), 0); in lpfc_issue_els_adisc()
3087 ndlp->nlp_DID, kref_read(&ndlp->kref), 0); in lpfc_issue_els_logo()
3435 ndlp->nlp_DID, kref_read(&ndlp->kref), 0); in lpfc_issue_els_scr()
5147 kref_read(&ndlp->kref), ndlp, mbx_cmd, in lpfc_mbx_cmpl_dflt_rpi()
5228 ndlp->nlp_rpi, kref_read(&ndlp->kref), mbox); in lpfc_cmpl_els_rsp()
5689 kref_read(&ndlp->kref)); in lpfc_issue_els_edc_rsp()
[all …]
/linux/drivers/dma-buf/
A Ddma-fence-chain.c191 if (kref_read(&prev->refcount) > 1) in dma_fence_chain_release()
/linux/include/linux/sunrpc/
A Dcache.h206 if (kref_read(&h->ref) <= 2 && in cache_put()
/linux/drivers/of/
A Ddynamic.c468 if (kref_read(&ce->np->kobj.kref) > 1) { in __of_changeset_entry_destroy()
470 kref_read(&ce->np->kobj.kref), ce->np); in __of_changeset_entry_destroy()
/linux/net/bluetooth/
A Damp.c20 kref_read(&ctrl->kref)); in amp_ctrl_get()
38 kref_read(&ctrl->kref)); in amp_ctrl_put()
/linux/drivers/gpu/drm/i915/display/
A Dintel_global_state.c58 drm_WARN_ON(&dev_priv->drm, kref_read(&obj->state->ref) != 1); in intel_atomic_global_obj_cleanup()
/linux/drivers/misc/habanalabs/common/
A Ddebugfs.c118 kref_read(&cb->refcount), in command_buffers_show()
149 kref_read(&cs->refcount), in command_submission_show()
181 kref_read(&job->refcount), job->hw_queue_id); in command_submission_jobs_show()
186 kref_read(&job->refcount), job->hw_queue_id); in command_submission_jobs_show()
/linux/drivers/pci/
A Dslot.c315 slot->number, kref_read(&slot->kobj.kref) - 1); in pci_destroy_slot()
/linux/drivers/scsi/bnx2fc/
A Dbnx2fc_io.c78 kref_read(&io_req->refcount)); in bnx2fc_cmd_timeout()
1158 kref_read(&io_req->refcount)); in bnx2fc_eh_abort()
1327 kref_read(&io_req->refcount), io_req->cmd_type); in bnx2fc_process_cleanup_compl()
1365 kref_read(&io_req->refcount), io_req->cmd_type); in bnx2fc_process_abts_compl()

Completed in 70 milliseconds

1234