Home
last modified time | relevance | path

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

/illumos-gate/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.c380 std_path_get_opinfo(struct scsi_device *sd, struct scsi_path_opinfo *opinfo, in std_path_get_opinfo() argument
385 opinfo->opinfo_rev = OPINFO_REV; in std_path_get_opinfo()
394 opinfo->opinfo_path_state = SCSI_PATH_ACTIVE; in std_path_get_opinfo()
396 opinfo->opinfo_path_state = SCSI_PATH_ACTIVE_NONOPT; in std_path_get_opinfo()
398 opinfo->opinfo_path_state = SCSI_PATH_INACTIVE; in std_path_get_opinfo()
400 opinfo->opinfo_path_state = SCSI_PATH_INACTIVE; in std_path_get_opinfo()
403 (void) strcpy(opinfo->opinfo_path_attr, PCLASS_PRIMARY); in std_path_get_opinfo()
405 (void) strcpy(opinfo->opinfo_path_attr, PCLASS_SECONDARY); in std_path_get_opinfo()
408 "class: %s state: %s\n", opinfo->opinfo_path_attr, in std_path_get_opinfo()
409 opinfo->opinfo_path_state == SCSI_PATH_ACTIVE ? in std_path_get_opinfo()
[all …]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c3803 struct scsi_path_opinfo opinfo; in vhci_update_pathstates() local
3834 if (fo->sfo_path_get_opinfo(psd, &opinfo, in vhci_update_pathstates()
3860 if (strcmp(pclass, opinfo.opinfo_path_attr) != 0) { in vhci_update_pathstates()
3862 opinfo.opinfo_path_attr); in vhci_update_pathstates()
3871 if ((opinfo.opinfo_path_state == SCSI_PATH_ACTIVE || in vhci_update_pathstates()
3872 opinfo.opinfo_path_state == SCSI_PATH_ACTIVE_NONOPT)) { in vhci_update_pathstates()
3890 opinfo.opinfo_preferred); in vhci_update_pathstates()
3892 (opinfo.opinfo_path_attr) + 1, KM_SLEEP); in vhci_update_pathstates()
3893 (void) strlcpy(tptr, opinfo.opinfo_path_attr, in vhci_update_pathstates()
3894 (strlen(opinfo.opinfo_path_attr) + 1)); in vhci_update_pathstates()
[all …]
/illumos-gate/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
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/
H A Dscsi_vhci.h611 struct scsi_path_opinfo *opinfo,
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaGlobal.h298 typedef struct opinfo { struct