Home
last modified time | relevance | path

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

123

/Linux-v4.19/drivers/infiniband/hw/cxgb3/
Diwch_cm.h58 __func__, __LINE__, ep, kref_read(&((ep)->kref))); \
59 WARN_ON(kref_read(&((ep)->kref)) < 1); \
65 __func__, __LINE__, ep, kref_read(&((ep)->kref))); \
/Linux-v4.19/drivers/infiniband/hw/usnic/
Dusnic_ib_sysfs.c84 if (kref_read(&us_ibdev->vf_cnt) > 0) { in usnic_ib_show_config()
103 kref_read(&us_ibdev->vf_cnt)); in usnic_ib_show_config()
151 kref_read(&us_ibdev->vf_cnt)); in usnic_ib_show_max_vf()
Dusnic_ib_verbs.c301 kref_read(&us_ibdev->vf_cnt); in usnic_ib_query_device()
305 kref_read(&us_ibdev->vf_cnt); in usnic_ib_query_device()
/Linux-v4.19/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()
765 ep, kref_read(&((ep)->kref))); \
766 WARN_ON(kref_read(&((ep)->kref)) < 1); \
772 ep, kref_read(&((ep)->kref))); \
/Linux-v4.19/include/linux/
Dkref.h36 static inline unsigned int kref_read(const struct kref *kref) in kref_read() function
Dkobject.h134 WARN_ON_ONCE(kref_read(&kobj->kref) == 0); in kobject_has_children()
/Linux-v4.19/drivers/gpu/drm/i915/gvt/
Ddmabuf.c405 vgpu->id, kref_read(&dmabuf_obj->kref), in intel_vgpu_query_plane()
460 __func__, kref_read(&dmabuf_obj->kref), ret); in intel_vgpu_query_plane()
529 kref_read(&dmabuf_obj->kref), in intel_vgpu_get_dmabuf()
532 kref_read(&obj->base.refcount)); in intel_vgpu_get_dmabuf()
/Linux-v4.19/fs/ocfs2/dlm/
Ddlmdebug.c84 kref_read(&lock->lock_refs), in __dlm_print_lock()
109 res->last_used, kref_read(&res->refs), in __dlm_print_one_lock_resource()
301 kref_read(&mle->mle_refs)); in dump_mle()
497 kref_read(&lock->lock_refs)); in dump_lock()
524 kref_read(&res->refs)); in dump_lockres()
780 kref_read(&dlm->dlm_refs)); in debug_state_print()
/Linux-v4.19/include/drm/ttm/
Dttm_bo_driver.h697 WARN_ON(!kref_read(&bo->kref)); in ttm_bo_reserve()
722 WARN_ON(!kref_read(&bo->kref)); in ttm_bo_reserve_slowpath()
/Linux-v4.19/include/drm/
Ddrm_framebuffer.h275 return kref_read(&fb->base.refcount); in drm_framebuffer_read_refcount()
/Linux-v4.19/drivers/gpu/drm/
Ddrm_info.c121 kref_read(&obj->refcount)); in drm_gem_one_name_info()
Ddrm_mode_object.c185 DRM_DEBUG("OBJ ID: %d (%d)\n", obj->id, kref_read(&obj->refcount)); in drm_mode_object_put()
202 DRM_DEBUG("OBJ ID: %d (%d)\n", obj->id, kref_read(&obj->refcount)); in drm_mode_object_get()
/Linux-v4.19/block/
Dblk.h61 kref_read(&q->kobj.kref)) in queue_flag_set_unlocked()
70 kref_read(&q->kobj.kref)) in queue_flag_clear_unlocked()
/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc_hbadisc.c3489 kref_read(&ndlp->kref), in lpfc_mbx_cmpl_reg_login()
3974 kref_read(&ndlp->kref), in lpfc_mbx_cmpl_ns_reg_login()
4417 kref_read(&ndlp->kref)); in lpfc_enable_node()
4427 kref_read(&ndlp->kref)); in lpfc_enable_node()
4451 kref_read(&ndlp->kref), in lpfc_enable_node()
4751 (kref_read(&ndlp->kref) > 0)) { in lpfc_unreg_rpi()
4900 kref_read(&ndlp->kref)); in lpfc_cleanup_node()
4907 kref_read(&ndlp->kref)); in lpfc_cleanup_node()
4997 kref_read(&ndlp->kref), in lpfc_nlp_remove()
5792 kref_read(&ndlp->kref), in lpfc_mbx_cmpl_fdmi_reg_login()
[all …]
/Linux-v4.19/drivers/scsi/cxgbi/
Dlibcxgbi.h306 fn, csk, kref_read(&csk->refcnt)); in __cxgbi_sock_put()
315 fn, csk, kref_read(&csk->refcnt)); in __cxgbi_sock_get()
/Linux-v4.19/fs/exofs/
Dsys.c125 (int)kref_read(&k_name->kref)); in exofs_sysfs_dbg_print()
/Linux-v4.19/include/linux/sunrpc/
Dcache.h192 if (kref_read(&h->ref) <= 2 && in cache_put()
/Linux-v4.19/drivers/scsi/qedf/
Dqedf_els.c203 refcount = kref_read(&orig_io_req->refcount); in qedf_rrq_compl()
514 refcount = kref_read(&orig_io_req->refcount); in qedf_srr_compl()
806 refcount = kref_read(&orig_io_req->refcount); in qedf_rec_compl()
/Linux-v4.19/net/bluetooth/
Damp.c27 kref_read(&ctrl->kref)); in amp_ctrl_get()
45 kref_read(&ctrl->kref)); in amp_ctrl_put()
Da2mp.c813 BT_DBG("mgr %p orig refcnt %d", mgr, kref_read(&mgr->kref)); in amp_mgr_get()
836 BT_DBG("mgr %p orig refcnt %d", mgr, kref_read(&mgr->kref)); in amp_mgr_put()
/Linux-v4.19/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c652 if (kref_read(&xprt->xpt_ref) != 0) in __svc_rdma_free()
654 kref_read(&xprt->xpt_ref)); in __svc_rdma_free()
/Linux-v4.19/drivers/misc/mei/
Ddebugfs.c70 kref_read(&me_cl->refcnt)); in mei_dbgfs_read_meclients()
/Linux-v4.19/drivers/pci/
Dslot.c349 slot->number, kref_read(&slot->kobj.kref) - 1); in pci_destroy_slot()
/Linux-v4.19/drivers/scsi/bnx2fc/
Dbnx2fc_io.c78 kref_read(&io_req->refcount)); in bnx2fc_cmd_timeout()
1157 kref_read(&io_req->refcount)); in bnx2fc_eh_abort()
1322 kref_read(&io_req->refcount), io_req->cmd_type); in bnx2fc_process_cleanup_compl()
1341 kref_read(&io_req->refcount), io_req->cmd_type); in bnx2fc_process_abts_compl()
/Linux-v4.19/drivers/target/tcm_fc/
Dtfc_sess.c456 int sess_held = kref_read(&sess->kref); in ft_sess_put()

123