Lines Matching refs:buf_ptr
4278 struct lpfc_dmabuf *buf_ptr;
4282 list_remove_head(&buf_ptr1->list, buf_ptr,
4285 lpfc_mbuf_free(phba, buf_ptr->virt, buf_ptr->phys);
4286 kfree(buf_ptr);
4296 * @buf_ptr: pointer to the lpfc dma buffer data structure.
4306 lpfc_els_free_bpl(struct lpfc_hba *phba, struct lpfc_dmabuf *buf_ptr)
4308 lpfc_mbuf_free(phba, buf_ptr->virt, buf_ptr->phys);
4309 kfree(buf_ptr);
4343 struct lpfc_dmabuf *buf_ptr, *buf_ptr1;
4373 buf_ptr = elsiocb->context2;
4375 if (buf_ptr) {
4378 if (!list_empty(&buf_ptr->list)) {
4379 list_remove_head(&buf_ptr->list,
4387 INIT_LIST_HEAD(&buf_ptr->list);
4388 list_add_tail(&buf_ptr->list, &phba->elsbuf);
4400 buf_ptr = (struct lpfc_dmabuf *) elsiocb->context3;
4401 lpfc_els_free_bpl(phba, buf_ptr);