Lines Matching defs:map
1605 SMHBA_TARGETMAPPING *map;
1627 if ((map = calloc(1, sizeof (*map))) == NULL) {
1632 map->NumberOfEntries = 1;
1639 hbaPortWWN, domainPortWWN, map);
1642 numentries = map->NumberOfEntries;
1643 free(map);
1644 map = calloc(1, sizeof (HBA_UINT32) +
1646 if (map == NULL) {
1651 map->NumberOfEntries = numentries;
1653 hbaPortWWN, domainPortWWN, map);
1662 free(map);
1670 for (count = 0; count < map->NumberOfEntries; count++) {
1672 &(map->entry[count]), handle, hbaPortWWN, domainPortWWN,
1675 free(map);
1704 SMHBA_TARGETMAPPING *map = NULL;
1724 if ((map = calloc(1, sizeof (*map))) == NULL) {
1729 map->NumberOfEntries = 1;
1732 domainPortWWN, map);
1735 numentries = map->NumberOfEntries;
1736 free(map);
1737 map = calloc(1, sizeof (HBA_UINT32) +
1739 if (map == NULL) {
1744 map->NumberOfEntries = numentries;
1746 hbaPortWWN, domainPortWWN, map);
1752 free(map);
1753 map = NULL;
1779 if (map != NULL) {
1784 for (count = 0; count < map->NumberOfEntries; count++) {
1785 if (memcmp(map->entry[count].PortLun.
1795 free(map);
1800 map->entry[count].ScsiId.ScsiOSLun;
1802 map->entry[count].ScsiId.
1808 if (configData->map == NULL) {
1809 configData->map = TPMapData;
1812 configData->map->next;
1813 configData->map = TPMapData;
1818 (void) free(map);
1833 free(map);
1875 if (map != NULL) {
1876 for (count = 0; count < map->NumberOfEntries; count++) {
1877 if ((memcmp(map->entry[count].PortLun.
1880 (memcmp(&(map->entry[count].PortLun.
1886 map->entry[count].ScsiId.ScsiOSLun;
1888 map->entry[count].ScsiId.
1894 if (count == map->NumberOfEntries) {
1910 if (configData->map == NULL) {
1911 configData->map = TPMapData;
1913 TPMapData->next = configData->map->next;
1914 configData->map = TPMapData;
1917 free(map);