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

/illumos-gate/usr/src/lib/sun_fc/common/
H A DFCHBAPort.cc302 void FCHBAPort::sendSCSIPassThru(struct fcp_scsi_cmd *fscsi, argument
316 if (fscsi == NULL ||
323 memcpy(&wwn, fscsi->scsi_fc_pwwn.raw_wwn, sizeof (la_wwn_t));
325 fscsi->scsi_fc_port_num = instanceNumber;
331 if (ioctl(fd, FCP_TGT_SEND_SCSI, fscsi) != 0) {
339 *scsiStatus = fscsi->scsi_bufstatus & STATUS_MASK;
340 transportError(fscsi->scsi_fc_status, fcioErrorString);
343 if ((fscsi->scsi_bufstatus & STATUS_MASK) == STATUS_CHECK) {
344 *senseSize = fscsi->scsi_rqlen;
346 } else if (fscsi
415 scsi_cmd_init(struct fcp_scsi_cmd *fscsi, const char *portname, void *reqbuf, size_t req_len, void *responseBuffer, size_t resp_len, void *senseBuffer, size_t sense_len) argument
992 struct fcp_scsi_cmd fscsi; local
1039 struct fcp_scsi_cmd fscsi; local
1077 struct fcp_scsi_cmd fscsi; local
[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,
852 memset(fscsi, 0, sizeof (struct fcp_scsi_cmd));
854 memcpy(fscsi->scsi_fc_pwwn.raw_wwn, pwwn, sizeof (u_longlong_t));
855 fscsi->scsi_fc_rspcode = 0;
856 fscsi->scsi_flags = FCP_SCSI_READ;
857 fscsi->scsi_timeout = FCP_SCSI_CMD_TIMEOUT; /* second */
858 fscsi->scsi_cdbbufaddr = (caddr_t)scmdbuf;
859 fscsi
841 init_fcp_scsi_cmd( struct fcp_scsi_cmd *fscsi, uchar_t *lun_num, la_wwn_t *pwwn, void *scmdbuf, size_t scmdbuf_len, void *respbuf, size_t respbuf_len, void *sensebuf, size_t sensebuf_len) argument
874 issue_fcp_scsi_cmd( const char *xport_phys, struct fcp_scsi_cmd *fscsi, int *l_errnop) argument
937 struct fcp_scsi_cmd fscsi; local
987 struct fcp_scsi_cmd fscsi; local
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c406 struct fcp_scsi_cmd *fscsi, int mode);
407 static int fcp_copyout_scsi_cmd(struct fcp_scsi_cmd *fscsi,
409 static int fcp_send_scsi_ioctl(struct fcp_scsi_cmd *fscsi);
2135 * fscsi = to address (kernel address space)
2145 fcp_copyin_scsi_cmd(caddr_t base_addr, struct fcp_scsi_cmd *fscsi, int mode) argument
2164 FCP32_SCSI_CMD_TO_FCP_SCSI_CMD(&f32scsi, fscsi);
2171 fscsi,
2183 fscsi,
2200 * fscsi = to address (kernel address space)
2214 fcp_copyout_scsi_cmd(struct fcp_scsi_cmd *fscsi, caddr_ argument
2287 fcp_send_scsi_ioctl(struct fcp_scsi_cmd *fscsi) argument
[all...]

Completed in 83 milliseconds