elsiocb           159 drivers/scsi/lpfc/lpfc_els.c 	struct lpfc_iocbq *elsiocb;
elsiocb           169 drivers/scsi/lpfc/lpfc_els.c 	elsiocb = lpfc_sli_get_iocbq(phba);
elsiocb           171 drivers/scsi/lpfc/lpfc_els.c 	if (elsiocb == NULL)
elsiocb           185 drivers/scsi/lpfc/lpfc_els.c 		elsiocb->iocb_flag |=
elsiocb           190 drivers/scsi/lpfc/lpfc_els.c 		elsiocb->iocb_flag |=
elsiocb           195 drivers/scsi/lpfc/lpfc_els.c 		elsiocb->iocb_flag |=
elsiocb           201 drivers/scsi/lpfc/lpfc_els.c 		elsiocb->iocb_flag &= ~LPFC_FIP_ELS_ID_MASK;
elsiocb           203 drivers/scsi/lpfc/lpfc_els.c 	icmd = &elsiocb->iocb;
elsiocb           304 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->context1 = lpfc_nlp_get(ndlp);
elsiocb           305 drivers/scsi/lpfc/lpfc_els.c 	if (!elsiocb->context1)
elsiocb           307 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->context2 = pcmd;
elsiocb           308 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->context3 = pbuflist;
elsiocb           309 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->retry = retry;
elsiocb           310 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->vport = vport;
elsiocb           311 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->drvrTimeout = (phba->fc_ratov << 1) + LPFC_DRVR_TIMEOUT;
elsiocb           322 drivers/scsi/lpfc/lpfc_els.c 				 elscmd, did, elsiocb->iotag,
elsiocb           331 drivers/scsi/lpfc/lpfc_els.c 				 elscmd, ndlp->nlp_DID, elsiocb->iotag,
elsiocb           335 drivers/scsi/lpfc/lpfc_els.c 	return elsiocb;
elsiocb           348 drivers/scsi/lpfc/lpfc_els.c 	lpfc_sli_release_iocbq(phba, elsiocb);
elsiocb          1272 drivers/scsi/lpfc/lpfc_els.c 	struct lpfc_iocbq *elsiocb;
elsiocb          1280 drivers/scsi/lpfc/lpfc_els.c 	elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp,
elsiocb          1283 drivers/scsi/lpfc/lpfc_els.c 	if (!elsiocb)
elsiocb          1286 drivers/scsi/lpfc/lpfc_els.c 	icmd = &elsiocb->iocb;
elsiocb          1287 drivers/scsi/lpfc/lpfc_els.c 	pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt);
elsiocb          1308 drivers/scsi/lpfc/lpfc_els.c 			elsiocb->iocb.ulpCt_h = ((SLI4_CT_FCFI >> 1) & 1);
elsiocb          1309 drivers/scsi/lpfc/lpfc_els.c 			elsiocb->iocb.ulpCt_l = (SLI4_CT_FCFI & 1);
elsiocb          1312 drivers/scsi/lpfc/lpfc_els.c 			elsiocb->iocb.ulpContext = phba->fcf.fcfi;
elsiocb          1341 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->iocb_cmpl = lpfc_cmpl_els_flogi;
elsiocb          1347 drivers/scsi/lpfc/lpfc_els.c 	rc = lpfc_issue_fabric_iocb(phba, elsiocb);
elsiocb          1378 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_free_iocb(phba, elsiocb);
elsiocb          2127 drivers/scsi/lpfc/lpfc_els.c 	struct lpfc_iocbq *elsiocb;
elsiocb          2159 drivers/scsi/lpfc/lpfc_els.c 	elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp, did,
elsiocb          2161 drivers/scsi/lpfc/lpfc_els.c 	if (!elsiocb)
elsiocb          2169 drivers/scsi/lpfc/lpfc_els.c 	pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt);
elsiocb          2208 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->iocb_cmpl = lpfc_cmpl_els_plogi;
elsiocb          2209 drivers/scsi/lpfc/lpfc_els.c 	ret = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0);
elsiocb          2212 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_free_iocb(phba, elsiocb);
elsiocb          2343 drivers/scsi/lpfc/lpfc_els.c 	struct lpfc_iocbq *elsiocb;
elsiocb          2397 drivers/scsi/lpfc/lpfc_els.c 	elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp,
elsiocb          2399 drivers/scsi/lpfc/lpfc_els.c 	if (!elsiocb)
elsiocb          2402 drivers/scsi/lpfc/lpfc_els.c 	pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt);
elsiocb          2434 drivers/scsi/lpfc/lpfc_els.c 		elsiocb->iocb_flag |= LPFC_PRLI_FCP_REQ;
elsiocb          2468 drivers/scsi/lpfc/lpfc_els.c 		elsiocb->iocb_flag |= LPFC_PRLI_NVME_REQ;
elsiocb          2479 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->iocb_cmpl = lpfc_cmpl_els_prli;
elsiocb          2490 drivers/scsi/lpfc/lpfc_els.c 	if (lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0) ==
elsiocb          2495 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_free_iocb(phba, elsiocb);
elsiocb          2746 drivers/scsi/lpfc/lpfc_els.c 	struct lpfc_iocbq *elsiocb;
elsiocb          2751 drivers/scsi/lpfc/lpfc_els.c 	elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp,
elsiocb          2753 drivers/scsi/lpfc/lpfc_els.c 	if (!elsiocb)
elsiocb          2756 drivers/scsi/lpfc/lpfc_els.c 	pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt);
elsiocb          2774 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->iocb_cmpl = lpfc_cmpl_els_adisc;
elsiocb          2778 drivers/scsi/lpfc/lpfc_els.c 	if (lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0) ==
elsiocb          2783 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_free_iocb(phba, elsiocb);
elsiocb          2949 drivers/scsi/lpfc/lpfc_els.c 	struct lpfc_iocbq *elsiocb;
elsiocb          2962 drivers/scsi/lpfc/lpfc_els.c 	elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp,
elsiocb          2964 drivers/scsi/lpfc/lpfc_els.c 	if (!elsiocb)
elsiocb          2967 drivers/scsi/lpfc/lpfc_els.c 	pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt);
elsiocb          2981 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->iocb_cmpl = lpfc_cmpl_els_logo;
elsiocb          2986 drivers/scsi/lpfc/lpfc_els.c 	rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0);
elsiocb          2991 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_free_iocb(phba, elsiocb);
elsiocb          3068 drivers/scsi/lpfc/lpfc_els.c 	struct lpfc_iocbq *elsiocb;
elsiocb          3087 drivers/scsi/lpfc/lpfc_els.c 	elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp,
elsiocb          3090 drivers/scsi/lpfc/lpfc_els.c 	if (!elsiocb) {
elsiocb          3098 drivers/scsi/lpfc/lpfc_els.c 	pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt);
elsiocb          3112 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->iocb_cmpl = lpfc_cmpl_els_cmd;
elsiocb          3113 drivers/scsi/lpfc/lpfc_els.c 	if (lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0) ==
elsiocb          3120 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_free_iocb(phba, elsiocb);
elsiocb          3155 drivers/scsi/lpfc/lpfc_els.c 	struct lpfc_iocbq *elsiocb;
elsiocb          3192 drivers/scsi/lpfc/lpfc_els.c 	elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp,
elsiocb          3195 drivers/scsi/lpfc/lpfc_els.c 	if (!elsiocb) {
elsiocb          3203 drivers/scsi/lpfc/lpfc_els.c 	event = ((struct lpfc_dmabuf *)elsiocb->context2)->virt;
elsiocb          3221 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->iocb_cmpl = lpfc_cmpl_els_cmd;
elsiocb          3222 drivers/scsi/lpfc/lpfc_els.c 	if (lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0) ==
elsiocb          3229 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_free_iocb(phba, elsiocb);
elsiocb          3267 drivers/scsi/lpfc/lpfc_els.c 	struct lpfc_iocbq *elsiocb;
elsiocb          3289 drivers/scsi/lpfc/lpfc_els.c 	elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp,
elsiocb          3291 drivers/scsi/lpfc/lpfc_els.c 	if (!elsiocb) {
elsiocb          3299 drivers/scsi/lpfc/lpfc_els.c 	pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt);
elsiocb          3328 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->iocb_cmpl = lpfc_cmpl_els_cmd;
elsiocb          3329 drivers/scsi/lpfc/lpfc_els.c 	if (lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0) ==
elsiocb          3336 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_free_iocb(phba, elsiocb);
elsiocb          4102 drivers/scsi/lpfc/lpfc_els.c lpfc_els_free_iocb(struct lpfc_hba *phba, struct lpfc_iocbq *elsiocb)
elsiocb          4107 drivers/scsi/lpfc/lpfc_els.c 	ndlp = (struct lpfc_nodelist *)elsiocb->context1;
elsiocb          4124 drivers/scsi/lpfc/lpfc_els.c 		elsiocb->context1 = NULL;
elsiocb          4127 drivers/scsi/lpfc/lpfc_els.c 	if (elsiocb->context2) {
elsiocb          4128 drivers/scsi/lpfc/lpfc_els.c 		if (elsiocb->iocb_flag & LPFC_DELAY_MEM_FREE) {
elsiocb          4133 drivers/scsi/lpfc/lpfc_els.c 			elsiocb->iocb_flag &= ~LPFC_DELAY_MEM_FREE;
elsiocb          4134 drivers/scsi/lpfc/lpfc_els.c 			buf_ptr = elsiocb->context2;
elsiocb          4135 drivers/scsi/lpfc/lpfc_els.c 			elsiocb->context2 = NULL;
elsiocb          4154 drivers/scsi/lpfc/lpfc_els.c 			buf_ptr1 = (struct lpfc_dmabuf *) elsiocb->context2;
elsiocb          4156 drivers/scsi/lpfc/lpfc_els.c 			elsiocb->context2 = NULL;
elsiocb          4160 drivers/scsi/lpfc/lpfc_els.c 	if (elsiocb->context3) {
elsiocb          4161 drivers/scsi/lpfc/lpfc_els.c 		buf_ptr = (struct lpfc_dmabuf *) elsiocb->context3;
elsiocb          4163 drivers/scsi/lpfc/lpfc_els.c 		elsiocb->context3 = NULL;
elsiocb          4165 drivers/scsi/lpfc/lpfc_els.c 	lpfc_sli_release_iocbq(phba, elsiocb);
elsiocb          4501 drivers/scsi/lpfc/lpfc_els.c 	struct lpfc_iocbq *elsiocb;
elsiocb          4513 drivers/scsi/lpfc/lpfc_els.c 		elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry,
elsiocb          4515 drivers/scsi/lpfc/lpfc_els.c 		if (!elsiocb) {
elsiocb          4522 drivers/scsi/lpfc/lpfc_els.c 		icmd = &elsiocb->iocb;
elsiocb          4525 drivers/scsi/lpfc/lpfc_els.c 		pcmd = (((struct lpfc_dmabuf *) elsiocb->context2)->virt);
elsiocb          4536 drivers/scsi/lpfc/lpfc_els.c 		elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry,
elsiocb          4538 drivers/scsi/lpfc/lpfc_els.c 		if (!elsiocb)
elsiocb          4541 drivers/scsi/lpfc/lpfc_els.c 		icmd = &elsiocb->iocb;
elsiocb          4544 drivers/scsi/lpfc/lpfc_els.c 		pcmd = (((struct lpfc_dmabuf *) elsiocb->context2)->virt);
elsiocb          4547 drivers/scsi/lpfc/lpfc_els.c 			elsiocb->context_un.mbox = mbox;
elsiocb          4598 drivers/scsi/lpfc/lpfc_els.c 		elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry,
elsiocb          4600 drivers/scsi/lpfc/lpfc_els.c 		if (!elsiocb)
elsiocb          4603 drivers/scsi/lpfc/lpfc_els.c 		icmd = &elsiocb->iocb;
elsiocb          4606 drivers/scsi/lpfc/lpfc_els.c 		pcmd = (((struct lpfc_dmabuf *) elsiocb->context2)->virt);
elsiocb          4627 drivers/scsi/lpfc/lpfc_els.c 		elsiocb->iocb_cmpl = lpfc_cmpl_els_logo_acc;
elsiocb          4629 drivers/scsi/lpfc/lpfc_els.c 		elsiocb->iocb_cmpl = lpfc_cmpl_els_rsp;
elsiocb          4633 drivers/scsi/lpfc/lpfc_els.c 	rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0);
elsiocb          4635 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_free_iocb(phba, elsiocb);
elsiocb          4671 drivers/scsi/lpfc/lpfc_els.c 	struct lpfc_iocbq *elsiocb;
elsiocb          4677 drivers/scsi/lpfc/lpfc_els.c 	elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry, ndlp,
elsiocb          4679 drivers/scsi/lpfc/lpfc_els.c 	if (!elsiocb)
elsiocb          4682 drivers/scsi/lpfc/lpfc_els.c 	icmd = &elsiocb->iocb;
elsiocb          4686 drivers/scsi/lpfc/lpfc_els.c 	pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt);
elsiocb          4693 drivers/scsi/lpfc/lpfc_els.c 		elsiocb->context_un.mbox = mbox;
elsiocb          4700 drivers/scsi/lpfc/lpfc_els.c 			 rejectError, elsiocb->iotag,
elsiocb          4701 drivers/scsi/lpfc/lpfc_els.c 			 elsiocb->iocb.ulpContext, ndlp->nlp_DID,
elsiocb          4708 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->iocb_cmpl = lpfc_cmpl_els_rsp;
elsiocb          4709 drivers/scsi/lpfc/lpfc_els.c 	rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0);
elsiocb          4712 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_free_iocb(phba, elsiocb);
elsiocb          4744 drivers/scsi/lpfc/lpfc_els.c 	struct lpfc_iocbq *elsiocb;
elsiocb          4750 drivers/scsi/lpfc/lpfc_els.c 	elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry, ndlp,
elsiocb          4752 drivers/scsi/lpfc/lpfc_els.c 	if (!elsiocb)
elsiocb          4755 drivers/scsi/lpfc/lpfc_els.c 	icmd = &elsiocb->iocb;
elsiocb          4764 drivers/scsi/lpfc/lpfc_els.c 			 elsiocb->iotag, elsiocb->iocb.ulpContext,
elsiocb          4767 drivers/scsi/lpfc/lpfc_els.c 	pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt);
elsiocb          4783 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->iocb_cmpl = lpfc_cmpl_els_rsp;
elsiocb          4784 drivers/scsi/lpfc/lpfc_els.c 	rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0);
elsiocb          4786 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_free_iocb(phba, elsiocb);
elsiocb          4795 drivers/scsi/lpfc/lpfc_els.c 			 rc, elsiocb->iotag, elsiocb->sli4_xritag,
elsiocb          4830 drivers/scsi/lpfc/lpfc_els.c 	struct lpfc_iocbq *elsiocb;
elsiocb          4861 drivers/scsi/lpfc/lpfc_els.c 	elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry, ndlp,
elsiocb          4863 drivers/scsi/lpfc/lpfc_els.c 	if (!elsiocb)
elsiocb          4866 drivers/scsi/lpfc/lpfc_els.c 	icmd = &elsiocb->iocb;
elsiocb          4875 drivers/scsi/lpfc/lpfc_els.c 			 elsiocb->iotag, elsiocb->iocb.ulpContext,
elsiocb          4878 drivers/scsi/lpfc/lpfc_els.c 	pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt);
elsiocb          4950 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->iocb_cmpl = lpfc_cmpl_els_rsp;
elsiocb          4952 drivers/scsi/lpfc/lpfc_els.c 	rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0);
elsiocb          4954 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_free_iocb(phba, elsiocb);
elsiocb          4993 drivers/scsi/lpfc/lpfc_els.c 	struct lpfc_iocbq *elsiocb;
elsiocb          5003 drivers/scsi/lpfc/lpfc_els.c 	elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry, ndlp,
elsiocb          5005 drivers/scsi/lpfc/lpfc_els.c 	if (!elsiocb)
elsiocb          5008 drivers/scsi/lpfc/lpfc_els.c 	icmd = &elsiocb->iocb;
elsiocb          5016 drivers/scsi/lpfc/lpfc_els.c 			 elsiocb->iotag, elsiocb->iocb.ulpContext);
elsiocb          5017 drivers/scsi/lpfc/lpfc_els.c 	pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt);
elsiocb          5050 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->iocb_cmpl = lpfc_cmpl_els_rsp;
elsiocb          5052 drivers/scsi/lpfc/lpfc_els.c 	rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0);
elsiocb          5054 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_free_iocb(phba, elsiocb);
elsiocb          5123 drivers/scsi/lpfc/lpfc_els.c 	struct lpfc_iocbq *elsiocb;
elsiocb          5135 drivers/scsi/lpfc/lpfc_els.c 	elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry, ndlp,
elsiocb          5137 drivers/scsi/lpfc/lpfc_els.c 	if (!elsiocb)
elsiocb          5140 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->iocb.ulpContext = oldiocb->iocb.ulpContext;  /* Xri / rx_id */
elsiocb          5141 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->iocb.unsli3.rcvsli3.ox_id = oldiocb->iocb.unsli3.rcvsli3.ox_id;
elsiocb          5146 drivers/scsi/lpfc/lpfc_els.c 			 elsiocb->iotag, elsiocb->iocb.ulpContext);
elsiocb          5147 drivers/scsi/lpfc/lpfc_els.c 	pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt);
elsiocb          5157 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->iocb_cmpl = lpfc_cmpl_els_rsp;
elsiocb          5159 drivers/scsi/lpfc/lpfc_els.c 	rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0);
elsiocb          5161 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_free_iocb(phba, elsiocb);
elsiocb          5707 drivers/scsi/lpfc/lpfc_els.c 	struct lpfc_iocbq *elsiocb;
elsiocb          5723 drivers/scsi/lpfc/lpfc_els.c 	elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize,
elsiocb          5727 drivers/scsi/lpfc/lpfc_els.c 	if (!elsiocb)
elsiocb          5730 drivers/scsi/lpfc/lpfc_els.c 	icmd = &elsiocb->iocb;
elsiocb          5737 drivers/scsi/lpfc/lpfc_els.c 			elsiocb->iotag, elsiocb->iocb.ulpContext,
elsiocb          5741 drivers/scsi/lpfc/lpfc_els.c 		(((struct lpfc_dmabuf *) elsiocb->context2)->virt);
elsiocb          5742 drivers/scsi/lpfc/lpfc_els.c 	pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt);
elsiocb          5790 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->iocb_cmpl = lpfc_cmpl_els_rsp;
elsiocb          5794 drivers/scsi/lpfc/lpfc_els.c 		(((struct lpfc_dmabuf *)(elsiocb->context3))->virt);
elsiocb          5800 drivers/scsi/lpfc/lpfc_els.c 	rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0);
elsiocb          5802 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_free_iocb(phba, elsiocb);
elsiocb          5809 drivers/scsi/lpfc/lpfc_els.c 	elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, lpfc_max_els_tries,
elsiocb          5812 drivers/scsi/lpfc/lpfc_els.c 	if (!elsiocb)
elsiocb          5815 drivers/scsi/lpfc/lpfc_els.c 	icmd = &elsiocb->iocb;
elsiocb          5818 drivers/scsi/lpfc/lpfc_els.c 	pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt);
elsiocb          5825 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->iocb_cmpl = lpfc_cmpl_els_rsp;
elsiocb          5826 drivers/scsi/lpfc/lpfc_els.c 	rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0);
elsiocb          5829 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_free_iocb(phba, elsiocb);
elsiocb          5966 drivers/scsi/lpfc/lpfc_els.c 	struct lpfc_iocbq *elsiocb;
elsiocb          6001 drivers/scsi/lpfc/lpfc_els.c 	elsiocb = lpfc_prep_els_iocb(phba->pport, 0, cmdsize,
elsiocb          6008 drivers/scsi/lpfc/lpfc_els.c 	if (!elsiocb)
elsiocb          6012 drivers/scsi/lpfc/lpfc_els.c 		(((struct lpfc_dmabuf *)elsiocb->context2)->virt);
elsiocb          6015 drivers/scsi/lpfc/lpfc_els.c 	icmd = &elsiocb->iocb;
elsiocb          6019 drivers/scsi/lpfc/lpfc_els.c 	pcmd = (uint8_t *)(((struct lpfc_dmabuf *)elsiocb->context2)->virt);
elsiocb          6026 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->iocb_cmpl = lpfc_cmpl_els_rsp;
elsiocb          6028 drivers/scsi/lpfc/lpfc_els.c 	rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0);
elsiocb          6030 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_free_iocb(phba, elsiocb);
elsiocb          6037 drivers/scsi/lpfc/lpfc_els.c 	elsiocb = lpfc_prep_els_iocb(phba->pport, 0, cmdsize,
elsiocb          6041 drivers/scsi/lpfc/lpfc_els.c 	if (!elsiocb)
elsiocb          6044 drivers/scsi/lpfc/lpfc_els.c 	icmd = &elsiocb->iocb;
elsiocb          6047 drivers/scsi/lpfc/lpfc_els.c 	pcmd = (uint8_t *)(((struct lpfc_dmabuf *)elsiocb->context2)->virt);
elsiocb          6056 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->iocb_cmpl = lpfc_cmpl_els_rsp;
elsiocb          6058 drivers/scsi/lpfc/lpfc_els.c 	rc = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0);
elsiocb          6060 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_free_iocb(phba, elsiocb);
elsiocb          7065 drivers/scsi/lpfc/lpfc_els.c 	struct lpfc_iocbq *elsiocb;
elsiocb          7085 drivers/scsi/lpfc/lpfc_els.c 	elsiocb = lpfc_prep_els_iocb(phba->pport, 0, cmdsize,
elsiocb          7092 drivers/scsi/lpfc/lpfc_els.c 	if (!elsiocb) {
elsiocb          7097 drivers/scsi/lpfc/lpfc_els.c 	icmd = &elsiocb->iocb;
elsiocb          7101 drivers/scsi/lpfc/lpfc_els.c 	pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt);
elsiocb          7117 drivers/scsi/lpfc/lpfc_els.c 			 elsiocb->iotag, elsiocb->iocb.ulpContext,
elsiocb          7120 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->iocb_cmpl = lpfc_cmpl_els_rsp;
elsiocb          7122 drivers/scsi/lpfc/lpfc_els.c 	if (lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0) == IOCB_ERROR)
elsiocb          7123 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_free_iocb(phba, elsiocb);
elsiocb          7152 drivers/scsi/lpfc/lpfc_els.c 	struct lpfc_iocbq *elsiocb;
elsiocb          7174 drivers/scsi/lpfc/lpfc_els.c 	elsiocb = lpfc_prep_els_iocb(phba->pport, 0, cmdsize,
elsiocb          7181 drivers/scsi/lpfc/lpfc_els.c 	if (!elsiocb)
elsiocb          7184 drivers/scsi/lpfc/lpfc_els.c 	icmd = &elsiocb->iocb;
elsiocb          7188 drivers/scsi/lpfc/lpfc_els.c 	pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt);
elsiocb          7212 drivers/scsi/lpfc/lpfc_els.c 			 elsiocb->iotag, elsiocb->iocb.ulpContext,
elsiocb          7215 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->iocb_cmpl = lpfc_cmpl_els_rsp;
elsiocb          7217 drivers/scsi/lpfc/lpfc_els.c 	if (lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0) == IOCB_ERROR)
elsiocb          7218 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_free_iocb(phba, elsiocb);
elsiocb          7311 drivers/scsi/lpfc/lpfc_els.c 	struct lpfc_iocbq *elsiocb;
elsiocb          7321 drivers/scsi/lpfc/lpfc_els.c 	elsiocb = lpfc_prep_els_iocb(phba->pport, 0, cmdsize,
elsiocb          7325 drivers/scsi/lpfc/lpfc_els.c 	if (!elsiocb)
elsiocb          7328 drivers/scsi/lpfc/lpfc_els.c 	pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt);
elsiocb          7333 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->iocb.ulpContext = cmdiocb->iocb.ulpContext;  /* Xri / rx_id */
elsiocb          7334 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->iocb.unsli3.rcvsli3.ox_id = cmdiocb->iocb.unsli3.rcvsli3.ox_id;
elsiocb          7350 drivers/scsi/lpfc/lpfc_els.c 			 elsiocb->iotag, elsiocb->iocb.ulpContext,
elsiocb          7354 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->iocb_cmpl = lpfc_cmpl_els_rsp;
elsiocb          7356 drivers/scsi/lpfc/lpfc_els.c 	if (lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0) == IOCB_ERROR)
elsiocb          7357 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_free_iocb(phba, elsiocb);
elsiocb          7466 drivers/scsi/lpfc/lpfc_els.c 	struct lpfc_iocbq *elsiocb;
elsiocb          7479 drivers/scsi/lpfc/lpfc_els.c 	elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, 0, ndlp, did,
elsiocb          7481 drivers/scsi/lpfc/lpfc_els.c 	if (!elsiocb)
elsiocb          7484 drivers/scsi/lpfc/lpfc_els.c 	pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt);
elsiocb          7501 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->context_un.rrq = rrq;
elsiocb          7502 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->iocb_cmpl = lpfc_cmpl_els_rrq;
elsiocb          7503 drivers/scsi/lpfc/lpfc_els.c 	ret = lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0);
elsiocb          7506 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_free_iocb(phba, elsiocb);
elsiocb          7565 drivers/scsi/lpfc/lpfc_els.c 	struct lpfc_iocbq *elsiocb;
elsiocb          7568 drivers/scsi/lpfc/lpfc_els.c 	elsiocb = lpfc_prep_els_iocb(vport, 0, cmdsize, oldiocb->retry, ndlp,
elsiocb          7571 drivers/scsi/lpfc/lpfc_els.c 	if (!elsiocb)
elsiocb          7574 drivers/scsi/lpfc/lpfc_els.c 	icmd = &elsiocb->iocb;
elsiocb          7579 drivers/scsi/lpfc/lpfc_els.c 	pcmd = (((struct lpfc_dmabuf *) elsiocb->context2)->virt);
elsiocb          7598 drivers/scsi/lpfc/lpfc_els.c 			 elsiocb->iotag, elsiocb->iocb.ulpContext,
elsiocb          7601 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->iocb_cmpl = lpfc_cmpl_els_rsp;
elsiocb          7603 drivers/scsi/lpfc/lpfc_els.c 	if (lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0) ==
elsiocb          7605 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_free_iocb(phba, elsiocb);
elsiocb          8318 drivers/scsi/lpfc/lpfc_els.c 		      struct lpfc_vport *vport, struct lpfc_iocbq *elsiocb)
elsiocb          8326 drivers/scsi/lpfc/lpfc_els.c 	IOCB_t *icmd = &elsiocb->iocb;
elsiocb          8329 drivers/scsi/lpfc/lpfc_els.c 	if (!vport || !(elsiocb->context2))
elsiocb          8333 drivers/scsi/lpfc/lpfc_els.c 	payload = ((struct lpfc_dmabuf *)elsiocb->context2)->virt;
elsiocb          8401 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->context1 = lpfc_nlp_get(ndlp);
elsiocb          8402 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->vport = vport;
elsiocb          8438 drivers/scsi/lpfc/lpfc_els.c 			vport->fc_myDID = elsiocb->iocb.un.rcvels.parmRo;
elsiocb          8467 drivers/scsi/lpfc/lpfc_els.c 		lpfc_disc_state_machine(vport, ndlp, elsiocb,
elsiocb          8490 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_rcv_flogi(vport, elsiocb, ndlp);
elsiocb          8506 drivers/scsi/lpfc/lpfc_els.c 		lpfc_disc_state_machine(vport, ndlp, elsiocb, NLP_EVT_RCV_LOGO);
elsiocb          8520 drivers/scsi/lpfc/lpfc_els.c 		lpfc_disc_state_machine(vport, ndlp, elsiocb, NLP_EVT_RCV_PRLO);
elsiocb          8524 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_rcv_lcb(vport, elsiocb, ndlp);
elsiocb          8528 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_rcv_rdp(vport, elsiocb, ndlp);
elsiocb          8532 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_rcv_rscn(vport, elsiocb, ndlp);
elsiocb          8548 drivers/scsi/lpfc/lpfc_els.c 		lpfc_disc_state_machine(vport, ndlp, elsiocb,
elsiocb          8562 drivers/scsi/lpfc/lpfc_els.c 		lpfc_disc_state_machine(vport, ndlp, elsiocb,
elsiocb          8571 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_rcv_farpr(vport, elsiocb, ndlp);
elsiocb          8579 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_rcv_farp(vport, elsiocb, ndlp);
elsiocb          8587 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_rcv_fan(vport, elsiocb, ndlp);
elsiocb          8602 drivers/scsi/lpfc/lpfc_els.c 		lpfc_disc_state_machine(vport, ndlp, elsiocb, NLP_EVT_RCV_PRLI);
elsiocb          8610 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_rcv_lirr(vport, elsiocb, ndlp);
elsiocb          8620 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_rcv_rls(vport, elsiocb, ndlp);
elsiocb          8630 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_rcv_rps(vport, elsiocb, ndlp);
elsiocb          8640 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_rcv_rpl(vport, elsiocb, ndlp);
elsiocb          8650 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_rcv_rnid(vport, elsiocb, ndlp);
elsiocb          8659 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_rcv_rtv(vport, elsiocb, ndlp);
elsiocb          8669 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_rcv_rrq(vport, elsiocb, ndlp);
elsiocb          8679 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_rcv_echo(vport, elsiocb, ndlp);
elsiocb          8693 drivers/scsi/lpfc/lpfc_els.c 		fc_host_fpin_rcv(shost, elsiocb->iocb.unsli3.rcvsli3.acc_len,
elsiocb          8720 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_rsp_reject(vport, stat.un.lsRjtError, elsiocb, ndlp,
elsiocb          8724 drivers/scsi/lpfc/lpfc_els.c 	lpfc_nlp_put(elsiocb->context1);
elsiocb          8725 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->context1 = NULL;
elsiocb          8772 drivers/scsi/lpfc/lpfc_els.c 		     struct lpfc_iocbq *elsiocb)
elsiocb          8775 drivers/scsi/lpfc/lpfc_els.c 	IOCB_t *icmd = &elsiocb->iocb;
elsiocb          8777 drivers/scsi/lpfc/lpfc_els.c 	struct lpfc_dmabuf *bdeBuf1 = elsiocb->context2;
elsiocb          8778 drivers/scsi/lpfc/lpfc_els.c 	struct lpfc_dmabuf *bdeBuf2 = elsiocb->context3;
elsiocb          8780 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->context1 = NULL;
elsiocb          8781 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->context2 = NULL;
elsiocb          8782 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->context3 = NULL;
elsiocb          8816 drivers/scsi/lpfc/lpfc_els.c 		elsiocb->context2 = bdeBuf1;
elsiocb          8820 drivers/scsi/lpfc/lpfc_els.c 		elsiocb->context2 = lpfc_sli_ringpostbuf_get(phba, pring,
elsiocb          8824 drivers/scsi/lpfc/lpfc_els.c 	lpfc_els_unsol_buffer(phba, pring, vport, elsiocb);
elsiocb          8829 drivers/scsi/lpfc/lpfc_els.c 	if (elsiocb->context2) {
elsiocb          8830 drivers/scsi/lpfc/lpfc_els.c 		lpfc_in_buf_free(phba, (struct lpfc_dmabuf *)elsiocb->context2);
elsiocb          8831 drivers/scsi/lpfc/lpfc_els.c 		elsiocb->context2 = NULL;
elsiocb          8837 drivers/scsi/lpfc/lpfc_els.c 		elsiocb->context2 = bdeBuf2;
elsiocb          8838 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_unsol_buffer(phba, pring, vport, elsiocb);
elsiocb          8840 drivers/scsi/lpfc/lpfc_els.c 		if (elsiocb->context2) {
elsiocb          8841 drivers/scsi/lpfc/lpfc_els.c 			lpfc_in_buf_free(phba, elsiocb->context2);
elsiocb          8842 drivers/scsi/lpfc/lpfc_els.c 			elsiocb->context2 = NULL;
elsiocb          9373 drivers/scsi/lpfc/lpfc_els.c 	struct lpfc_iocbq *elsiocb;
elsiocb          9383 drivers/scsi/lpfc/lpfc_els.c 	elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, retry, ndlp, did,
elsiocb          9385 drivers/scsi/lpfc/lpfc_els.c 	if (!elsiocb) {
elsiocb          9392 drivers/scsi/lpfc/lpfc_els.c 	icmd = &elsiocb->iocb;
elsiocb          9405 drivers/scsi/lpfc/lpfc_els.c 	pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt);
elsiocb          9431 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->iocb_cmpl = lpfc_cmpl_els_fdisc;
elsiocb          9437 drivers/scsi/lpfc/lpfc_els.c 	rc = lpfc_issue_fabric_iocb(phba, elsiocb);
elsiocb          9439 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_free_iocb(phba, elsiocb);
elsiocb          9521 drivers/scsi/lpfc/lpfc_els.c 	struct lpfc_iocbq *elsiocb;
elsiocb          9526 drivers/scsi/lpfc/lpfc_els.c 	elsiocb = lpfc_prep_els_iocb(vport, 1, cmdsize, 0, ndlp, ndlp->nlp_DID,
elsiocb          9528 drivers/scsi/lpfc/lpfc_els.c 	if (!elsiocb)
elsiocb          9531 drivers/scsi/lpfc/lpfc_els.c 	pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt);
elsiocb          9544 drivers/scsi/lpfc/lpfc_els.c 	elsiocb->iocb_cmpl = lpfc_cmpl_els_npiv_logo;
elsiocb          9548 drivers/scsi/lpfc/lpfc_els.c 	if (lpfc_sli_issue_iocb(phba, LPFC_ELS_RING, elsiocb, 0) ==
elsiocb          9553 drivers/scsi/lpfc/lpfc_els.c 		lpfc_els_free_iocb(phba, elsiocb);
elsiocb           537 drivers/scsi/lpfc/lpfc_nportdisc.c 	struct lpfc_iocbq *elsiocb;
elsiocb           541 drivers/scsi/lpfc/lpfc_nportdisc.c 	elsiocb = (struct lpfc_iocbq *)mboxq->ctx_buf;
elsiocb           544 drivers/scsi/lpfc/lpfc_nportdisc.c 	cmd = elsiocb->drvrTimeout;
elsiocb           547 drivers/scsi/lpfc/lpfc_nportdisc.c 		lpfc_els_rsp_adisc_acc(vport, elsiocb, ndlp);
elsiocb           549 drivers/scsi/lpfc/lpfc_nportdisc.c 		lpfc_els_rsp_acc(vport, ELS_CMD_PLOGI, elsiocb,
elsiocb           552 drivers/scsi/lpfc/lpfc_nportdisc.c 	kfree(elsiocb);
elsiocb           561 drivers/scsi/lpfc/lpfc_nportdisc.c 	struct lpfc_iocbq  *elsiocb;
elsiocb           594 drivers/scsi/lpfc/lpfc_nportdisc.c 			elsiocb = kmalloc(sizeof(struct lpfc_iocbq),
elsiocb           596 drivers/scsi/lpfc/lpfc_nportdisc.c 			if (elsiocb) {
elsiocb           599 drivers/scsi/lpfc/lpfc_nportdisc.c 				memcpy((uint8_t *)elsiocb, (uint8_t *)cmdiocb,
elsiocb           603 drivers/scsi/lpfc/lpfc_nportdisc.c 				elsiocb->drvrTimeout = cmd;
elsiocb           606 drivers/scsi/lpfc/lpfc_nportdisc.c 					lpfc_mbx_cmpl_resume_rpi, elsiocb);