Lines Matching refs:mlist
189 lpfc_free_ct_rsp(struct lpfc_hba *phba, struct lpfc_dmabuf *mlist) in lpfc_free_ct_rsp() argument
193 list_for_each_entry_safe(mlast, next_mlast, &mlist->list, list) { in lpfc_free_ct_rsp()
198 lpfc_mbuf_free(phba, mlist->virt, mlist->phys); in lpfc_free_ct_rsp()
199 kfree(mlist); in lpfc_free_ct_rsp()
207 struct lpfc_dmabuf *mlist = NULL; in lpfc_alloc_ct_rsp() local
218 if (mlist) in lpfc_alloc_ct_rsp()
219 lpfc_free_ct_rsp(phba, mlist); in lpfc_alloc_ct_rsp()
233 if (mlist) in lpfc_alloc_ct_rsp()
234 lpfc_free_ct_rsp(phba, mlist); in lpfc_alloc_ct_rsp()
239 if (!mlist) in lpfc_alloc_ct_rsp()
240 mlist = mp; in lpfc_alloc_ct_rsp()
242 list_add_tail(&mp->list, &mlist->list); in lpfc_alloc_ct_rsp()
257 return mlist; in lpfc_alloc_ct_rsp()