Lines Matching refs:portlist
1128 * Output: portlist
1134 g_get_port_path(char *portdrvr, portlist_t *portlist)
1143 /* return invalid argument if *portdrvr or *portlist is NULL */
1144 if ((portdrvr == NULL) || (portlist == NULL)) {
1209 if ((portlist->hbacnt > MAX_HBA_PORT - 1) ||
1210 ((portlist->physpath[portlist->hbacnt] =
1215 strcpy(portlist->physpath[portlist->hbacnt],
1217 portlist->hbacnt++;
1230 * Free the allocated portlist structure
1233 g_free_portlist(portlist_t *portlist)
1237 /* return if portlist is NULL */
1238 if (portlist == NULL) {
1242 for (x = 0; x < portlist->hbacnt; x++) {
1243 if (portlist->physpath[x] != NULL) {
1244 free(portlist->physpath[x]);