Lines Matching refs:iocb

78 	cmd = &iocbq->iocb;
646 icmd = &iocbq->iocb;
2032 IOCB *iocb;
2053 /* Transfer all iocb's to local queue */
2069 /* Transfer all iocb's to local queue */
2109 /* First cleanup the iocb's while still holding the lock */
2113 iocb = &iocbq->iocb;
2123 iocb->ULPIOTAG, 0);
2150 /* Now abort the iocb's */
2175 /* Free the iocb and its associated buffers */
2177 icmd = &iocbq->iocb;
2252 IOCB *iocb;
2277 /* Transfer all iocb's to local queue */
2297 /* Transfer all iocb's to local queue */
2357 /* First cleanup the iocb's while still holding the lock */
2361 iocb = &iocbq->iocb;
2371 iocb->ULPIOTAG, 0);
2398 /* Now abort the iocb's outside the locks */
2423 /* Free the iocb and its associated buffers */
2426 icmd = &iocbq->iocb;
2544 IOCB *iocb;
2573 iocb = &iocbq->iocb;
2578 /* Remove iocb from the node's ptx queue */
2595 * Add this iocb to our local abort Q
2624 iocb = &iocbq->iocb;
2629 /* Remove iocb from the node's tx queue */
2646 * Add this iocb to our local abort Q
2667 /* First cleanup the iocb's while still holding the lock */
2671 iocb = &iocbq->iocb;
2681 iocb->ULPIOTAG, 0);
2708 /* Now abort the iocb's outside the locks */
2733 /* Free the iocb and its associated buffers */
2736 icmd = &iocbq->iocb;
2894 /* Add the iocb to the bottom of the node's ptx queue */
2909 /* Add the iocb to the bottom of the node's tx queue */
2996 /* Get next iocb from node's priority queue */
3007 /* Remove iocb from head */
3016 /* Get next iocb from node tx queue if node not closed */
3027 /* Remove iocb from head */
3147 IOCB *iocb, *icmd;
3171 /* Scan the ndlp's fchanno txq to get the iocb of fcp cmd */
3177 /* Check if this iocb is fcp cmd */
3178 iocb = &iocbq->iocb;
3180 switch (iocb->ULPCOMMAND) {
3203 /* found a fcp cmd iocb in fchanno txq, now deque it */
3221 /* Add this iocb to our local toberemovedq */
3322 /* Now cleanup the iocb's */
3331 iocb = &iocbq->iocb;
3341 iocb->ULPIOTAG, 0);
3389 /* Free the iocb and its associated buffers */
3391 icmd = &iocbq->iocb;
3502 /* Now put the iocb's on the tx queue */
3538 IOCB *iocb;
3568 iocb = &iocbq->iocb;
3570 iocb->ULPSTATUS = IOSTAT_LOCAL_REJECT;
3571 iocb->un.grsp.perr.statLocalError = IOERR_LINK_DOWN;
3572 iocb->ULPLE = 1;
3609 /* Add this iocb to our local abort Q */
3728 /* Now put the iocb's on the tx queue */
3759 * Issue an ABORT_XRI_CN iocb command to abort an FCP command already issued.
3768 IOCB *iocb;
3810 iocb = &iocbq->iocb;
3811 iocb->ULPIOTAG = abort_iotag;
3812 iocb->un.acxri.abortType = flag;
3813 iocb->un.acxri.abortContextTag = ndlp->nlp_Rpi;
3814 iocb->un.acxri.abortIoTag = iotag;
3815 iocb->ULPLE = 1;
3816 iocb->ULPCLASS = class;
3817 iocb->ULPCOMMAND = CMD_ABORT_XRI_CN;
3818 iocb->ULPOWNER = OWN_CHIP;
3833 IOCB *iocb;
3865 iocb = &iocbq->iocb;
3866 iocb->ULPCONTEXT = xid;
3867 iocb->ULPIOTAG = abort_iotag;
3868 iocb->un.acxri.abortType = flag;
3869 iocb->ULPLE = 1;
3870 iocb->ULPCLASS = class;
3871 iocb->ULPCOMMAND = CMD_ABORT_XRI_CX;
3872 iocb->ULPOWNER = OWN_CHIP;
3888 IOCB *iocb;
3929 iocb = &iocbq->iocb;
3930 iocb->ULPIOTAG = abort_iotag;
3931 iocb->un.acxri.abortType = 0;
3932 iocb->un.acxri.abortContextTag = ndlp->nlp_Rpi;
3933 iocb->un.acxri.abortIoTag = iotag;
3934 iocb->ULPLE = 1;
3935 iocb->ULPCLASS = 0;
3936 iocb->ULPCOMMAND = CMD_CLOSE_XRI_CN;
3937 iocb->ULPOWNER = OWN_CHIP;
3952 IOCB *iocb;
3984 iocb = &iocbq->iocb;
3985 iocb->ULPCONTEXT = xid;
3986 iocb->ULPIOTAG = abort_iotag;
3987 iocb->ULPLE = 1;
3988 iocb->ULPCLASS = 0;
3989 iocb->ULPCOMMAND = CMD_CLOSE_XRI_CX;
3990 iocb->ULPOWNER = OWN_CHIP;
4004 IOCB *iocb;
4037 iocb = &iocbq->iocb;
4040 iocb->ULPIOTAG);
4054 IOCB *iocb;
4088 iocb = &iocbq->iocb;
4091 iocb->ULPIOTAG);
4104 IOCB *iocb;
4137 iocb = &iocbq->iocb;
4140 iocb->ULPIOTAG);
4165 * Add this iocb to our local abort Q