Lines Matching refs:buf_ptr
5089 struct lpfc_dmabuf *buf_ptr;
5093 list_remove_head(&buf_ptr1->list, buf_ptr,
5096 lpfc_mbuf_free(phba, buf_ptr->virt, buf_ptr->phys);
5097 kfree(buf_ptr);
5107 * @buf_ptr: pointer to the lpfc dma buffer data structure.
5117 lpfc_els_free_bpl(struct lpfc_hba *phba, struct lpfc_dmabuf *buf_ptr)
5119 lpfc_mbuf_free(phba, buf_ptr->virt, buf_ptr->phys);
5120 kfree(buf_ptr);
5154 struct lpfc_dmabuf *buf_ptr, *buf_ptr1;
5167 buf_ptr = elsiocb->cmd_dmabuf;
5169 if (buf_ptr) {
5172 if (!list_empty(&buf_ptr->list)) {
5173 list_remove_head(&buf_ptr->list,
5181 INIT_LIST_HEAD(&buf_ptr->list);
5182 list_add_tail(&buf_ptr->list, &phba->elsbuf);
5194 buf_ptr = elsiocb->bpl_dmabuf;
5195 lpfc_els_free_bpl(phba, buf_ptr);