Lines Matching defs:fcoeio

43 #include <fcoeio.h>
484 fcoeio_t fcoeio;
553 (void) memset(&fcoeio, 0, sizeof (fcoeio));
554 fcoeio.fcoeio_cmd = FCOEIO_CREATE_FCOE_PORT;
556 fcoeio.fcoeio_ilen = sizeof (param);
557 fcoeio.fcoeio_xfer = FCOEIO_XFER_WRITE;
558 fcoeio.fcoeio_ibuf = (uintptr_t)&param;
560 if (ioctl(fcoe_fd, FCOEIO_CMD, &fcoeio) != 0) {
561 switch (fcoeio.fcoeio_status) {
625 fcoeio_t fcoeio;
656 (void) memset(&fcoeio, 0, sizeof (fcoeio));
657 fcoeio.fcoeio_cmd = FCOEIO_DELETE_FCOE_PORT;
660 fcoeio.fcoeio_ilen = sizeof (fcoeio_delete_port_param_t);
661 fcoeio.fcoeio_olen = sizeof (uint64_t);
662 fcoeio.fcoeio_xfer = FCOEIO_XFER_RW;
663 fcoeio.fcoeio_ibuf = (uintptr_t)&fc_del_port;
664 fcoeio.fcoeio_obuf = (uintptr_t)&is_target;
666 io_ret = ioctl(fcoe_fd, FCOEIO_CMD, &fcoeio);
668 switch (fcoeio.fcoeio_status) {
727 fcoeio_t fcoeio;
747 (void) memset(&fcoeio, 0, sizeof (fcoeio));
754 fcoeio.fcoeio_cmd = FCOEIO_GET_FCOE_PORT_LIST;
755 fcoeio.fcoeio_olen = bufsize;
756 fcoeio.fcoeio_xfer = FCOEIO_XFER_READ;
757 fcoeio.fcoeio_obuf = (uintptr_t)inportlist;
759 if (ioctl(fcoe_fd, FCOEIO_CMD, &fcoeio) != 0) {
760 if (fcoeio.fcoeio_status == FCOEIOE_MORE_DATA) {
764 switch (fcoeio.fcoeio_status) {
998 fcoeio_t fcoeio;
1033 (void) memset(&fcoeio, 0, sizeof (fcoeio));
1034 fcoeio.fcoeio_cmd = FCOEIO_SETPROP_FCOE_PORT;
1035 fcoeio.fcoeio_ilen = sizeof (fcoeio_setprop_port_t);
1036 fcoeio.fcoeio_xfer = FCOEIO_XFER_WRITE;
1037 fcoeio.fcoeio_ibuf = (uintptr_t)&fsp;
1039 io_ret = ioctl(fcoe_fd, FCOEIO_CMD, &fcoeio);
1041 switch (fcoeio.fcoeio_status) {