Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/
Dusnic_ib_sysfs.c82 if (kref_read(&us_ibdev->vf_cnt) > 0) { in config_show()
101 kref_read(&us_ibdev->vf_cnt)); in config_show()
147 kref_read(&us_ibdev->vf_cnt)); in max_vf_show()
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()
/kernel/linux/linux-5.10/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()
693 ep, kref_read(&((ep)->kref))); \
694 WARN_ON(kref_read(&((ep)->kref)) < 1); \
700 ep, kref_read(&((ep)->kref))); \
/kernel/linux/linux-5.10/include/linux/
Dkref.h34 static inline unsigned int kref_read(const struct kref *kref) in kref_read() function
Dmm_inline.h162 if (kref_read(&anon_name->kref) < REFCOUNT_MAX) { in anon_vma_name_reuse()
Dkobject.h133 WARN_ON_ONCE(kref_read(&kobj->kref) == 0); in kobject_has_children()
/kernel/linux/linux-5.10/fs/ocfs2/dlm/
Ddlmdebug.c69 kref_read(&lock->lock_refs), in __dlm_print_lock()
94 res->last_used, kref_read(&res->refs), in __dlm_print_one_lock_resource()
286 kref_read(&mle->mle_refs)); in dump_mle()
482 kref_read(&lock->lock_refs)); in dump_lock()
509 kref_read(&res->refs)); in dump_lockres()
765 kref_read(&dlm->dlm_refs)); in debug_state_print()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
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()
/kernel/linux/linux-5.10/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.c830 io_log->refcount = kref_read(&io_req->refcount); in qedf_trace_io()
1240 refcount = kref_read(&io_req->refcount); in qedf_scsi_completion()
1410 refcount = kref_read(&io_req->refcount); in qedf_scsi_done()
1577 kref_read(&els_req->refcount)); in qedf_flush_els_req()
1697 refcount = kref_read(&io_req->refcount); in qedf_flush_active_ios()
1841 kref_read(&io_req->refcount); in qedf_flush_active_ios()
1948 refcount = kref_read(&io_req->refcount); in qedf_initiate_abts()
2225 refcount = kref_read(&io_req->refcount); in qedf_initiate_cleanup()
2456 ref_cnt = kref_read(&io_req->refcount); in qedf_initiate_tmf()
/kernel/linux/linux-5.10/include/drm/
Ddrm_framebuffer.h259 return kref_read(&fb->base.refcount); in drm_framebuffer_read_refcount()
/kernel/linux/linux-5.10/drivers/gpu/drm/
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()
Ddrm_dp_mst_topology.c1491 DRM_DEBUG("mstb %p (%d)\n", mstb, kref_read(&mstb->malloc_kref)); in drm_dp_mst_get_mstb_malloc()
1508 DRM_DEBUG("mstb %p (%d)\n", mstb, kref_read(&mstb->malloc_kref) - 1); in drm_dp_mst_put_mstb_malloc()
1542 DRM_DEBUG("port %p (%d)\n", port, kref_read(&port->malloc_kref)); in drm_dp_mst_get_port_malloc()
1559 DRM_DEBUG("port %p (%d)\n", port, kref_read(&port->malloc_kref) - 1); in drm_dp_mst_put_port_malloc()
1785 mstb, kref_read(&mstb->topology_kref)); in drm_dp_mst_topology_try_get_mstb()
1813 WARN_ON(kref_read(&mstb->topology_kref) == 0); in drm_dp_mst_topology_get_mstb()
1815 DRM_DEBUG("mstb %p (%d)\n", mstb, kref_read(&mstb->topology_kref)); in drm_dp_mst_topology_get_mstb()
1838 mstb, kref_read(&mstb->topology_kref) - 1); in drm_dp_mst_topology_put_mstb()
1902 port, kref_read(&port->topology_kref)); in drm_dp_mst_topology_try_get_port()
1927 WARN_ON(kref_read(&port->topology_kref) == 0); in drm_dp_mst_topology_get_port()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
Dlpfc_hbadisc.c3604 kref_read(&ndlp->kref), in lpfc_mbx_cmpl_reg_login()
4119 kref_read(&ndlp->kref), in lpfc_mbx_cmpl_ns_reg_login()
4573 kref_read(&ndlp->kref)); in lpfc_enable_node()
4586 kref_read(&ndlp->kref)); in lpfc_enable_node()
4596 kref_read(&ndlp->kref)); in lpfc_enable_node()
4627 kref_read(&ndlp->kref), in lpfc_enable_node()
4640 kref_read(&ndlp->kref), in lpfc_enable_node()
4935 (kref_read(&ndlp->kref) > 0)) { in lpfc_set_unreg_login_mbx_cmpl()
5190 kref_read(&ndlp->kref)); in lpfc_cleanup_node()
5197 kref_read(&ndlp->kref)); in lpfc_cleanup_node()
[all …]
/kernel/linux/linux-5.10/drivers/misc/mei/
Ddebugfs.c47 kref_read(&me_cl->refcnt), in mei_dbgfs_meclients_show()
/kernel/linux/linux-5.10/drivers/dma-buf/
Ddma-fence-chain.c190 if (kref_read(&prev->refcount) > 1) in dma_fence_chain_release()
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/
Dlibcxgbi.h325 fn, csk, kref_read(&csk->refcnt)); in __cxgbi_sock_put()
334 fn, csk, kref_read(&csk->refcnt)); in __cxgbi_sock_get()
/kernel/linux/linux-5.10/include/linux/sunrpc/
Dcache.h205 if (kref_read(&h->ref) <= 2 && in cache_put()
/kernel/linux/linux-5.10/drivers/of/
Ddynamic.c463 if (kref_read(&ce->np->kobj.kref) > 1) { in __of_changeset_entry_destroy()
465 kref_read(&ce->np->kobj.kref), ce->np); in __of_changeset_entry_destroy()
/kernel/linux/linux-5.10/net/bluetooth/
Damp.c20 kref_read(&ctrl->kref)); in amp_ctrl_get()
38 kref_read(&ctrl->kref)); in amp_ctrl_put()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/hyperhold/
Dhp_iotab.c225 pr_info("put hpio %p for eid %u, ref = %u.\n", hpio, hpio->eid, kref_read(&hpio->refcnt)); in hpio_put()
/kernel/linux/linux-5.10/drivers/pci/
Dslot.c315 slot->number, kref_read(&slot->kobj.kref) - 1); in pci_destroy_slot()
/kernel/linux/linux-5.10/net/sunrpc/
Dxprtmultipath.c201 return kref_read(&xprt->kref) != 0; in xprt_is_active()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_shrinker.c469 GEM_BUG_ON(!kref_read(&obj->base.refcount)); in __i915_gem_object_make_shrinkable()

1234