Lines Matching refs:wwn_list_p
498 struct wwn_list_struct *wwn_list_p = NULL, *wwn_list_tmp_p = NULL;
527 wwn_list_p = *wwn_list_ptr;
528 while (wwn_list_p != NULL) {
529 if (strstr(wwn_list_p->physical_path, SCSI_VHCI) != NULL) {
531 if ((get_scsi_vhci_port_wwn(wwn_list_p->physical_path,
536 get_wwns(wwn_list_p->physical_path,
547 if ((err = g_get_wwn(wwn_list_p->physical_path,
554 * wwn_list_p should point to the next
557 if ((wwn_list_p->wwn_prev == NULL) &&
558 (wwn_list_p->wwn_next == NULL)) {
560 free(wwn_list_p);
565 wwn_list_p->wwn_prev == NULL) {
567 wwn_list_p->wwn_next;
568 free(wwn_list_p);
569 wwn_list_p = *wwn_list_ptr;
570 wwn_list_p->wwn_prev = NULL;
572 wwn_list_p->wwn_next == NULL) {
573 wwn_list_p->wwn_prev->wwn_next =
575 free(wwn_list_p);
576 wwn_list_p = NULL;
579 wwn_list_p->wwn_next;
580 wwn_list_p->wwn_prev->wwn_next =
581 wwn_list_p->wwn_next;
582 wwn_list_p->wwn_next->wwn_prev =
583 wwn_list_p->wwn_prev;
584 free(wwn_list_p);
585 wwn_list_p = wwn_list_tmp_p;
590 copy_wwn_data_to_str(wwn_list_p->node_wwn_s, node_wwn);
591 copy_wwn_data_to_str(wwn_list_p->port_wwn_s, port_wwn);
592 memcpy(wwn_list_p->w_node_wwn, node_wwn, WWN_SIZE);
594 wwn_list_p = wwn_list_p->wwn_next;
605 for (wwn_list_p = *wwn_list_ptr; wwn_list_p != NULL;
606 wwn_list_p = wwn_list_p->wwn_next) {
607 if (strstr(wwn_list_p->physical_path, SCSI_VHCI) != NULL) {
609 wwn_list_p->physical_path, wwn_list_ptr)) != 0)