Lines Matching defs:umad_port_id
260 if ((mad_agent = umad_recv(p_vend->umad_port_id, umad,
278 if ((mad_agent = umad_recv(p_vend->umad_port_id,
450 p_vend->umad_port_id = -1;
619 int i = 0, umad_port_id = -1;
627 if (p_vend->umad_port_id >= 0) {
628 umad_port_id = p_vend->umad_port_id;
689 if ((umad_port_id = umad_open_port(p_vend->umad_port.ca_name,
696 p_vend->umad_port_id = umad_port_id;
702 umad_close_port(umad_port_id);
705 p_vend->umad_port_id = umad_port_id = -1;
711 umad_close_port(umad_port_id);
714 p_vend->umad_port_id = umad_port_id = -1;
719 return umad_port_id;
734 if (p_vend->umad_port_id >= 0) {
737 umad_unregister(p_vend->umad_port_id, i);
738 umad_close_port(p_vend->umad_port_id);
741 p_vend->umad_port_id = -1;
770 int umad_port_id;
785 if ((umad_port_id = osm_vendor_open_port(p_vend, port_guid)) < 0) {
810 p_bind->port_id = umad_port_id;
847 if ((p_bind->agent_id = umad_register(p_vend->umad_port_id,
874 if ((p_bind->agent_id1 = umad_register(p_vend->umad_port_id,