Lines Matching refs:wwn
98 * @param wwn The wwn of the desired HBA port
104 HBAPort* HBA::getPort(uint64_t wwn) {
109 log.debug("getPort(wwn): WWN %016llx", wwn);
113 if (portsByWWN.find(wwn) == portsByWWN.end()) {
116 port = portsByWWN[wwn];
134 * @return TRUE if the wwn is found
135 * @return FALSE if the wwn is not found
136 * @param wwn The wwn to look for
139 bool HBA::containsWWN(uint64_t wwn) {
146 if (port->second->getPortWWN() == wwn) {
150 if (port->second->getNodeWWN() == wwn) {
166 * @return TRUE if the wwn is port wwn
167 * @return FALSE if the wwn is not port wwn
168 * @param wwn The wwn to look for
170 bool HBA::isPortWWN(uint64_t wwn) {
177 if (port->second->getPortWWN() == wwn) {
181 if (port->second->getNodeWWN() == wwn) {
222 * @memo Fetch the index based on port wwn
223 * @precondition wwn must be an valid port wwn on this HBA
225 * @return the zero based port index matching the wwn
226 * @param wwn The port wwn to look for
228 int HBA::getPortIndexByWWN(uint64_t wwn) {
235 if (tmp->getPortWWN() == wwn) {