Home
last modified time | relevance | path

Searched refs:fscsi (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/sun_fc/common/
H A DFCHBAPort.cc304 void FCHBAPort::sendSCSIPassThru(struct fcp_scsi_cmd *fscsi, in sendSCSIPassThru() argument
317 if (fscsi == NULL || in sendSCSIPassThru()
324 memcpy(&wwn, fscsi->scsi_fc_pwwn.raw_wwn, sizeof (la_wwn_t)); in sendSCSIPassThru()
326 fscsi->scsi_fc_port_num = instanceNumber; in sendSCSIPassThru()
331 if (ioctl(fd, FCP_TGT_SEND_SCSI, fscsi) != 0) { in sendSCSIPassThru()
339 *scsiStatus = fscsi->scsi_bufstatus & STATUS_MASK; in sendSCSIPassThru()
340 transportError(fscsi->scsi_fc_status, fcioErrorString); in sendSCSIPassThru()
343 if ((fscsi->scsi_bufstatus & STATUS_MASK) == STATUS_CHECK) { in sendSCSIPassThru()
344 *senseSize = fscsi->scsi_rqlen; in sendSCSIPassThru()
346 } else if (fscsi->scsi_fc_status == FC_DEVICE_NOT_TGT) { in sendSCSIPassThru()
[all …]
H A DFCHBAPort.h130 void sendSCSIPassThru(struct fcp_scsi_cmd *fscsi,
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_list.c118 static void init_fcp_scsi_cmd(struct fcp_scsi_cmd *fscsi, uchar_t *lun_num,
122 struct fcp_scsi_cmd *fscsi, int *l_errnop);
842 struct fcp_scsi_cmd *fscsi, in init_fcp_scsi_cmd() argument
852 memset(fscsi, 0, sizeof (struct fcp_scsi_cmd)); in init_fcp_scsi_cmd()
854 memcpy(fscsi->scsi_fc_pwwn.raw_wwn, pwwn, sizeof (u_longlong_t)); in init_fcp_scsi_cmd()
855 fscsi->scsi_fc_rspcode = 0; in init_fcp_scsi_cmd()
856 fscsi->scsi_flags = FCP_SCSI_READ; in init_fcp_scsi_cmd()
857 fscsi->scsi_timeout = FCP_SCSI_CMD_TIMEOUT; /* second */ in init_fcp_scsi_cmd()
858 fscsi->scsi_cdbbufaddr = (caddr_t)scmdbuf; in init_fcp_scsi_cmd()
859 fscsi->scsi_cdblen = scmdbuf_len; in init_fcp_scsi_cmd()
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c410 struct fcp_scsi_cmd *fscsi, int mode);
411 static int fcp_copyout_scsi_cmd(struct fcp_scsi_cmd *fscsi,
413 static int fcp_send_scsi_ioctl(struct fcp_scsi_cmd *fscsi);
2149 fcp_copyin_scsi_cmd(caddr_t base_addr, struct fcp_scsi_cmd *fscsi, int mode) in fcp_copyin_scsi_cmd() argument
2168 FCP32_SCSI_CMD_TO_FCP_SCSI_CMD(&f32scsi, fscsi); in fcp_copyin_scsi_cmd()
2175 fscsi, in fcp_copyin_scsi_cmd()
2187 fscsi, in fcp_copyin_scsi_cmd()
2218 fcp_copyout_scsi_cmd(struct fcp_scsi_cmd *fscsi, caddr_t base_addr, int mode) in fcp_copyout_scsi_cmd() argument
2228 FCP_SCSI_CMD_TO_FCP32_SCSI_CMD(fscsi, &f32scsi); in fcp_copyout_scsi_cmd()
2243 if (ddi_copyout(fscsi, in fcp_copyout_scsi_cmd()
[all …]