Lines Matching refs:mlist
202 lpfc_free_ct_rsp(struct lpfc_hba *phba, struct lpfc_dmabuf *mlist) in lpfc_free_ct_rsp() argument
206 list_for_each_entry_safe(mlast, next_mlast, &mlist->list, list) { in lpfc_free_ct_rsp()
211 lpfc_mbuf_free(phba, mlist->virt, mlist->phys); in lpfc_free_ct_rsp()
212 kfree(mlist); in lpfc_free_ct_rsp()
220 struct lpfc_dmabuf *mlist = NULL; in lpfc_alloc_ct_rsp() local
231 if (mlist) in lpfc_alloc_ct_rsp()
232 lpfc_free_ct_rsp(phba, mlist); in lpfc_alloc_ct_rsp()
246 if (mlist) in lpfc_alloc_ct_rsp()
247 lpfc_free_ct_rsp(phba, mlist); in lpfc_alloc_ct_rsp()
252 if (!mlist) in lpfc_alloc_ct_rsp()
253 mlist = mp; in lpfc_alloc_ct_rsp()
255 list_add_tail(&mp->list, &mlist->list); in lpfc_alloc_ct_rsp()
270 return mlist; in lpfc_alloc_ct_rsp()