Home
last modified time | relevance | path

Searched refs:opinfo (Results 1 – 9 of 9) sorted by relevance

/titanic_41/usr/src/uts/common/io/scsi/adapters/scsi_vhci/fops/
H A Dsym.c136 struct scsi_path_opinfo *opinfo, void *ctpriv) in symmetric_path_get_opinfo() argument
138 opinfo->opinfo_rev = OPINFO_REV; in symmetric_path_get_opinfo()
139 (void) strcpy(opinfo->opinfo_path_attr, "primary"); in symmetric_path_get_opinfo()
140 opinfo->opinfo_path_state = SCSI_PATH_ACTIVE; in symmetric_path_get_opinfo()
141 opinfo->opinfo_pswtch_best = 0; /* N/A */ in symmetric_path_get_opinfo()
142 opinfo->opinfo_pswtch_worst = 0; /* N/A */ in symmetric_path_get_opinfo()
143 opinfo->opinfo_xlf_capable = 0; in symmetric_path_get_opinfo()
144 opinfo->opinfo_mode = SCSI_NO_FAILOVER; in symmetric_path_get_opinfo()
145 opinfo->opinfo_preferred = 1; in symmetric_path_get_opinfo()
H A Dtape.c159 tape_path_get_opinfo(struct scsi_device *sd, struct scsi_path_opinfo *opinfo, in tape_path_get_opinfo() argument
162 opinfo->opinfo_rev = OPINFO_REV; in tape_path_get_opinfo()
163 (void) strcpy(opinfo->opinfo_path_attr, PCLASS_PRIMARY); in tape_path_get_opinfo()
164 opinfo->opinfo_path_state = SCSI_PATH_ACTIVE; in tape_path_get_opinfo()
165 opinfo->opinfo_pswtch_best = 0; /* N/A */ in tape_path_get_opinfo()
166 opinfo->opinfo_pswtch_worst = 0; /* N/A */ in tape_path_get_opinfo()
167 opinfo->opinfo_xlf_capable = 0; in tape_path_get_opinfo()
168 opinfo->opinfo_mode = SCSI_NO_FAILOVER; in tape_path_get_opinfo()
169 opinfo->opinfo_preferred = 1; in tape_path_get_opinfo()
H A Dsym_hds.c61 struct scsi_path_opinfo *opinfo, void *ctpriv);
278 hds_sym_get_opinfo(struct scsi_device *sd, struct scsi_path_opinfo *opinfo, in hds_sym_get_opinfo() argument
283 opinfo->opinfo_rev = OPINFO_REV; in hds_sym_get_opinfo()
284 (void) strcpy(opinfo->opinfo_path_attr, "primary"); in hds_sym_get_opinfo()
285 opinfo->opinfo_path_state = SCSI_PATH_ACTIVE; in hds_sym_get_opinfo()
286 opinfo->opinfo_pswtch_best = 0; /* N/A */ in hds_sym_get_opinfo()
287 opinfo->opinfo_pswtch_worst = 0; /* N/A */ in hds_sym_get_opinfo()
288 opinfo->opinfo_xlf_capable = 0; in hds_sym_get_opinfo()
289 opinfo->opinfo_mode = SCSI_NO_FAILOVER; in hds_sym_get_opinfo()
295 opinfo->opinfo_preferred = PCLASS_PREFERRED; in hds_sym_get_opinfo()
[all …]
H A Dtpgs.c376 std_path_get_opinfo(struct scsi_device *sd, struct scsi_path_opinfo *opinfo, in std_path_get_opinfo() argument
381 opinfo->opinfo_rev = OPINFO_REV; in std_path_get_opinfo()
390 opinfo->opinfo_path_state = SCSI_PATH_ACTIVE; in std_path_get_opinfo()
392 opinfo->opinfo_path_state = SCSI_PATH_ACTIVE_NONOPT; in std_path_get_opinfo()
394 opinfo->opinfo_path_state = SCSI_PATH_INACTIVE; in std_path_get_opinfo()
396 opinfo->opinfo_path_state = SCSI_PATH_INACTIVE; in std_path_get_opinfo()
399 (void) strcpy(opinfo->opinfo_path_attr, PCLASS_PRIMARY); in std_path_get_opinfo()
401 (void) strcpy(opinfo->opinfo_path_attr, PCLASS_SECONDARY); in std_path_get_opinfo()
404 "class: %s state: %s\n", opinfo->opinfo_path_attr, in std_path_get_opinfo()
405 opinfo->opinfo_path_state == SCSI_PATH_ACTIVE ? in std_path_get_opinfo()
[all …]
H A Dasym_sun.c436 *opinfo, void *ctpriv) in purple_path_get_opinfo()
469 opinfo->opinfo_rev = OPINFO_REV; in purple_path_get_opinfo()
477 (void) strcpy(opinfo->opinfo_path_attr, "primary"); in purple_path_get_opinfo()
479 (void) strcpy(opinfo->opinfo_path_attr, "secondary"); in purple_path_get_opinfo()
488 opinfo->opinfo_path_state = SCSI_PATH_ACTIVE; in purple_path_get_opinfo()
490 opinfo->opinfo_path_state = SCSI_PATH_INACTIVE; in purple_path_get_opinfo()
491 opinfo->opinfo_xlf_capable = xlf; in purple_path_get_opinfo()
492 opinfo->opinfo_pswtch_best = 30; in purple_path_get_opinfo()
493 opinfo->opinfo_pswtch_worst = 3*30; in purple_path_get_opinfo()
494 opinfo->opinfo_mode = (uint16_t)mode; in purple_path_get_opinfo()
[all …]
/titanic_41/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c3800 struct scsi_path_opinfo opinfo; in vhci_update_pathstates() local
3828 if (fo->sfo_path_get_opinfo(psd, &opinfo, in vhci_update_pathstates()
3854 if (strcmp(pclass, opinfo.opinfo_path_attr) != 0) { in vhci_update_pathstates()
3856 opinfo.opinfo_path_attr); in vhci_update_pathstates()
3865 if ((opinfo.opinfo_path_state == SCSI_PATH_ACTIVE || in vhci_update_pathstates()
3866 opinfo.opinfo_path_state == SCSI_PATH_ACTIVE_NONOPT)) { in vhci_update_pathstates()
3884 opinfo.opinfo_preferred); in vhci_update_pathstates()
3886 (opinfo.opinfo_path_attr)+1, KM_SLEEP); in vhci_update_pathstates()
3887 (void) strlcpy(tptr, opinfo.opinfo_path_attr, in vhci_update_pathstates()
3888 (strlen(opinfo.opinfo_path_attr)+1)); in vhci_update_pathstates()
[all …]
/titanic_41/usr/src/uts/common/io/
H A Dopenprom.c88 static int opinfo(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg,
122 opinfo, /* info */
189 opinfo(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg, void **result) in opinfo() function
/titanic_41/usr/src/uts/common/sys/scsi/adapters/
H A Dscsi_vhci.h608 struct scsi_path_opinfo *opinfo,
/titanic_41/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaGlobal.h298 typedef struct opinfo { struct