Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/io/fcoe/
H A Dfcoe.c111 static int fcoe_copyin_iocdata(intptr_t data, int mode, fcoeio_t **fcoeio,
113 static int fcoe_copyout_iocdata(intptr_t data, int mode, fcoeio_t *fcoeio,
562 fcoe_copyin_iocdata(intptr_t data, int mode, fcoeio_t **fcoeio, in fcoe_copyin_iocdata() argument
570 *fcoeio = kmem_zalloc(sizeof (fcoeio_t), KM_SLEEP); in fcoe_copyin_iocdata()
571 if (ddi_copyin((void *)data, *fcoeio, sizeof (fcoeio_t), mode) != 0) { in fcoe_copyin_iocdata()
576 if ((*fcoeio)->fcoeio_ilen > FCOEIO_MAX_BUF_LEN || in fcoe_copyin_iocdata()
577 (*fcoeio)->fcoeio_alen > FCOEIO_MAX_BUF_LEN || in fcoe_copyin_iocdata()
578 (*fcoeio)->fcoeio_olen > FCOEIO_MAX_BUF_LEN) { in fcoe_copyin_iocdata()
583 if ((*fcoeio)->fcoeio_ilen) { in fcoe_copyin_iocdata()
584 *ibuf = kmem_zalloc((*fcoeio)->fcoeio_ilen, KM_SLEEP); in fcoe_copyin_iocdata()
[all …]
H A Dfcoe_fc.c463 fcoe_delete_port(dev_info_t *parent, fcoeio_t *fcoeio, datalink_id_t linkid, in fcoe_delete_port() argument
471 fcoeio->fcoeio_status = FCOEIOE_MAC_NOT_FOUND; in fcoe_delete_port()
477 fcoeio->fcoeio_status = FCOEIOE_ALREADY; in fcoe_delete_port()
499 fcoeio->fcoeio_status = FCOEIOE_OFFLINE_FAILURE; in fcoe_delete_port()
/titanic_44/usr/src/lib/libfcoe/common/
H A Dlibfcoe.c482 fcoeio_t fcoeio; in FCOE_CreatePort() local
548 (void) memset(&fcoeio, 0, sizeof (fcoeio)); in FCOE_CreatePort()
549 fcoeio.fcoeio_cmd = FCOEIO_CREATE_FCOE_PORT; in FCOE_CreatePort()
551 fcoeio.fcoeio_ilen = sizeof (param); in FCOE_CreatePort()
552 fcoeio.fcoeio_xfer = FCOEIO_XFER_WRITE; in FCOE_CreatePort()
553 fcoeio.fcoeio_ibuf = (uintptr_t)&param; in FCOE_CreatePort()
555 if (ioctl(fcoe_fd, FCOEIO_CMD, &fcoeio) != 0) { in FCOE_CreatePort()
556 switch (fcoeio.fcoeio_status) { in FCOE_CreatePort()
619 fcoeio_t fcoeio; in FCOE_DeletePort() local
650 (void) memset(&fcoeio, 0, sizeof (fcoeio)); in FCOE_DeletePort()
[all …]
/titanic_44/usr/src/uts/common/sys/fcoe/
H A Dfcoeio.h82 typedef struct fcoeio { struct