Lines Matching defs:sp_temp
255 char *sp_temp;
389 sp_temp = (char *)libscsi_vendor(target);
390 if (strncmp(sp_temp, "ATA", 3) == 0) {
396 calloc(1, strlen(sp_temp) + 1)) == NULL ||
397 sp_temp == NULL) {
398 if (!sp_temp) {
413 strlcpy(newdev->ident->vid, sp_temp,
414 strlen(sp_temp) + 1);
418 sp_temp = (char *)libscsi_product(target);
420 sp_temp_cut = strchr(sp_temp, ' ');
426 if (sd_idtfy_custmz(newdev, sp_temp)
436 (sp_temp_cut - sp_temp + 1))) == NULL) {
447 strlcpy(newdev->ident->vid, sp_temp,
448 sp_temp_cut - sp_temp + 1);
452 calloc(1, strlen(sp_temp) -
465 strlen(sp_temp) -
470 calloc(1, strlen(sp_temp) + 1)) == NULL ||
471 sp_temp == NULL) {
480 strlcpy(newdev->ident->pid, sp_temp,
481 strlen(sp_temp) + 1);
485 sp_temp = (char *)libscsi_revision(target);
486 if ((newdev->ident->revid = calloc(1, strlen(sp_temp) + 1))
487 == NULL || sp_temp == NULL) {
496 strlcpy(newdev->ident->revid, sp_temp, strlen(sp_temp) + 1);