Home
last modified time | relevance | path

Searched refs:fcio (Results 1 – 15 of 15) sorted by relevance

/titanic_41/usr/src/lib/sun_fc/common/
H A DFCHBAPort.cc437 fcio_t fcio; in FCHBAPort() local
478 memset((caddr_t)&fcio, 0, sizeof (fcio)); in FCHBAPort()
479 fcio.fcio_cmd = FCIO_GET_NPIV_PORT_LIST; in FCHBAPort()
480 fcio.fcio_xfer = FCIO_XFER_READ; in FCHBAPort()
486 fcio.fcio_olen = bufSize; in FCHBAPort()
487 fcio.fcio_obuf = (char *)pathList; in FCHBAPort()
488 fp_ioctl(getPath(), FCIO_CMD, &fcio); in FCHBAPort()
510 fcio_t fcio; in deleteNPIVPort() local
514 memset(&fcio, 0, sizeof(fcio)); in deleteNPIVPort()
518 fcio.fcio_cmd = FCIO_DELETE_NPIV_PORT; in deleteNPIVPort()
[all …]
H A DFCHBA.cc69 fcio_t fcio; in FCHBA() local
76 memset(&fcio, 0, sizeof (fcio_t)); in FCHBA()
78 fcio.fcio_cmd = FCIO_GET_OTHER_ADAPTER_PORTS; in FCHBA()
79 fcio.fcio_xfer = FCIO_XFER_RW; in FCHBA()
81 fcio.fcio_olen = MAXPATHLEN; in FCHBA()
82 fcio.fcio_obuf = (char *)nextPath; in FCHBA()
83 fcio.fcio_ilen = sizeof (i); in FCHBA()
84 fcio.fcio_ibuf = (char *)&i; in FCHBA()
108 if (ioctl(fd, FCIO_CMD, &fcio) != 0) { in FCHBA()
171 fcio_t fcio; in getHBAAttributes() local
[all …]
H A DFCHBANPIVPort.cc84 fcio_t fcio; in getPortAttributes() local
87 memset(&fcio, 0, sizeof (fcio)); in getPortAttributes()
89 fcio.fcio_cmd = FCIO_GET_NPIV_ATTRIBUTES; in getPortAttributes()
90 fcio.fcio_olen = sizeof (attrs); in getPortAttributes()
91 fcio.fcio_xfer = FCIO_XFER_READ; in getPortAttributes()
92 fcio.fcio_obuf = (caddr_t)&attrs; in getPortAttributes()
93 fp_ioctl(getPath(), FCIO_CMD, &fcio); in getPortAttributes()
103 void FCHBANPIVPort::fp_ioctl(string path, int cmd, fcio_t *fcio) { in fp_ioctl() argument
111 HBA::_ioctl(fd, cmd, (uchar_t *)fcio); in fp_ioctl()
112 while (fcio->fcio_errno == FC_STATEC_BUSY) { in fp_ioctl()
[all …]
/titanic_41/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcsm.c1435 fcio_t fcio; in fcsm_ioctl() local
1447 fcio.fcio_xfer = fcio32.fcio_xfer; in fcsm_ioctl()
1448 fcio.fcio_cmd = fcio32.fcio_cmd; in fcsm_ioctl()
1449 fcio.fcio_flags = fcio32.fcio_flags; in fcsm_ioctl()
1450 fcio.fcio_cmd_flags = fcio32.fcio_cmd_flags; in fcsm_ioctl()
1451 fcio.fcio_ilen = (size_t)fcio32.fcio_ilen; in fcsm_ioctl()
1452 fcio.fcio_ibuf = (caddr_t)(long)fcio32.fcio_ibuf; in fcsm_ioctl()
1453 fcio.fcio_olen = (size_t)fcio32.fcio_olen; in fcsm_ioctl()
1454 fcio.fcio_obuf = (caddr_t)(long)fcio32.fcio_obuf; in fcsm_ioctl()
1455 fcio.fcio_alen = (size_t)fcio32.fcio_alen; in fcsm_ioctl()
[all …]
/titanic_41/usr/src/lib/storage/libg_fc/common/
H A Dmap.c954 fcio_t fcio; in g_get_host_params() local
976 fcio.fcio_cmd = FCIO_GET_HOST_PARAMS; in g_get_host_params()
977 fcio.fcio_xfer = FCIO_XFER_READ; in g_get_host_params()
978 fcio.fcio_obuf = (caddr_t)host_val; in g_get_host_params()
979 fcio.fcio_olen = sizeof (fc_port_dev_t); in g_get_host_params()
981 if (g_issue_fcio_ioctl(fd, &fcio, verbose) != 0) { in g_get_host_params()
1013 g_issue_fcio_ioctl(int fd, fcio_t *fcio, int verbose) in g_issue_fcio_ioctl() argument
1018 if (ioctl(fd, FCIO_CMD, fcio) != 0) { in g_issue_fcio_ioctl()
1027 strerror(errno), fcio->fcio_errno, in g_issue_fcio_ioctl()
1028 fcio->fcio_errno); in g_issue_fcio_ioctl()
[all …]
H A Dhot.c171 fcio_t fcio; in issue_lip() local
187 fcio.fcio_cmd = FCIO_RESET_LINK; in issue_lip()
188 fcio.fcio_xfer = FCIO_XFER_WRITE; in issue_lip()
196 fcio.fcio_ilen = sizeof (wwn); in issue_lip()
197 fcio.fcio_ibuf = (caddr_t)&wwn; in issue_lip()
198 if (g_issue_fcio_ioctl(fp_fd, &fcio, verbose) != 0) { in issue_lip()
/titanic_41/usr/src/uts/common/io/fibre-channel/impl/
H A Dfp.c766 fcio_t fcio; in fp_ioctl() local
810 fcio.fcio_xfer = fcio32.fcio_xfer; in fp_ioctl()
811 fcio.fcio_cmd = fcio32.fcio_cmd; in fp_ioctl()
812 fcio.fcio_flags = fcio32.fcio_flags; in fp_ioctl()
813 fcio.fcio_cmd_flags = fcio32.fcio_cmd_flags; in fp_ioctl()
814 fcio.fcio_ilen = (size_t)fcio32.fcio_ilen; in fp_ioctl()
815 fcio.fcio_ibuf = in fp_ioctl()
817 fcio.fcio_olen = (size_t)fcio32.fcio_olen; in fp_ioctl()
818 fcio.fcio_obuf = in fp_ioctl()
820 fcio.fcio_alen = (size_t)fcio32.fcio_alen; in fp_ioctl()
[all …]
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_dfc.c156 fcio_t *fcio, int32_t mode);
158 fcio_t *fcio, int32_t mode);
160 fcio_t *fcio, int32_t mode);
162 fcio_t *fcio, int32_t mode);
164 fcio_t *fcio, int32_t mode);
166 fcio_t *fcio, int32_t mode);
168 fcio_t *fcio, int32_t mode);
170 fcio_t *fcio, int32_t mode);
172 fcio_t *fcio, int32_t mode);
174 fcio_t *fcio, int32_t mode);
[all …]
/titanic_41/usr/src/cmd/luxadm/
H A Dx86_adm.c256 fcio_t fcio; in adm_forcelip() local
368 fcio.fcio_cmd = FCIO_RESET_LINK; in adm_forcelip()
369 fcio.fcio_xfer = FCIO_XFER_WRITE; in adm_forcelip()
377 fcio.fcio_ilen = sizeof (wwn); in adm_forcelip()
378 fcio.fcio_ibuf = (caddr_t)&wwn; in adm_forcelip()
382 if (ioctl(fd, FCIO_CMD, &fcio) != 0) { in adm_forcelip()
391 if (fcio.fcio_errno == FC_OFFLINE) in adm_forcelip()
401 strerror(errno), fcio.fcio_errno, in adm_forcelip()
402 fcio.fcio_errno); in adm_forcelip()
H A Dqlgcupdate.c406 fcio_t fcio; in q_findversion() local
468 fcio.fcio_cmd = FCIO_GET_FCODE_REV; in q_findversion()
470 fcio.fcio_xfer = FCIO_XFER_READ; in q_findversion()
471 fcio.fcio_obuf = (caddr_t)version; in q_findversion()
472 fcio.fcio_olen = MAXNAMELEN; in q_findversion()
475 if (ioctl(fd, FCIO_CMD, &fcio) != 0) { in q_findversion()
773 fcio_t fcio; in q_load_file() local
846 fcio.fcio_cmd = FCIO_DOWNLOAD_FCODE; in q_load_file()
848 fcio.fcio_xfer = FCIO_XFER_WRITE; in q_load_file()
849 fcio.fcio_ibuf = (caddr_t)bin; in q_load_file()
[all …]
H A Dfcalupdate.c308 fcio_t fcio; in findversion() local
384 fcio.fcio_cmd = FCIO_GET_FCODE_REV; in findversion()
386 fcio.fcio_xfer = FCIO_XFER_READ; in findversion()
387 fcio.fcio_obuf = (caddr_t)version; in findversion()
388 fcio.fcio_olen = MAXNAMELEN; in findversion()
391 if (ioctl(fd, FCIO_CMD, &fcio) != 0) { in findversion()
409 fcio.fcio_cmd = FCIO_GET_FW_REV; in findversion()
411 fcio.fcio_xfer = FCIO_XFER_READ; in findversion()
412 fcio.fcio_obuf = (caddr_t)fw_rev; in findversion()
413 fcio.fcio_olen = FC_FW_REV_SIZE; in findversion()
[all …]
/titanic_41/usr/src/uts/common/sys/fibre-channel/impl/
H A Dfp.h361 fcio_t *fcio, la_wwn_t *pwwn);
363 fcio_t *fcio);
365 fcio_t *fcio);
373 fcio_t *fcio);
375 static int fp_fcio_copyout(fcio_t *fcio, intptr_t data, int mode);
377 static int fp_fillout_p2pmap(fc_local_port_t *port, fcio_t *fcio, int mode);
379 static int fp_fillout_loopmap(fc_local_port_t *port, fcio_t *fcio, int mode);
456 static int fp_fcio_logout(fc_local_port_t *port, fcio_t *fcio,
458 static int fp_fcio_login(fc_local_port_t *port, fcio_t *fcio,
/titanic_41/usr/src/uts/common/sys/fibre-channel/
H A Dfcio.h156 typedef struct fcio { struct
393 _NOTE(SCHEME_PROTECTS_DATA("unique per request", fcio fc_port_dev))
/titanic_41/usr/src/uts/common/sys/
H A DMakefile974 fcio.h
978 fcio.h \
/titanic_41/usr/src/pkg/manifests/
H A Dsystem-header.mf974 file path=usr/include/sys/fc4/fcio.h