Lines Matching refs:xri

977  * @xritag: xri used in this exchange.
1059 * @xri: The xri used in the exchange.
1063 * rrq = rrq for this xri and target.
1066 lpfc_get_active_rrq(struct lpfc_vport *vport, uint16_t xri, uint32_t did)
1077 if (rrq->vport == vport && rrq->xritag == xri &&
1133 * @xritag: the xri in the bitmap to test.
1136 * 0 = rrq not active for this xri
1137 * 1 = rrq is valid for this xri.
1157 * @xritag: xri used in this exchange.
1165 * returns 0 rrq actived for this xri
1201 "3155 Unable to allocate RRQ xri:0x%x rxid:0x%x"
1227 "2921 Can't set rrq active xri:0x%x rxid:0x%x"
1281 /* This xri has an rrq outstanding for this DID.
1282 * put it back in the list and get another xri.
3233 lpfc_nvmeio_data(phba, "NVME LS RCV: xri x%x sz %d from %06x\n",
3809 * exchange busy so sgl (xri)
3811 * the abort xri is received
3842 * sgl (xri) process.
6327 * @type: the extent type (rpi, xri, vfi, vpi).
7295 "xri:%d\n", count);
7568 * buffer sgl with non-contiguous xri, if any, it shall use embedded SGL post
7602 /* a hole in xri block, form a sgl posting block */
7678 /* don't reset xirtag due to hole in xri block */
8736 * Allocate all resources (xri,rpi,vpi,vfi) now. Subsequent
8815 /* update host els xri-sgl sizes and mappings */
8819 "1400 Failed to update xri-sgl size and "
8837 /* update host nvmet xri-sgl sizes and mappings */
8866 /* update host common xri-sgl sizes and mappings */
11465 "vpi %d rpi %d xri x%x status 0x%x parameter x%x\n",
12303 "with io cmd xri %x abort tag : x%x, "
14124 * lpfc_sli4_els_xri_abort_event_proc - Process els xri abort event
14128 * SLI4 els abort xri events.
14135 /* First, declare the els xri abort event has been handled */
14140 /* Now, handle all the els xri abort events */
14540 * lpfc_sli4_sp_handle_abort_xri_wcqe - Handle a xri abort event
14580 /* Set the els xri abort event flag */
17996 unsigned long xri;
17999 * Fetch the next logical xri. Because this index is logical,
18003 xri = find_first_zero_bit(phba->sli4_hba.xri_bmask,
18005 if (xri >= phba->sli4_hba.max_cfg_param.max_xri) {
18009 set_bit(xri, phba->sli4_hba.xri_bmask);
18013 return xri;
18017 * __lpfc_sli4_free_xri - Release an xri for reuse.
18019 * @xri: xri to release.
18021 * This routine is invoked to release an xri to the pool of
18025 __lpfc_sli4_free_xri(struct lpfc_hba *phba, int xri)
18027 if (test_and_clear_bit(xri, phba->sli4_hba.xri_bmask)) {
18033 * lpfc_sli4_free_xri - Release an xri for reuse.
18035 * @xri: xri to release.
18037 * This routine is invoked to release an xri to the pool of
18041 lpfc_sli4_free_xri(struct lpfc_hba *phba, int xri)
18044 __lpfc_sli4_free_xri(phba, xri);
18304 * For single NVME buffer sgl with non-contiguous xri, if any, it shall use
18334 /* a hole in xri block, form a sgl posting block */
18360 /* last single sgl with non-contiguous xri */
18395 /* don't reset xirtag due to hole in xri block */
18875 * lpfc_sli4_xri_inrange - check xri is in range of xris owned by driver.
18877 * @xri: xri id in transaction.
18879 * This function validates the xri maps to the known range of XRIs allocated an
18884 uint16_t xri)
18889 if (xri == phba->sli4_hba.xri_ids[i])
18911 uint16_t oxid, rxid, xri, lxri;
18962 xri = oxid;
18964 xri = rxid;
18965 lxri = lpfc_sli4_xri_inrange(phba, xri);
18968 (xri == oxid) ? rxid : oxid, 0);
18969 /* For BA_ABTS from exchange responder, if the logical xri with
19032 "xri x%x, Data x%x\n",
21167 "xri 0x%x %d flg x%x\n",
21481 "0359 Abort xri x%x, original iotag x%x, "
21777 /* Check if the public free xri pool is available */
21869 * just _after_ xri pools are destroyed in lpfc_offline.
21892 /* XRI goes to either public or private free xri pool
22007 * 1. If private free xri count is empty, move some XRIs from public to
22009 * 2. Get one XRI from private free xri pool.
22011 * get one free xri from expedite pool.
22058 /* Get one XRI from private free xri pool */
22066 * request, get one free xri from expedite pool.