• Home
  • Raw
  • Download

Lines Matching refs:agent

71 	struct ib_mad_agent *agent;  member
446 memcpy(header->device_name, query->port->agent->device->name, in ib_nl_set_path_rec_attrs()
612 static void send_handler(struct ib_mad_agent *agent,
699 send_handler(query->port->agent, &mad_send_wc); in ib_nl_request_timeout()
824 send_handler(query->port->agent, &mad_send_wc); in ib_nl_handle_resolve_resp()
860 if (ib_query_port(port->agent->device, port->port_num, &port_attr)) { in update_sm_ah()
875 if (ib_find_pkey(port->agent->device, port->port_num, in update_sm_ah()
884 new_ah->ah = ib_create_ah(port->agent->qp->pd, &ah_attr); in update_sm_ah()
953 struct ib_mad_agent *agent; in ib_sa_cancel_query() local
961 agent = query->port->agent; in ib_sa_cancel_query()
971 ib_cancel_mad(agent, mad_buf); in ib_sa_cancel_query()
1052 query->mad_buf = ib_create_send_mad(query->port->agent, 1, in alloc_mad()
1073 static void init_mad(struct ib_sa_mad *mad, struct ib_mad_agent *agent) in init_mad() argument
1085 cpu_to_be64(((u64) agent->hi_tid) << 32 | tid++); in init_mad()
1210 struct ib_mad_agent *agent; in ib_sa_path_rec_get() local
1218 agent = port->agent; in ib_sa_path_rec_get()
1235 init_mad(mad, agent); in ib_sa_path_rec_get()
1330 struct ib_mad_agent *agent; in ib_sa_service_rec_query() local
1338 agent = port->agent; in ib_sa_service_rec_query()
1360 init_mad(mad, agent); in ib_sa_service_rec_query()
1427 struct ib_mad_agent *agent; in ib_sa_mcmember_rec_query() local
1435 agent = port->agent; in ib_sa_mcmember_rec_query()
1452 init_mad(mad, agent); in ib_sa_mcmember_rec_query()
1518 struct ib_mad_agent *agent; in ib_sa_guid_info_rec_query() local
1532 agent = port->agent; in ib_sa_guid_info_rec_query()
1549 init_mad(mad, agent); in ib_sa_guid_info_rec_query()
1580 static void send_handler(struct ib_mad_agent *agent, in send_handler() argument
1659 sa_dev->port[i].agent = in ib_sa_add_one()
1663 if (IS_ERR(sa_dev->port[i].agent)) in ib_sa_add_one()
1697 ib_unregister_mad_agent(sa_dev->port[i].agent); in ib_sa_add_one()
1718 ib_unregister_mad_agent(sa_dev->port[i].agent); in ib_sa_remove_one()