Lines Matching refs:port_array
525 sas_elem_t *port_array = NULL;
664 port_array = calloc(numberOfPorts, sizeof (sas_elem_t));
700 (void) strlcpy(port_array[portIndex].name,
702 sizeof (port_array[portIndex].name));
703 port_array[portIndex].index = portIndex;
706 if (port_array) {
707 sas_elem_sort(port_array, numberOfPorts);
726 if (port_array[portIndex].name[0] == '\0') {
734 port_array[portIndex].index, &port);
809 port_array[portIndex].index, &port,
820 if (port_array) {
821 free(port_array);
822 port_array = NULL;