sglq_entry       9917 drivers/scsi/lpfc/lpfc_els.c 	struct lpfc_sglq *sglq_entry = NULL, *sglq_next = NULL;
sglq_entry       9922 drivers/scsi/lpfc/lpfc_els.c 	list_for_each_entry_safe(sglq_entry, sglq_next,
sglq_entry       9924 drivers/scsi/lpfc/lpfc_els.c 		if (sglq_entry->ndlp && sglq_entry->ndlp->vport == vport)
sglq_entry       9925 drivers/scsi/lpfc/lpfc_els.c 			sglq_entry->ndlp = NULL;
sglq_entry       9948 drivers/scsi/lpfc/lpfc_els.c 	struct lpfc_sglq *sglq_entry = NULL, *sglq_next = NULL;
sglq_entry       9957 drivers/scsi/lpfc/lpfc_els.c 	list_for_each_entry_safe(sglq_entry, sglq_next,
sglq_entry       9959 drivers/scsi/lpfc/lpfc_els.c 		if (sglq_entry->sli4_xritag == xri) {
sglq_entry       9960 drivers/scsi/lpfc/lpfc_els.c 			list_del(&sglq_entry->list);
sglq_entry       9961 drivers/scsi/lpfc/lpfc_els.c 			ndlp = sglq_entry->ndlp;
sglq_entry       9962 drivers/scsi/lpfc/lpfc_els.c 			sglq_entry->ndlp = NULL;
sglq_entry       9963 drivers/scsi/lpfc/lpfc_els.c 			list_add_tail(&sglq_entry->list,
sglq_entry       9965 drivers/scsi/lpfc/lpfc_els.c 			sglq_entry->state = SGL_FREED;
sglq_entry       9969 drivers/scsi/lpfc/lpfc_els.c 				sglq_entry->sli4_lxritag,
sglq_entry       9985 drivers/scsi/lpfc/lpfc_els.c 	sglq_entry = __lpfc_get_active_sglq(phba, lxri);
sglq_entry       9986 drivers/scsi/lpfc/lpfc_els.c 	if (!sglq_entry || (sglq_entry->sli4_xritag != xri)) {
sglq_entry       9991 drivers/scsi/lpfc/lpfc_els.c 	sglq_entry->state = SGL_XRI_ABORTED;
sglq_entry       1048 drivers/scsi/lpfc/lpfc_init.c 	struct lpfc_sglq *sglq_entry = NULL;
sglq_entry       1067 drivers/scsi/lpfc/lpfc_init.c 	list_for_each_entry(sglq_entry,
sglq_entry       1069 drivers/scsi/lpfc/lpfc_init.c 		sglq_entry->state = SGL_FREED;
sglq_entry       3672 drivers/scsi/lpfc/lpfc_init.c 	struct lpfc_sglq *sglq_entry = NULL, *sglq_entry_next = NULL;
sglq_entry       3691 drivers/scsi/lpfc/lpfc_init.c 			sglq_entry = kzalloc(sizeof(struct lpfc_sglq),
sglq_entry       3693 drivers/scsi/lpfc/lpfc_init.c 			if (sglq_entry == NULL) {
sglq_entry       3700 drivers/scsi/lpfc/lpfc_init.c 			sglq_entry->buff_type = GEN_BUFF_TYPE;
sglq_entry       3701 drivers/scsi/lpfc/lpfc_init.c 			sglq_entry->virt = lpfc_mbuf_alloc(phba, 0,
sglq_entry       3702 drivers/scsi/lpfc/lpfc_init.c 							   &sglq_entry->phys);
sglq_entry       3703 drivers/scsi/lpfc/lpfc_init.c 			if (sglq_entry->virt == NULL) {
sglq_entry       3704 drivers/scsi/lpfc/lpfc_init.c 				kfree(sglq_entry);
sglq_entry       3711 drivers/scsi/lpfc/lpfc_init.c 			sglq_entry->sgl = sglq_entry->virt;
sglq_entry       3712 drivers/scsi/lpfc/lpfc_init.c 			memset(sglq_entry->sgl, 0, LPFC_BPL_SIZE);
sglq_entry       3713 drivers/scsi/lpfc/lpfc_init.c 			sglq_entry->state = SGL_FREED;
sglq_entry       3714 drivers/scsi/lpfc/lpfc_init.c 			list_add_tail(&sglq_entry->list, &els_sgl_list);
sglq_entry       3736 drivers/scsi/lpfc/lpfc_init.c 					 sglq_entry, struct lpfc_sglq, list);
sglq_entry       3737 drivers/scsi/lpfc/lpfc_init.c 			if (sglq_entry) {
sglq_entry       3738 drivers/scsi/lpfc/lpfc_init.c 				__lpfc_mbuf_free(phba, sglq_entry->virt,
sglq_entry       3739 drivers/scsi/lpfc/lpfc_init.c 						 sglq_entry->phys);
sglq_entry       3740 drivers/scsi/lpfc/lpfc_init.c 				kfree(sglq_entry);
sglq_entry       3754 drivers/scsi/lpfc/lpfc_init.c 	sglq_entry = NULL;
sglq_entry       3756 drivers/scsi/lpfc/lpfc_init.c 	list_for_each_entry_safe(sglq_entry, sglq_entry_next,
sglq_entry       3766 drivers/scsi/lpfc/lpfc_init.c 		sglq_entry->sli4_lxritag = lxri;
sglq_entry       3767 drivers/scsi/lpfc/lpfc_init.c 		sglq_entry->sli4_xritag = phba->sli4_hba.xri_ids[lxri];
sglq_entry       3791 drivers/scsi/lpfc/lpfc_init.c 	struct lpfc_sglq *sglq_entry = NULL, *sglq_entry_next = NULL;
sglq_entry       3812 drivers/scsi/lpfc/lpfc_init.c 			sglq_entry = kzalloc(sizeof(struct lpfc_sglq),
sglq_entry       3814 drivers/scsi/lpfc/lpfc_init.c 			if (sglq_entry == NULL) {
sglq_entry       3821 drivers/scsi/lpfc/lpfc_init.c 			sglq_entry->buff_type = NVMET_BUFF_TYPE;
sglq_entry       3822 drivers/scsi/lpfc/lpfc_init.c 			sglq_entry->virt = lpfc_nvmet_buf_alloc(phba, 0,
sglq_entry       3823 drivers/scsi/lpfc/lpfc_init.c 							   &sglq_entry->phys);
sglq_entry       3824 drivers/scsi/lpfc/lpfc_init.c 			if (sglq_entry->virt == NULL) {
sglq_entry       3825 drivers/scsi/lpfc/lpfc_init.c 				kfree(sglq_entry);
sglq_entry       3832 drivers/scsi/lpfc/lpfc_init.c 			sglq_entry->sgl = sglq_entry->virt;
sglq_entry       3833 drivers/scsi/lpfc/lpfc_init.c 			memset(sglq_entry->sgl, 0,
sglq_entry       3835 drivers/scsi/lpfc/lpfc_init.c 			sglq_entry->state = SGL_FREED;
sglq_entry       3836 drivers/scsi/lpfc/lpfc_init.c 			list_add_tail(&sglq_entry->list, &nvmet_sgl_list);
sglq_entry       3858 drivers/scsi/lpfc/lpfc_init.c 					 sglq_entry, struct lpfc_sglq, list);
sglq_entry       3859 drivers/scsi/lpfc/lpfc_init.c 			if (sglq_entry) {
sglq_entry       3860 drivers/scsi/lpfc/lpfc_init.c 				lpfc_nvmet_buf_free(phba, sglq_entry->virt,
sglq_entry       3861 drivers/scsi/lpfc/lpfc_init.c 						    sglq_entry->phys);
sglq_entry       3862 drivers/scsi/lpfc/lpfc_init.c 				kfree(sglq_entry);
sglq_entry       3876 drivers/scsi/lpfc/lpfc_init.c 	sglq_entry = NULL;
sglq_entry       3878 drivers/scsi/lpfc/lpfc_init.c 	list_for_each_entry_safe(sglq_entry, sglq_entry_next,
sglq_entry       3888 drivers/scsi/lpfc/lpfc_init.c 		sglq_entry->sli4_lxritag = lxri;
sglq_entry       3889 drivers/scsi/lpfc/lpfc_init.c 		sglq_entry->sli4_xritag = phba->sli4_hba.xri_ids[lxri];
sglq_entry       7175 drivers/scsi/lpfc/lpfc_init.c 	struct lpfc_sglq *sglq_entry = NULL, *sglq_next = NULL;
sglq_entry       7177 drivers/scsi/lpfc/lpfc_init.c 	list_for_each_entry_safe(sglq_entry, sglq_next, sglq_list, list) {
sglq_entry       7178 drivers/scsi/lpfc/lpfc_init.c 		list_del(&sglq_entry->list);
sglq_entry       7179 drivers/scsi/lpfc/lpfc_init.c 		lpfc_mbuf_free(phba, sglq_entry->virt, sglq_entry->phys);
sglq_entry       7180 drivers/scsi/lpfc/lpfc_init.c 		kfree(sglq_entry);
sglq_entry       7215 drivers/scsi/lpfc/lpfc_init.c 	struct lpfc_sglq *sglq_entry = NULL, *sglq_next = NULL;
sglq_entry       7226 drivers/scsi/lpfc/lpfc_init.c 	list_for_each_entry_safe(sglq_entry, sglq_next, &sglq_list, list) {
sglq_entry       7227 drivers/scsi/lpfc/lpfc_init.c 		list_del(&sglq_entry->list);
sglq_entry       7228 drivers/scsi/lpfc/lpfc_init.c 		lpfc_nvmet_buf_free(phba, sglq_entry->virt, sglq_entry->phys);
sglq_entry       7229 drivers/scsi/lpfc/lpfc_init.c 		kfree(sglq_entry);
sglq_entry       6912 drivers/scsi/lpfc/lpfc_sli.c 	struct lpfc_sglq *sglq_entry = NULL;
sglq_entry       6931 drivers/scsi/lpfc/lpfc_sli.c 	list_for_each_entry_safe(sglq_entry, sglq_entry_next,
sglq_entry       6933 drivers/scsi/lpfc/lpfc_sli.c 		list_del_init(&sglq_entry->list);
sglq_entry       6936 drivers/scsi/lpfc/lpfc_sli.c 		    (sglq_entry->sli4_xritag != last_xritag + 1)) {
sglq_entry       6941 drivers/scsi/lpfc/lpfc_sli.c 			list_add_tail(&sglq_entry->list, &prep_sgl_list);
sglq_entry       6945 drivers/scsi/lpfc/lpfc_sli.c 			list_add_tail(&sglq_entry->list, &prep_sgl_list);
sglq_entry       6957 drivers/scsi/lpfc/lpfc_sli.c 		last_xritag = sglq_entry->sli4_xritag;
sglq_entry       6967 drivers/scsi/lpfc/lpfc_sli.c 						sglq_entry->phys, 0,
sglq_entry       6968 drivers/scsi/lpfc/lpfc_sli.c 						sglq_entry->sli4_xritag);
sglq_entry       6971 drivers/scsi/lpfc/lpfc_sli.c 					list_add_tail(&sglq_entry->list,
sglq_entry       6979 drivers/scsi/lpfc/lpfc_sli.c 						sglq_entry->sli4_xritag);
sglq_entry       6980 drivers/scsi/lpfc/lpfc_sli.c 					list_add_tail(&sglq_entry->list,
sglq_entry       16699 drivers/scsi/lpfc/lpfc_sli.c 	struct lpfc_sglq *sglq_entry = NULL, *sglq_next = NULL;
sglq_entry       16743 drivers/scsi/lpfc/lpfc_sli.c 	list_for_each_entry_safe(sglq_entry, sglq_next, post_sgl_list, list) {
sglq_entry       16746 drivers/scsi/lpfc/lpfc_sli.c 				cpu_to_le32(putPaddrLow(sglq_entry->phys));
sglq_entry       16748 drivers/scsi/lpfc/lpfc_sli.c 				cpu_to_le32(putPaddrHigh(sglq_entry->phys));
sglq_entry       16756 drivers/scsi/lpfc/lpfc_sli.c 			xritag_start = sglq_entry->sli4_xritag;