Lines Matching refs:mlist
203 lpfc_free_ct_rsp(struct lpfc_hba *phba, struct lpfc_dmabuf *mlist) in lpfc_free_ct_rsp() argument
207 list_for_each_entry_safe(mlast, next_mlast, &mlist->list, list) { in lpfc_free_ct_rsp()
212 lpfc_mbuf_free(phba, mlist->virt, mlist->phys); in lpfc_free_ct_rsp()
213 kfree(mlist); in lpfc_free_ct_rsp()
221 struct lpfc_dmabuf *mlist = NULL; in lpfc_alloc_ct_rsp() local
232 if (mlist) in lpfc_alloc_ct_rsp()
233 lpfc_free_ct_rsp(phba, mlist); in lpfc_alloc_ct_rsp()
247 if (mlist) in lpfc_alloc_ct_rsp()
248 lpfc_free_ct_rsp(phba, mlist); in lpfc_alloc_ct_rsp()
253 if (!mlist) in lpfc_alloc_ct_rsp()
254 mlist = mp; in lpfc_alloc_ct_rsp()
256 list_add_tail(&mp->list, &mlist->list); in lpfc_alloc_ct_rsp()
271 return mlist; in lpfc_alloc_ct_rsp()