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()
908 struct lpfc_dmabuf *dmabuf = NULL; in lpfc_bsg_ct_unsol_event()
917 struct lpfc_dmabuf *bdeBuf1 = piocbq->context2; in lpfc_bsg_ct_unsol_event()
918 struct lpfc_dmabuf *bdeBuf2 = piocbq->context3; in lpfc_bsg_ct_unsol_event()
1387 struct lpfc_dmabuf *bmp, *cmp; in lpfc_issue_ct_rsp_cmp()
1463 struct lpfc_dmabuf *cmp, struct lpfc_dmabuf *bmp, in lpfc_issue_ct_rsp()
1615 struct lpfc_dmabuf *bmp = NULL, *cmp = NULL; in lpfc_bsg_send_mgmt_rsp()
1630 bmp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_bsg_send_mgmt_rsp()
2436 struct lpfc_dmabuf *dmabuff; in lpfcdiag_loop_self_reg()
2462 dmabuff = (struct lpfc_dmabuf *) mbox->context1; in lpfcdiag_loop_self_reg()
2540 struct lpfc_dmabuf *dmabuf; in lpfcdiag_loop_get_xri()
2563 dmabuf = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfcdiag_loop_get_xri()
2677 static struct lpfc_dmabuf *
2680 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_dma_page_alloc()
2684 dmabuf = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_bsg_dma_page_alloc()
2711 lpfc_bsg_dma_page_free(struct lpfc_hba *phba, struct lpfc_dmabuf *dmabuf) in lpfc_bsg_dma_page_free()
2737 struct lpfc_dmabuf *dmabuf, *next_dmabuf; in lpfc_bsg_dma_page_list_free()
2851 struct lpfc_dmabuf *rxbmp; in lpfcdiag_loop_post_rxbufs()
2852 struct lpfc_dmabuf *dmp; in lpfcdiag_loop_post_rxbufs()
2853 struct lpfc_dmabuf *mp[2] = {NULL, NULL}; in lpfcdiag_loop_post_rxbufs()
2862 rxbmp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfcdiag_loop_post_rxbufs()
2887 mp[i] = list_entry(curr, struct lpfc_dmabuf, list); in lpfcdiag_loop_post_rxbufs()
2930 dmp = list_entry(next, struct lpfc_dmabuf, list); in lpfcdiag_loop_post_rxbufs()
2944 dmp = list_entry(next, struct lpfc_dmabuf, list); in lpfcdiag_loop_post_rxbufs()
3002 struct lpfc_dmabuf *txbmp; in lpfc_bsg_diag_loopback_run()
3006 struct lpfc_dmabuf *curr; in lpfc_bsg_diag_loopback_run()
3117 txbmp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_bsg_diag_loopback_run()
3531 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_issue_mbox_ext_handle_job()
3678 uint32_t index, struct lpfc_dmabuf *mbx_dmabuf, in lpfc_bsg_sli_cfg_dma_desc_setup()
3679 struct lpfc_dmabuf *ext_dmabuf) in lpfc_bsg_sli_cfg_dma_desc_setup()
3782 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_sli_cfg_read_cmd_ext()
3786 struct lpfc_dmabuf *curr_dmabuf, *next_dmabuf; in lpfc_bsg_sli_cfg_read_cmd_ext()
3788 struct lpfc_dmabuf *ext_dmabuf = NULL; in lpfc_bsg_sli_cfg_read_cmd_ext()
3969 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_sli_cfg_write_cmd_ext()
4132 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_handle_sli_cfg_mbox()
4283 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_read_ebuf_get()
4310 struct lpfc_dmabuf, list); in lpfc_bsg_read_ebuf_get()
4349 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_write_ebuf_set()
4474 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_handle_sli_cfg_ebuf()
4519 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_handle_sli_cfg_ext()
4603 struct lpfc_dmabuf *dmabuf = NULL; in lpfc_bsg_issue_mbox()
4957 struct lpfc_dmabuf *bmp, *cmp, *rmp; in lpfc_bsg_menlo_cmd_cmp()
5052 struct lpfc_dmabuf *bmp = NULL, *cmp = NULL, *rmp = NULL; in lpfc_menlo_cmd()
5103 bmp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_menlo_cmd()