Lines Matching refs:fcoeio
483 fcoeio_t fcoeio; in FCOE_CreatePort() local
549 (void) memset(&fcoeio, 0, sizeof (fcoeio)); in FCOE_CreatePort()
550 fcoeio.fcoeio_cmd = FCOEIO_CREATE_FCOE_PORT; in FCOE_CreatePort()
552 fcoeio.fcoeio_ilen = sizeof (param); in FCOE_CreatePort()
553 fcoeio.fcoeio_xfer = FCOEIO_XFER_WRITE; in FCOE_CreatePort()
554 fcoeio.fcoeio_ibuf = (uintptr_t)¶m; in FCOE_CreatePort()
556 if (ioctl(fcoe_fd, FCOEIO_CMD, &fcoeio) != 0) { in FCOE_CreatePort()
557 switch (fcoeio.fcoeio_status) { in FCOE_CreatePort()
620 fcoeio_t fcoeio; in FCOE_DeletePort() local
651 (void) memset(&fcoeio, 0, sizeof (fcoeio)); in FCOE_DeletePort()
652 fcoeio.fcoeio_cmd = FCOEIO_DELETE_FCOE_PORT; in FCOE_DeletePort()
655 fcoeio.fcoeio_ilen = sizeof (fcoeio_delete_port_param_t); in FCOE_DeletePort()
656 fcoeio.fcoeio_olen = sizeof (uint64_t); in FCOE_DeletePort()
657 fcoeio.fcoeio_xfer = FCOEIO_XFER_RW; in FCOE_DeletePort()
658 fcoeio.fcoeio_ibuf = (uintptr_t)&fc_del_port; in FCOE_DeletePort()
659 fcoeio.fcoeio_obuf = (uintptr_t)&is_target; in FCOE_DeletePort()
661 io_ret = ioctl(fcoe_fd, FCOEIO_CMD, &fcoeio); in FCOE_DeletePort()
663 switch (fcoeio.fcoeio_status) { in FCOE_DeletePort()
722 fcoeio_t fcoeio; in FCOE_GetPortList() local
742 (void) memset(&fcoeio, 0, sizeof (fcoeio)); in FCOE_GetPortList()
749 fcoeio.fcoeio_cmd = FCOEIO_GET_FCOE_PORT_LIST; in FCOE_GetPortList()
750 fcoeio.fcoeio_olen = bufsize; in FCOE_GetPortList()
751 fcoeio.fcoeio_xfer = FCOEIO_XFER_READ; in FCOE_GetPortList()
752 fcoeio.fcoeio_obuf = (uintptr_t)inportlist; in FCOE_GetPortList()
754 if (ioctl(fcoe_fd, FCOEIO_CMD, &fcoeio) != 0) { in FCOE_GetPortList()
755 if (fcoeio.fcoeio_status == FCOEIOE_MORE_DATA) { in FCOE_GetPortList()
759 switch (fcoeio.fcoeio_status) { in FCOE_GetPortList()