Lines Matching refs:agent
46 static void rvt_send_mad_handler(struct ib_mad_agent *agent, in rvt_send_mad_handler() argument
62 struct ib_mad_agent *agent; in rvt_create_mad_agents() local
69 agent = ib_register_mad_agent(&rdi->ibdev, p + 1, in rvt_create_mad_agents()
73 if (IS_ERR(agent)) { in rvt_create_mad_agents()
74 ret = PTR_ERR(agent); in rvt_create_mad_agents()
78 rvp->send_agent = agent; in rvt_create_mad_agents()
90 agent = rvp->send_agent; in rvt_create_mad_agents()
92 ib_unregister_mad_agent(agent); in rvt_create_mad_agents()
109 struct ib_mad_agent *agent; in rvt_free_mad_agents() local
116 agent = rvp->send_agent; in rvt_free_mad_agents()
118 ib_unregister_mad_agent(agent); in rvt_free_mad_agents()