Lines Matching refs:lpfc_dmabuf
73 struct lpfc_dmabuf *rmp;
80 struct lpfc_dmabuf *dmabuffers; /* for BIU diags */
91 struct lpfc_dmabuf *rmp;
129 struct lpfc_dmabuf dma;
135 lpfc_free_bsg_buffers(struct lpfc_hba *phba, struct lpfc_dmabuf *mlist) in lpfc_free_bsg_buffers()
137 struct lpfc_dmabuf *mlast, *next_mlast; in lpfc_free_bsg_buffers()
152 static struct lpfc_dmabuf *
157 struct lpfc_dmabuf *mlist = NULL; in lpfc_alloc_bsg_buffers()
158 struct lpfc_dmabuf *mp; in lpfc_alloc_bsg_buffers()
172 mp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_alloc_bsg_buffers()
213 lpfc_bsg_copy_data(struct lpfc_dmabuf *dma_buffers, in lpfc_bsg_copy_data()
218 struct lpfc_dmabuf *mp; in lpfc_bsg_copy_data()
302 struct lpfc_dmabuf *bmp, *cmp, *rmp; in lpfc_bsg_send_mgmt_cmd_cmp()
391 struct lpfc_dmabuf *bmp = NULL, *cmp = NULL, *rmp = NULL; in lpfc_bsg_send_mgmt_cmd()
430 bmp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_bsg_send_mgmt_cmd()
576 struct lpfc_dmabuf *pcmd = NULL, *prsp = NULL; in lpfc_bsg_rport_els_cmp()
602 pcmd = (struct lpfc_dmabuf *)cmdiocbq->context2; in lpfc_bsg_rport_els_cmp()
603 prsp = (struct lpfc_dmabuf *)pcmd->list.next; in lpfc_bsg_rport_els_cmp()
714 ((struct lpfc_dmabuf *)cmdiocbq->context2)->virt, in lpfc_bsg_rport_els()
907 struct lpfc_dmabuf *dmabuf = NULL; in lpfc_bsg_ct_unsol_event()
916 struct lpfc_dmabuf *bdeBuf1 = piocbq->context2; in lpfc_bsg_ct_unsol_event()
917 struct lpfc_dmabuf *bdeBuf2 = piocbq->context3; in lpfc_bsg_ct_unsol_event()
1385 struct lpfc_dmabuf *bmp, *cmp; in lpfc_issue_ct_rsp_cmp()
1461 struct lpfc_dmabuf *cmp, struct lpfc_dmabuf *bmp, in lpfc_issue_ct_rsp()
1613 struct lpfc_dmabuf *bmp = NULL, *cmp = NULL; in lpfc_bsg_send_mgmt_rsp()
1628 bmp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_bsg_send_mgmt_rsp()
2434 struct lpfc_dmabuf *dmabuff; in lpfcdiag_loop_self_reg()
2460 dmabuff = (struct lpfc_dmabuf *) mbox->context1; in lpfcdiag_loop_self_reg()
2538 struct lpfc_dmabuf *dmabuf; in lpfcdiag_loop_get_xri()
2561 dmabuf = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfcdiag_loop_get_xri()
2675 static struct lpfc_dmabuf *
2678 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_dma_page_alloc()
2682 dmabuf = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_bsg_dma_page_alloc()
2709 lpfc_bsg_dma_page_free(struct lpfc_hba *phba, struct lpfc_dmabuf *dmabuf) in lpfc_bsg_dma_page_free()
2735 struct lpfc_dmabuf *dmabuf, *next_dmabuf; in lpfc_bsg_dma_page_list_free()
2849 struct lpfc_dmabuf *rxbmp; in lpfcdiag_loop_post_rxbufs()
2850 struct lpfc_dmabuf *dmp; in lpfcdiag_loop_post_rxbufs()
2851 struct lpfc_dmabuf *mp[2] = {NULL, NULL}; in lpfcdiag_loop_post_rxbufs()
2860 rxbmp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfcdiag_loop_post_rxbufs()
2885 mp[i] = list_entry(curr, struct lpfc_dmabuf, list); in lpfcdiag_loop_post_rxbufs()
2928 dmp = list_entry(next, struct lpfc_dmabuf, list); in lpfcdiag_loop_post_rxbufs()
2942 dmp = list_entry(next, struct lpfc_dmabuf, list); in lpfcdiag_loop_post_rxbufs()
2999 struct lpfc_dmabuf *txbmp; in lpfc_bsg_diag_loopback_run()
3003 struct lpfc_dmabuf *curr; in lpfc_bsg_diag_loopback_run()
3112 txbmp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_bsg_diag_loopback_run()
3522 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_issue_mbox_ext_handle_job()
3669 uint32_t index, struct lpfc_dmabuf *mbx_dmabuf, in lpfc_bsg_sli_cfg_dma_desc_setup()
3670 struct lpfc_dmabuf *ext_dmabuf) in lpfc_bsg_sli_cfg_dma_desc_setup()
3773 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_sli_cfg_read_cmd_ext()
3777 struct lpfc_dmabuf *curr_dmabuf, *next_dmabuf; in lpfc_bsg_sli_cfg_read_cmd_ext()
3779 struct lpfc_dmabuf *ext_dmabuf = NULL; in lpfc_bsg_sli_cfg_read_cmd_ext()
3960 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_sli_cfg_write_cmd_ext()
4123 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_handle_sli_cfg_mbox()
4274 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_read_ebuf_get()
4301 struct lpfc_dmabuf, list); in lpfc_bsg_read_ebuf_get()
4340 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_write_ebuf_set()
4461 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_handle_sli_cfg_ebuf()
4506 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_handle_sli_cfg_ext()
4590 struct lpfc_dmabuf *dmabuf = NULL; in lpfc_bsg_issue_mbox()
4941 struct lpfc_dmabuf *bmp, *cmp, *rmp; in lpfc_bsg_menlo_cmd_cmp()
5035 struct lpfc_dmabuf *bmp = NULL, *cmp = NULL, *rmp = NULL; in lpfc_menlo_cmd()
5083 bmp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_menlo_cmd()