Lines Matching refs:lpfc_dmabuf
77 struct lpfc_dmabuf *rmp;
84 struct lpfc_dmabuf *dmabuffers; /* for BIU diags */
95 struct lpfc_dmabuf *rmp;
133 struct lpfc_dmabuf dma;
139 lpfc_free_bsg_buffers(struct lpfc_hba *phba, struct lpfc_dmabuf *mlist) in lpfc_free_bsg_buffers()
141 struct lpfc_dmabuf *mlast, *next_mlast; in lpfc_free_bsg_buffers()
156 static struct lpfc_dmabuf *
161 struct lpfc_dmabuf *mlist = NULL; in lpfc_alloc_bsg_buffers()
162 struct lpfc_dmabuf *mp; in lpfc_alloc_bsg_buffers()
176 mp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_alloc_bsg_buffers()
217 lpfc_bsg_copy_data(struct lpfc_dmabuf *dma_buffers, in lpfc_bsg_copy_data()
222 struct lpfc_dmabuf *mp; in lpfc_bsg_copy_data()
307 struct lpfc_dmabuf *bmp, *cmp, *rmp; in lpfc_bsg_send_mgmt_cmd_cmp()
399 struct lpfc_dmabuf *bmp = NULL, *cmp = NULL, *rmp = NULL; in lpfc_bsg_send_mgmt_cmd()
431 bmp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_bsg_send_mgmt_cmd()
580 struct lpfc_dmabuf *pcmd = NULL, *prsp = NULL; in lpfc_bsg_rport_els_cmp()
607 pcmd = (struct lpfc_dmabuf *)cmdiocbq->context2; in lpfc_bsg_rport_els_cmp()
608 prsp = (struct lpfc_dmabuf *)pcmd->list.next; in lpfc_bsg_rport_els_cmp()
720 ((struct lpfc_dmabuf *)cmdiocbq->context2)->virt, in lpfc_bsg_rport_els()
915 struct lpfc_dmabuf *dmabuf = NULL; in lpfc_bsg_ct_unsol_event()
924 struct lpfc_dmabuf *bdeBuf1 = piocbq->context2; in lpfc_bsg_ct_unsol_event()
925 struct lpfc_dmabuf *bdeBuf2 = piocbq->context3; in lpfc_bsg_ct_unsol_event()
1380 struct lpfc_dmabuf *bmp, *cmp; in lpfc_issue_ct_rsp_cmp()
1459 struct lpfc_dmabuf *cmp, struct lpfc_dmabuf *bmp, in lpfc_issue_ct_rsp()
1619 struct lpfc_dmabuf *bmp = NULL, *cmp = NULL; in lpfc_bsg_send_mgmt_rsp()
1634 bmp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_bsg_send_mgmt_rsp()
2529 struct lpfc_dmabuf *dmabuff; in lpfcdiag_loop_self_reg()
2559 dmabuff = (struct lpfc_dmabuf *)mbox->ctx_buf; in lpfcdiag_loop_self_reg()
2637 struct lpfc_dmabuf *dmabuf; in lpfcdiag_loop_get_xri()
2660 dmabuf = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfcdiag_loop_get_xri()
2774 static struct lpfc_dmabuf *
2777 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_dma_page_alloc()
2781 dmabuf = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_bsg_dma_page_alloc()
2808 lpfc_bsg_dma_page_free(struct lpfc_hba *phba, struct lpfc_dmabuf *dmabuf) in lpfc_bsg_dma_page_free()
2834 struct lpfc_dmabuf *dmabuf, *next_dmabuf; in lpfc_bsg_dma_page_list_free()
2944 struct lpfc_dmabuf *rxbmp; in lpfcdiag_loop_post_rxbufs()
2945 struct lpfc_dmabuf *dmp; in lpfcdiag_loop_post_rxbufs()
2946 struct lpfc_dmabuf *mp[2] = {NULL, NULL}; in lpfcdiag_loop_post_rxbufs()
2957 rxbmp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfcdiag_loop_post_rxbufs()
2982 mp[i] = list_entry(curr, struct lpfc_dmabuf, list); in lpfcdiag_loop_post_rxbufs()
3025 dmp = list_entry(next, struct lpfc_dmabuf, list); in lpfcdiag_loop_post_rxbufs()
3039 dmp = list_entry(next, struct lpfc_dmabuf, list); in lpfcdiag_loop_post_rxbufs()
3097 struct lpfc_dmabuf *txbmp; in lpfc_bsg_diag_loopback_run()
3101 struct lpfc_dmabuf *curr; in lpfc_bsg_diag_loopback_run()
3210 txbmp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_bsg_diag_loopback_run()
3627 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_issue_mbox_ext_handle_job()
3782 uint32_t index, struct lpfc_dmabuf *mbx_dmabuf, in lpfc_bsg_sli_cfg_dma_desc_setup()
3783 struct lpfc_dmabuf *ext_dmabuf) in lpfc_bsg_sli_cfg_dma_desc_setup()
3886 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_sli_cfg_read_cmd_ext()
3891 struct lpfc_dmabuf *curr_dmabuf, *next_dmabuf; in lpfc_bsg_sli_cfg_read_cmd_ext()
3893 struct lpfc_dmabuf *ext_dmabuf = NULL; in lpfc_bsg_sli_cfg_read_cmd_ext()
4075 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_sli_cfg_write_cmd_ext()
4241 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_handle_sli_cfg_mbox()
4394 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_read_ebuf_get()
4421 struct lpfc_dmabuf, list); in lpfc_bsg_read_ebuf_get()
4462 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_write_ebuf_set()
4588 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_handle_sli_cfg_ebuf()
4633 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_handle_sli_cfg_ext()
4720 struct lpfc_dmabuf *dmabuf = NULL; in lpfc_bsg_issue_mbox()
5075 struct lpfc_dmabuf *bmp, *cmp, *rmp; in lpfc_bsg_menlo_cmd_cmp()
5173 struct lpfc_dmabuf *bmp = NULL, *cmp = NULL, *rmp = NULL; in lpfc_menlo_cmd()
5221 bmp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_menlo_cmd()
5613 struct lpfc_dmabuf *dmabuf, *next; in lpfc_bsg_get_ras_fwlog()