Lines Matching defs:opinfo
376 std_path_get_opinfo(struct scsi_device *sd, struct scsi_path_opinfo *opinfo,
381 opinfo->opinfo_rev = OPINFO_REV;
390 opinfo->opinfo_path_state = SCSI_PATH_ACTIVE;
392 opinfo->opinfo_path_state = SCSI_PATH_ACTIVE_NONOPT;
394 opinfo->opinfo_path_state = SCSI_PATH_INACTIVE;
396 opinfo->opinfo_path_state = SCSI_PATH_INACTIVE;
399 (void) strcpy(opinfo->opinfo_path_attr, PCLASS_PRIMARY);
401 (void) strcpy(opinfo->opinfo_path_attr, PCLASS_SECONDARY);
404 "class: %s state: %s\n", opinfo->opinfo_path_attr,
405 opinfo->opinfo_path_state == SCSI_PATH_ACTIVE ?
407 opinfo->opinfo_xlf_capable = 0;
408 opinfo->opinfo_pswtch_best = 30;
409 opinfo->opinfo_pswtch_worst = 3*30;
410 opinfo->opinfo_preferred = (uint16_t)preferred;
411 opinfo->opinfo_mode = (uint16_t)mode;