• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/lpfc/

Lines Matching defs:iotag

566  * iocb object to the iocb pool. The iotag in the iocb object
611 * Clean all volatile data fields, preserve iotag and node struct.
625 * iocb object to the iocb pool. The iotag in the iocb object
635 * Clean all volatile data fields, preserve iotag and node struct.
648 * iocb object to the iocb pool. The iotag in the iocb object
673 * Clean all volatile data fields, preserve iotag and node struct.
982 * lpfc_sli_next_iotag - Get an iotag for the iocb
986 * This function gets an iotag for the iocb. If there is no unused iotag and
988 * array and assigns a new iotag.
989 * The function returns the allocated iotag if successful, else returns zero.
990 * Zero is not a valid iotag.
1000 uint16_t iotag;
1003 iotag = psli->last_iotag;
1004 if(++iotag < psli->iocbq_lookup_len) {
1005 psli->last_iotag = iotag;
1006 psli->iocbq_lookup[iotag] = iocbq;
1008 iocbq->iotag = iotag;
1009 return iotag;
1022 iotag = psli->last_iotag;
1023 if(++iotag < psli->iocbq_lookup_len) {
1024 psli->last_iotag = iotag;
1025 psli->iocbq_lookup[iotag] = iocbq;
1027 iocbq->iotag = iotag;
1028 return iotag;
1039 psli->last_iotag = iotag;
1040 psli->iocbq_lookup[iotag] = iocbq;
1042 iocbq->iotag = iotag;
1044 return iotag;
1075 * Set up an iotag
1077 nextiocb->iocb.ulpIoTag = (nextiocb->iocb_cmpl) ? nextiocb->iotag : 0;
2150 * corresponding to the given response iocb using the iotag of the
2161 uint16_t iotag;
2163 iotag = prspiocb->iocb.ulpIoTag;
2165 if (iotag != 0 && iotag <= phba->sli.last_iotag) {
2166 cmd_iocb = phba->sli.iocbq_lookup[iotag];
2176 "0317 iotag x%x is out off "
2177 "range: max iotag x%x wd0 x%x\n",
2178 iotag, phba->sli.last_iotag,
2184 * lpfc_sli_iocbq_lookup_by_tag - Find command iocb for the iotag
2187 * @iotag: IOCB tag.
2190 * corresponding to the given iotag. This function is called with the
2197 struct lpfc_sli_ring *pring, uint16_t iotag)
2201 if (iotag != 0 && iotag <= phba->sli.last_iotag) {
2202 cmd_iocb = phba->sli.iocbq_lookup[iotag];
2212 "0372 iotag x%x is out off range: max iotag (x%x)\n",
2213 iotag, phba->sli.last_iotag);
2242 /* Based on the iotag field, get the cmd IOCB from the txcmplq */
2346 * Unknown initiating command based on the response iotag.
5961 abort_tag = (uint32_t) iocbq->iotag;
5989 iocbq->iocb.ulpIoTag = iocbq->iotag;
6233 bf_set(lpfc_wqe_gen_request_tag, &wqe->generic, iocbq->iotag);
7158 * so the abort routine puts the iotag of the iocb
7175 * holds the iotag of the IOCB being aborted so
7304 /* issue ABTS for this IOCB based on iotag */
7319 iabt->un.acxri.abortContextTag = cmdiocb->iotag;
7339 "0339 Abort xri x%x, original iotag x%x, "
7340 "abort cmd iotag x%x\n",
7343 abtsiocbp->iotag);
7517 /* issue ABTS for this IOCB based on iotag */
8665 "cmdiocb: iotag (%d)\n",
9224 "cmdiocb: iotag (%d)\n",
9231 "iotag: (%d)\n",
12927 "2822 IOCB failed %s iotag 0x%x "
12930 piocbq->iotag, piocbq->sli4_xritag);