• Home
  • Raw
  • Download

Lines Matching refs:hrec

150     char hrec[161];  in gdth_show_info()  local
178 strcpy(hrec, "--"); in gdth_show_info()
180 hlen = sprintf(hrec, "%d", reserve_list[0]); in gdth_show_info()
184 hlen += snprintf(hrec + hlen , 161 - hlen, ",%d", reserve_list[i]); in gdth_show_info()
189 reserve_mode, hrec); in gdth_show_info()
272 strncpy(hrec,pdi->vendor,8); in gdth_show_info()
273 strncpy(hrec+8,pdi->product,16); in gdth_show_info()
274 strncpy(hrec+24,pdi->revision,4); in gdth_show_info()
275 hrec[28] = 0; in gdth_show_info()
278 'A'+i,pdi->target_id,pdi->lun,hrec); in gdth_show_info()
282 strcpy(hrec,"--"); in gdth_show_info()
284 sprintf(hrec,"%d",pdi->no_ldrive); in gdth_show_info()
288 hrec); in gdth_show_info()
359 strcpy(hrec, "missing"); in gdth_show_info()
361 strcpy(hrec, "fault"); in gdth_show_info()
363 strcpy(hrec, "invalid"); in gdth_show_info()
366 strcpy(hrec, "ok"); in gdth_show_info()
372 drv_no, hrec); in gdth_show_info()
377 strcpy(hrec, "RAID-1"); in gdth_show_info()
379 strcpy(hrec, "Disk"); in gdth_show_info()
381 strcpy(hrec, "RAID-0"); in gdth_show_info()
383 strcpy(hrec, "Chain"); in gdth_show_info()
385 strcpy(hrec, "???"); in gdth_show_info()
390 hrec); in gdth_show_info()
394 drv_no & 0x7fff, hrec); in gdth_show_info()
405 strcpy(hrec, "--"); in gdth_show_info()
407 sprintf(hrec, "%d", ha->hdr[i].master_no); in gdth_show_info()
409 " To Array Drv.:\t%s\n", hrec); in gdth_show_info()
437 strcpy(hrec, "idle"); in gdth_show_info()
439 strcpy(hrec, "build"); in gdth_show_info()
441 strcpy(hrec, "ready"); in gdth_show_info()
443 strcpy(hrec, "fail"); in gdth_show_info()
445 strcpy(hrec, "rebuild"); in gdth_show_info()
447 strcpy(hrec, "error"); in gdth_show_info()
449 strcat(hrec, "/expand"); in gdth_show_info()
451 strcat(hrec, "/patch"); in gdth_show_info()
454 i,hrec); in gdth_show_info()
458 strcpy(hrec, "RAID-0"); in gdth_show_info()
460 strcpy(hrec, "RAID-4"); in gdth_show_info()
462 strcpy(hrec, "RAID-5"); in gdth_show_info()
464 strcpy(hrec, "RAID-10"); in gdth_show_info()
468 hrec); in gdth_show_info()
542 gdth_log_event(&estr->event_data, hrec); in gdth_show_info()
547 sec/3600, sec%3600/60, sec%60, hrec); in gdth_show_info()