Lines Matching refs:hrec
166 char hrec[161];
195 strcpy(hrec, "--");
197 hlen = sprintf(hrec, "%d", reserve_list[0]);
201 hlen += snprintf(hrec + hlen , 161 - hlen, ",%d", reserve_list[i]);
206 reserve_mode, hrec);
216 strcpy(hrec, ha->binfo.type_string);
219 ha->hanum, hrec);
223 sprintf(hrec, "%d.%02d.%02d-%c%03X",
230 sprintf(hrec, "%d.%02d", (u8)(ha->cpar.version>>8),
235 GDTH_VERSION_STR, hrec);
308 strncpy(hrec,pdi->vendor,8);
309 strncpy(hrec+8,pdi->product,16);
310 strncpy(hrec+24,pdi->revision,4);
311 hrec[28] = 0;
314 'A'+i,pdi->target_id,pdi->lun,hrec);
319 strcpy(hrec,"--");
321 sprintf(hrec,"%d",pdi->no_ldrive);
325 hrec);
408 strcpy(hrec, "missing");
410 strcpy(hrec, "fault");
412 strcpy(hrec, "invalid");
415 strcpy(hrec, "ok");
421 drv_no, hrec);
427 strcpy(hrec, "RAID-1");
429 strcpy(hrec, "Disk");
431 strcpy(hrec, "RAID-0");
433 strcpy(hrec, "Chain");
435 strcpy(hrec, "???");
440 hrec);
445 drv_no & 0x7fff, hrec);
465 strcpy(hrec, "--");
467 sprintf(hrec, "%d", ha->hdr[i].master_no);
469 " To Array Drv.:\t%s\n", hrec);
507 strcpy(hrec, "idle");
509 strcpy(hrec, "build");
511 strcpy(hrec, "ready");
513 strcpy(hrec, "fail");
515 strcpy(hrec, "rebuild");
517 strcpy(hrec, "error");
519 strcat(hrec, "/expand");
521 strcat(hrec, "/patch");
524 i,hrec);
529 strcpy(hrec, "RAID-0");
531 strcpy(hrec, "RAID-4");
533 strcpy(hrec, "RAID-5");
535 strcpy(hrec, "RAID-10");
539 hrec);
634 gdth_log_event(&estr->event_data, hrec);
639 sec/3600, sec%3600/60, sec%60, hrec);