Lines Matching refs:hrec

259     char hrec[161];  in gdth_get_info()  local
306 strcpy(hrec, "--"); in gdth_get_info()
308 sprintf(hrec, "%d", reserve_list[0]); in gdth_get_info()
312 sprintf(hrec,"%s,%d", hrec, reserve_list[i]); in gdth_get_info()
317 reserve_mode, hrec); in gdth_get_info()
328 sprintf(hrec, "%s (Bus %d)", ha->binfo.type_string, busnum); in gdth_get_info()
330 strcpy(hrec, ha->binfo.type_string); in gdth_get_info()
333 hanum, hrec); in gdth_get_info()
337 sprintf(hrec, "%d.%02d.%02d-%c%03X", in gdth_get_info()
344 sprintf(hrec, "%d.%02d", (unchar)(ha->cpar.version>>8), in gdth_get_info()
349 GDTH_VERSION_STR, hrec); in gdth_get_info()
441 strncpy(hrec,pdi->vendor,8); in gdth_get_info()
442 strncpy(hrec+8,pdi->product,16); in gdth_get_info()
443 strncpy(hrec+24,pdi->revision,4); in gdth_get_info()
444 hrec[28] = 0; in gdth_get_info()
447 'A'+i,pdi->target_id,pdi->lun,hrec); in gdth_get_info()
452 strcpy(hrec,"--"); in gdth_get_info()
454 sprintf(hrec,"%d",pdi->no_ldrive); in gdth_get_info()
458 hrec); in gdth_get_info()
561 strcpy(hrec, "missing"); in gdth_get_info()
563 strcpy(hrec, "fault"); in gdth_get_info()
565 strcpy(hrec, "invalid"); in gdth_get_info()
568 strcpy(hrec, "ok"); in gdth_get_info()
574 drv_no, hrec); in gdth_get_info()
580 strcpy(hrec, "RAID-1"); in gdth_get_info()
582 strcpy(hrec, "Disk"); in gdth_get_info()
584 strcpy(hrec, "RAID-0"); in gdth_get_info()
586 strcpy(hrec, "Chain"); in gdth_get_info()
588 strcpy(hrec, "???"); in gdth_get_info()
593 hrec); in gdth_get_info()
598 drv_no & 0x7fff, hrec); in gdth_get_info()
618 strcpy(hrec, "--"); in gdth_get_info()
620 sprintf(hrec, "%d", ha->hdr[i].master_no); in gdth_get_info()
622 " To Array Drv.:\t%s\n", hrec); in gdth_get_info()
670 strcpy(hrec, "idle"); in gdth_get_info()
672 strcpy(hrec, "build"); in gdth_get_info()
674 strcpy(hrec, "ready"); in gdth_get_info()
676 strcpy(hrec, "fail"); in gdth_get_info()
678 strcpy(hrec, "rebuild"); in gdth_get_info()
680 strcpy(hrec, "error"); in gdth_get_info()
682 strcat(hrec, "/expand"); in gdth_get_info()
684 strcat(hrec, "/patch"); in gdth_get_info()
687 i,hrec); in gdth_get_info()
692 strcpy(hrec, "RAID-0"); in gdth_get_info()
694 strcpy(hrec, "RAID-4"); in gdth_get_info()
696 strcpy(hrec, "RAID-5"); in gdth_get_info()
698 strcpy(hrec, "RAID-10"); in gdth_get_info()
702 hrec); in gdth_get_info()
807 gdth_log_event(&estr.event_data, hrec); in gdth_get_info()
812 sec/3600, sec%3600/60, sec%60, hrec); in gdth_get_info()