Lines Matching refs:physent

518     entPhysicalEntry_t *physent;
651 physent = malloc(sizeof (entPhysicalEntry_t));
652 if (physent == NULL) {
657 physent->entPhysicalIndex = physidx;
659 physent->entPhysicalDescr = strdup(newPhysEntry->entPhysicalDescr);
661 if (physent->entPhysicalDescr == NULL) {
662 free(physent);
667 physent->entPhysicalVendorType =
671 if (physent->entPhysicalVendorType == NULL) {
672 free(physent->entPhysicalDescr);
673 free(physent);
678 memcpy(physent->entPhysicalVendorType,
681 physent->entPhysicalVendorTypeSize =
684 physent->entPhysicalContainedIn = newPhysEntry->entPhysicalContainedIn;
685 physent->entPhysicalClass = newPhysEntry->entPhysicalClass;
686 physent->entPhysicalParentRelPos =
688 physent->entPhysicalName = strdup(newPhysEntry->entPhysicalName);
690 if (physent->entPhysicalName == NULL) {
691 free(physent->entPhysicalVendorType);
692 free(physent->entPhysicalDescr);
693 free(physent);
697 physent->entPhysicalHardwareRev =
700 if (physent->entPhysicalHardwareRev == NULL) {
701 free(physent->entPhysicalName);
702 free(physent->entPhysicalVendorType);
703 free(physent->entPhysicalDescr);
704 free(physent);
708 physent->entPhysicalFirmwareRev =
711 if (physent->entPhysicalFirmwareRev == NULL) {
712 free(physent->entPhysicalHardwareRev);
713 free(physent->entPhysicalName);
714 free(physent->entPhysicalVendorType);
715 free(physent->entPhysicalDescr);
716 free(physent);
720 physent->entPhysicalSoftwareRev =
723 if (physent->entPhysicalSoftwareRev == NULL) {
724 free(physent->entPhysicalFirmwareRev);
725 free(physent->entPhysicalHardwareRev);
726 free(physent->entPhysicalName);
727 free(physent->entPhysicalVendorType);
728 free(physent->entPhysicalDescr);
729 free(physent);
733 physent->entPhysicalSerialNum =
736 if (physent->entPhysicalSerialNum == NULL) {
737 free(physent->entPhysicalSoftwareRev);
738 free(physent->entPhysicalFirmwareRev);
739 free(physent->entPhysicalHardwareRev);
740 free(physent->entPhysicalName);
741 free(physent->entPhysicalVendorType);
742 free(physent->entPhysicalDescr);
743 free(physent);
747 physent->entPhysicalMfgName =
750 if (physent->entPhysicalMfgName == NULL) {
751 free(physent->entPhysicalSerialNum);
752 free(physent->entPhysicalSoftwareRev);
753 free(physent->entPhysicalFirmwareRev);
754 free(physent->entPhysicalHardwareRev);
755 free(physent->entPhysicalName);
756 free(physent->entPhysicalVendorType);
757 free(physent->entPhysicalDescr);
758 free(physent);
762 physent->entPhysicalModelName =
765 if (physent->entPhysicalModelName == NULL) {
766 free(physent->entPhysicalMfgName);
767 free(physent->entPhysicalSerialNum);
768 free(physent->entPhysicalSoftwareRev);
769 free(physent->entPhysicalFirmwareRev);
770 free(physent->entPhysicalHardwareRev);
771 free(physent->entPhysicalName);
772 free(physent->entPhysicalVendorType);
773 free(physent->entPhysicalDescr);
774 free(physent);
778 physent->entPhysicalAlias =
781 if (physent->entPhysicalAlias == NULL) {
782 free(physent->entPhysicalModelName);
783 free(physent->entPhysicalMfgName);
784 free(physent->entPhysicalSerialNum);
785 free(physent->entPhysicalSoftwareRev);
786 free(physent->entPhysicalFirmwareRev);
787 free(physent->entPhysicalHardwareRev);
788 free(physent->entPhysicalName);
789 free(physent->entPhysicalVendorType);
790 free(physent->entPhysicalDescr);
791 free(physent);
795 physent->entPhysicalAssetID =
798 if (physent->entPhysicalAssetID == NULL) /* Memory allocation failed */
800 free(physent->entPhysicalAlias);
801 free(physent->entPhysicalModelName);
802 free(physent->entPhysicalMfgName);
803 free(physent->entPhysicalSerialNum);
804 free(physent->entPhysicalSoftwareRev);
805 free(physent->entPhysicalFirmwareRev);
806 free(physent->entPhysicalHardwareRev);
807 free(physent->entPhysicalName);
808 free(physent->entPhysicalVendorType);
809 free(physent->entPhysicalDescr);
810 free(physent);
815 physent->entPhysicalIsFRU = newPhysEntry->entPhysicalIsFRU;
817 index = AddToPhysicalTable(physent);