Searched refs:iocbp (Results 1 – 2 of 2) sorted by relevance
71 struct iocb *iocbp = & ((struct iocb) { in do_aio() local82 iocbp->aio_lio_opcode = IOCB_CMD_PREAD; in do_aio()85 iocbp->aio_lio_opcode = IOCB_CMD_PWRITE; in do_aio()88 iocbp->aio_lio_opcode = IOCB_CMD_PREAD; in do_aio()89 iocbp->aio_buf = (unsigned long) &c; in do_aio()90 iocbp->aio_nbytes = sizeof(c); in do_aio()97 return (io_submit(ctx, 1, &iocbp) > 0) ? 0 : -errno; in do_aio()
3795 lpfc_error_lost_link(IOCB_t *iocbp) in lpfc_error_lost_link() argument3797 return (iocbp->ulpStatus == IOSTAT_LOCAL_REJECT && in lpfc_error_lost_link()3798 (iocbp->un.ulpWord[4] == IOERR_SLI_ABORTED || in lpfc_error_lost_link()3799 iocbp->un.ulpWord[4] == IOERR_LINK_DOWN || in lpfc_error_lost_link()3800 iocbp->un.ulpWord[4] == IOERR_SLI_DOWN)); in lpfc_error_lost_link()