Lines Matching refs:lpfc_dmabuf
76 struct lpfc_dmabuf *rmp;
83 struct lpfc_dmabuf *dmabuffers; /* for BIU diags */
94 struct lpfc_dmabuf *rmp;
132 struct lpfc_dmabuf dma;
138 lpfc_free_bsg_buffers(struct lpfc_hba *phba, struct lpfc_dmabuf *mlist) in lpfc_free_bsg_buffers()
140 struct lpfc_dmabuf *mlast, *next_mlast; in lpfc_free_bsg_buffers()
155 static struct lpfc_dmabuf *
160 struct lpfc_dmabuf *mlist = NULL; in lpfc_alloc_bsg_buffers()
161 struct lpfc_dmabuf *mp; in lpfc_alloc_bsg_buffers()
175 mp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_alloc_bsg_buffers()
216 lpfc_bsg_copy_data(struct lpfc_dmabuf *dma_buffers, in lpfc_bsg_copy_data()
221 struct lpfc_dmabuf *mp; in lpfc_bsg_copy_data()
306 struct lpfc_dmabuf *bmp, *cmp, *rmp; in lpfc_bsg_send_mgmt_cmd_cmp()
398 struct lpfc_dmabuf *bmp = NULL, *cmp = NULL, *rmp = NULL; in lpfc_bsg_send_mgmt_cmd()
437 bmp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_bsg_send_mgmt_cmd()
584 struct lpfc_dmabuf *pcmd = NULL, *prsp = NULL; in lpfc_bsg_rport_els_cmp()
611 pcmd = (struct lpfc_dmabuf *)cmdiocbq->context2; in lpfc_bsg_rport_els_cmp()
612 prsp = (struct lpfc_dmabuf *)pcmd->list.next; in lpfc_bsg_rport_els_cmp()
726 ((struct lpfc_dmabuf *)cmdiocbq->context2)->virt, in lpfc_bsg_rport_els()
919 struct lpfc_dmabuf *dmabuf = NULL; in lpfc_bsg_ct_unsol_event()
928 struct lpfc_dmabuf *bdeBuf1 = piocbq->context2; in lpfc_bsg_ct_unsol_event()
929 struct lpfc_dmabuf *bdeBuf2 = piocbq->context3; in lpfc_bsg_ct_unsol_event()
1405 struct lpfc_dmabuf *bmp, *cmp; in lpfc_issue_ct_rsp_cmp()
1483 struct lpfc_dmabuf *cmp, struct lpfc_dmabuf *bmp, in lpfc_issue_ct_rsp()
1637 struct lpfc_dmabuf *bmp = NULL, *cmp = NULL; in lpfc_bsg_send_mgmt_rsp()
1652 bmp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_bsg_send_mgmt_rsp()
2473 struct lpfc_dmabuf *dmabuff; in lpfcdiag_loop_self_reg()
2503 dmabuff = (struct lpfc_dmabuf *) mbox->context1; in lpfcdiag_loop_self_reg()
2581 struct lpfc_dmabuf *dmabuf; in lpfcdiag_loop_get_xri()
2604 dmabuf = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfcdiag_loop_get_xri()
2718 static struct lpfc_dmabuf *
2721 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_dma_page_alloc()
2725 dmabuf = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_bsg_dma_page_alloc()
2752 lpfc_bsg_dma_page_free(struct lpfc_hba *phba, struct lpfc_dmabuf *dmabuf) in lpfc_bsg_dma_page_free()
2778 struct lpfc_dmabuf *dmabuf, *next_dmabuf; in lpfc_bsg_dma_page_list_free()
2891 struct lpfc_dmabuf *rxbmp; in lpfcdiag_loop_post_rxbufs()
2892 struct lpfc_dmabuf *dmp; in lpfcdiag_loop_post_rxbufs()
2893 struct lpfc_dmabuf *mp[2] = {NULL, NULL}; in lpfcdiag_loop_post_rxbufs()
2904 rxbmp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfcdiag_loop_post_rxbufs()
2929 mp[i] = list_entry(curr, struct lpfc_dmabuf, list); in lpfcdiag_loop_post_rxbufs()
2972 dmp = list_entry(next, struct lpfc_dmabuf, list); in lpfcdiag_loop_post_rxbufs()
2986 dmp = list_entry(next, struct lpfc_dmabuf, list); in lpfcdiag_loop_post_rxbufs()
3044 struct lpfc_dmabuf *txbmp; in lpfc_bsg_diag_loopback_run()
3048 struct lpfc_dmabuf *curr; in lpfc_bsg_diag_loopback_run()
3157 txbmp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_bsg_diag_loopback_run()
3574 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_issue_mbox_ext_handle_job()
3729 uint32_t index, struct lpfc_dmabuf *mbx_dmabuf, in lpfc_bsg_sli_cfg_dma_desc_setup()
3730 struct lpfc_dmabuf *ext_dmabuf) in lpfc_bsg_sli_cfg_dma_desc_setup()
3833 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_sli_cfg_read_cmd_ext()
3838 struct lpfc_dmabuf *curr_dmabuf, *next_dmabuf; in lpfc_bsg_sli_cfg_read_cmd_ext()
3840 struct lpfc_dmabuf *ext_dmabuf = NULL; in lpfc_bsg_sli_cfg_read_cmd_ext()
4021 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_sli_cfg_write_cmd_ext()
4187 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_handle_sli_cfg_mbox()
4339 struct lpfc_dmabuf *dmabuf; in lpfc_bsg_read_ebuf_get()
4366 struct lpfc_dmabuf, list); in lpfc_bsg_read_ebuf_get()
4406 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_write_ebuf_set()
4529 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_handle_sli_cfg_ebuf()
4574 struct lpfc_dmabuf *dmabuf) in lpfc_bsg_handle_sli_cfg_ext()
4661 struct lpfc_dmabuf *dmabuf = NULL; in lpfc_bsg_issue_mbox()
5016 struct lpfc_dmabuf *bmp, *cmp, *rmp; in lpfc_bsg_menlo_cmd_cmp()
5114 struct lpfc_dmabuf *bmp = NULL, *cmp = NULL, *rmp = NULL; in lpfc_menlo_cmd()
5162 bmp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_menlo_cmd()