Home
last modified time | relevance | path

Searched refs:iocbp (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/arch/um/os-Linux/
Daio.c71 struct iocb *iocbp = & ((struct iocb) { in do_aio() local
82 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()
/linux-2.6.39/drivers/scsi/lpfc/
Dlpfc_hw.h3795 lpfc_error_lost_link(IOCB_t *iocbp) in lpfc_error_lost_link() argument
3797 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()