Home
last modified time | relevance | path

Searched refs:sglq_entry (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/drivers/scsi/lpfc/
Dlpfc_init.c990 struct lpfc_sglq *sglq_entry = NULL; in lpfc_hba_down_post_s4() local
1010 list_for_each_entry(sglq_entry, in lpfc_hba_down_post_s4()
1012 sglq_entry->state = SGL_FREED; in lpfc_hba_down_post_s4()
3085 struct lpfc_sglq *sglq_entry = NULL, *sglq_entry_next = NULL; in lpfc_sli4_xri_sgl_update() local
3106 sglq_entry = kzalloc(sizeof(struct lpfc_sglq), in lpfc_sli4_xri_sgl_update()
3108 if (sglq_entry == NULL) { in lpfc_sli4_xri_sgl_update()
3115 sglq_entry->buff_type = GEN_BUFF_TYPE; in lpfc_sli4_xri_sgl_update()
3116 sglq_entry->virt = lpfc_mbuf_alloc(phba, 0, in lpfc_sli4_xri_sgl_update()
3117 &sglq_entry->phys); in lpfc_sli4_xri_sgl_update()
3118 if (sglq_entry->virt == NULL) { in lpfc_sli4_xri_sgl_update()
[all …]
Dlpfc_els.c8164 struct lpfc_sglq *sglq_entry = NULL, *sglq_next = NULL; in lpfc_sli4_vport_delete_els_xri_aborted() local
8169 list_for_each_entry_safe(sglq_entry, sglq_next, in lpfc_sli4_vport_delete_els_xri_aborted()
8171 if (sglq_entry->ndlp && sglq_entry->ndlp->vport == vport) in lpfc_sli4_vport_delete_els_xri_aborted()
8172 sglq_entry->ndlp = NULL; in lpfc_sli4_vport_delete_els_xri_aborted()
8195 struct lpfc_sglq *sglq_entry = NULL, *sglq_next = NULL; in lpfc_sli4_els_xri_aborted() local
8202 list_for_each_entry_safe(sglq_entry, sglq_next, in lpfc_sli4_els_xri_aborted()
8204 if (sglq_entry->sli4_xritag == xri) { in lpfc_sli4_els_xri_aborted()
8205 list_del(&sglq_entry->list); in lpfc_sli4_els_xri_aborted()
8206 ndlp = sglq_entry->ndlp; in lpfc_sli4_els_xri_aborted()
8207 sglq_entry->ndlp = NULL; in lpfc_sli4_els_xri_aborted()
[all …]
Dlpfc_sli.c6099 struct lpfc_sglq *sglq_entry = NULL; in lpfc_sli4_repost_els_sgl_list() local
6119 list_for_each_entry_safe(sglq_entry, sglq_entry_next, in lpfc_sli4_repost_els_sgl_list()
6121 list_del_init(&sglq_entry->list); in lpfc_sli4_repost_els_sgl_list()
6124 (sglq_entry->sli4_xritag != last_xritag + 1)) { in lpfc_sli4_repost_els_sgl_list()
6129 list_add_tail(&sglq_entry->list, &prep_sgl_list); in lpfc_sli4_repost_els_sgl_list()
6133 list_add_tail(&sglq_entry->list, &prep_sgl_list); in lpfc_sli4_repost_els_sgl_list()
6145 last_xritag = sglq_entry->sli4_xritag; in lpfc_sli4_repost_els_sgl_list()
6155 sglq_entry->phys, 0, in lpfc_sli4_repost_els_sgl_list()
6156 sglq_entry->sli4_xritag); in lpfc_sli4_repost_els_sgl_list()
6159 list_add_tail(&sglq_entry->list, in lpfc_sli4_repost_els_sgl_list()
[all …]