Lines Matching refs:rvp
63 struct rvt_ibport *rvp; in rvt_create_mad_agents() local
68 rvp = rdi->ports[p]; in rvt_create_mad_agents()
78 rvp->send_agent = agent; in rvt_create_mad_agents()
88 rvp = rdi->ports[p]; in rvt_create_mad_agents()
89 if (rvp->send_agent) { in rvt_create_mad_agents()
90 agent = rvp->send_agent; in rvt_create_mad_agents()
91 rvp->send_agent = NULL; in rvt_create_mad_agents()
110 struct rvt_ibport *rvp; in rvt_free_mad_agents() local
114 rvp = rdi->ports[p]; in rvt_free_mad_agents()
115 if (rvp->send_agent) { in rvt_free_mad_agents()
116 agent = rvp->send_agent; in rvt_free_mad_agents()
117 rvp->send_agent = NULL; in rvt_free_mad_agents()
120 if (rvp->sm_ah) { in rvt_free_mad_agents()
121 rdma_destroy_ah(&rvp->sm_ah->ibah, in rvt_free_mad_agents()
123 rvp->sm_ah = NULL; in rvt_free_mad_agents()