Lines Matching refs:port

46  * @param	    myHBA The HBA for this port
50 handle(myHandle), hba(myHBA), port(myPort), active(false) {
67 * @memo Validate the current state of the handle port
69 * @param newState The new state of the port
71 * @doc After opening a port or refreshing, no state is tracked.
78 log.debug("Port %016llx state %016llx", port->getPortWWN(), newState);
93 * @memo Verify this port has the stated port wwn
94 * @return TRUE if the argument matches this port
95 * @return FALSE if the argument does not match this port
96 * @param portWWN The Port WWN to compare against this port
101 ret = (portWWN == port->getPortWWN());
106 * @memo Verify this port is the stated index
107 * @return TRUE if the argument matches this port
108 * @return FALSE if the argument does not match this port
109 * @param index The index value to compare against this port
113 return (*port == *(hba->getPortByIndex(index)));
117 * @memo Get attributes from a discovered port.
119 * @return The discovered port attributes
120 * @param wwn The node or port wwn of the discovered port
127 HBA_PORTATTRIBUTES attributes = port->getDiscoveredAttributes(
134 * @memo Get attributes from this port.
136 * @return The port attributes
144 HBA_PORTATTRIBUTES attributes = port->getPortAttributes(newState);
150 * @memo Get attributes from a discovered port.
152 * @return The discovered port attributes
153 * @param discoveredport The index of the discovered port
162 HBA_PORTATTRIBUTES attributes = port->getDiscoveredAttributes(
171 HBA_PORTNPIVATTRIBUTES attributes = port->getPortNPIVAttributes(newState);
178 uint32_t ret = port->deleteNPIVPort(vportwwn);
188 vportindex = port->createNPIVPort(vnodewwn, vportwwn, vindex);
195 HBANPIVPort* vport = port->getPortByIndex(index);
206 HBANPIVPort* vport = port->getPort(wwn);
207 npivportHandles[wwn] = new HandleNPIVPort(handle, this, hba, port, vport);