Lines Matching defs:tmp
96 uint64_t tmp;
97 (void) memcpy(&tmp, wwn, sizeof (uint64_t));
98 return (ntohll(tmp));
322 char *tmp = strstr(physical, ":fc");
323 if (tmp) {
324 *tmp = '\0';
359 struct path_entry *tmp;
360 for (tmp = head; tmp->next != NULL; tmp = tmp->next) { }
361 tmp->next = cur;
364 struct path_entry *tmp;
365 for (tmp = head; tmp != NULL; tmp = tmp->next) {
366 if (strncmp(tmp->path, path, sizeof (tmp->path)) == 0) {
367 return (tmp);
373 struct path_entry *tmp;
375 for (tmp = head; tmp != NULL; ) {
376 tmp2 = tmp->next;
377 free(tmp);
378 tmp = tmp2;
455 char *tmp;
482 tmp = get_slash_devices_from_osDevName(
485 if ((tmp != NULL) &&
486 strncmp(physical, tmp, MAXPATHLEN) == 0) {
628 struct path_entry *tmp;
630 for (tmp = head; tmp != NULL; tmp = tmp->next) {
633 printf("%016llx ", wwnConversion(tmp->wwn));
637 if ((tmp->dtype & DTYPE_MASK) < 0x10) {
639 dtype[tmp->dtype & DTYPE_MASK]);
640 } else if ((tmp->dtype & DTYPE_MASK) < 0x1f) {
649 printf(MSGSTR(31, "Logical Path:%s"), tmp->path);
656 tmp->path,
694 char *tmp, *physical = NULL;
777 tmp = get_slash_devices_from_osDevName(
780 if ((tmp != NULL) && (strncmp(physical, tmp,
784 free(tmp);
974 char *tmp = strstr(physical, ":devctl");
975 if (tmp) {
976 *tmp = '\0';
978 tmp = strstr(physical, ":fc");
979 if (tmp) {
980 *tmp = '\0';
1174 char *tmp = strstr(physical, ":devctl");
1175 if (tmp) {
1176 *tmp = '\0';
1178 tmp = strstr(physical, ":fc");
1179 if (tmp) {
1180 *tmp = '\0';
1454 struct lun_tracking *tmp = NULL, *cmp = NULL;
1456 for (tmp = head; tmp != NULL; tmp = tmp->next_lun) {
1457 if (memcmp(&tmp->map.LUID, &map->LUID,
1461 for (cmp = tmp; cmp->next_path != NULL;
1486 for (tmp = head; tmp->next_lun != NULL; tmp = tmp->next_lun) {}
1487 tmp->next_lun = (struct lun_tracking *)calloc(1,
1489 tmp = tmp->next_lun;
1490 (void) memcpy(&tmp->map, map,
1491 sizeof (tmp->map));
1492 (void) memcpy(&tmp->hba_pwwn, &pwwn,
1493 sizeof (tmp->hba_pwwn));
1494 (void) snprintf(tmp->hba_path, MAXPATHLEN,
1496 scsi_vhci_details(tmp);
1600 char *tmp;
1623 tmp = get_slash_devices_from_osDevName(
1626 if ((tmp != NULL) && (strncmp(physical, tmp,
1629 free(tmp);