Lines Matching refs:mlist
188 lpfc_free_ct_rsp(struct lpfc_hba *phba, struct lpfc_dmabuf *mlist) in lpfc_free_ct_rsp() argument
192 list_for_each_entry_safe(mlast, next_mlast, &mlist->list, list) { in lpfc_free_ct_rsp()
197 lpfc_mbuf_free(phba, mlist->virt, mlist->phys); in lpfc_free_ct_rsp()
198 kfree(mlist); in lpfc_free_ct_rsp()
206 struct lpfc_dmabuf *mlist = NULL; in lpfc_alloc_ct_rsp() local
217 if (mlist) in lpfc_alloc_ct_rsp()
218 lpfc_free_ct_rsp(phba, mlist); in lpfc_alloc_ct_rsp()
232 if (mlist) in lpfc_alloc_ct_rsp()
233 lpfc_free_ct_rsp(phba, mlist); in lpfc_alloc_ct_rsp()
238 if (!mlist) in lpfc_alloc_ct_rsp()
239 mlist = mp; in lpfc_alloc_ct_rsp()
241 list_add_tail(&mp->list, &mlist->list); in lpfc_alloc_ct_rsp()
256 return mlist; in lpfc_alloc_ct_rsp()