Home
last modified time | relevance | path

Searched refs:lpfc_dmabuf (Results 1 - 25 of 33) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/scsi/lpfc/
H A Dlpfc_ct.c81 struct lpfc_dmabuf *mp, uint32_t size) in lpfc_ct_ignore_hbq_buffer()
97 struct lpfc_dmabuf *mp, uint32_t size) in lpfc_ct_unsol_buffer()
106 struct lpfc_dmabuf *mp = NULL; in lpfc_ct_unsol_event()
113 struct lpfc_dmabuf *bdeBuf; in lpfc_ct_unsol_event()
202 lpfc_free_ct_rsp(struct lpfc_hba *phba, struct lpfc_dmabuf *mlist) in lpfc_free_ct_rsp()
204 struct lpfc_dmabuf *mlast, *next_mlast; in lpfc_free_ct_rsp()
216 static struct lpfc_dmabuf *
220 struct lpfc_dmabuf *mlist = NULL; in lpfc_alloc_ct_rsp()
221 struct lpfc_dmabuf *mp; in lpfc_alloc_ct_rsp()
229 mp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNE in lpfc_alloc_ct_rsp()
[all...]
H A Dlpfc_bsg.c77 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_KERNE in lpfc_alloc_bsg_buffers()
[all...]
H A Dlpfc_els.c160 struct lpfc_dmabuf *pcmd, *prsp, *pbuflist; in lpfc_prep_els_iocb()
207 pcmd = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_prep_els_iocb()
217 prsp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_prep_els_iocb()
228 pbuflist = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_prep_els_iocb()
373 struct lpfc_dmabuf *mp; in lpfc_issue_fabric_reglogin()
435 mp = (struct lpfc_dmabuf *)mbox->ctx_buf; in lpfc_issue_fabric_reglogin()
466 struct lpfc_dmabuf *dmabuf = NULL; in lpfc_issue_reg_vfi()
488 dmabuf = kzalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_issue_reg_vfi()
988 struct lpfc_dmabuf *pcmd = cmdiocb->context2, *prsp; in lpfc_cmpl_els_flogi()
1113 prsp = list_get_first(&pcmd->list, struct lpfc_dmabuf, lis in lpfc_cmpl_els_flogi()
[all...]
H A Dlpfc_mem.c99 sizeof(struct lpfc_dmabuf), in lpfc_mem_alloc()
291 struct lpfc_dmabuf *mp; in lpfc_mem_free_all()
295 mp = (struct lpfc_dmabuf *)(mbox->ctx_buf); in lpfc_mem_free_all()
305 mp = (struct lpfc_dmabuf *)(mbox->ctx_buf); in lpfc_mem_free_all()
319 mp = (struct lpfc_dmabuf *)(mbox->ctx_buf); in lpfc_mem_free_all()
657 lpfc_in_buf_free(struct lpfc_hba *phba, struct lpfc_dmabuf *mp) in lpfc_in_buf_free()
701 lpfc_rq_buf_free(struct lpfc_hba *phba, struct lpfc_dmabuf *mp) in lpfc_rq_buf_free()
H A Dlpfc.h138 struct lpfc_dmabuf { struct
154 struct lpfc_dmabuf *elements;
160 struct lpfc_dmabuf hbuf;
161 struct lpfc_dmabuf dbuf;
171 struct lpfc_dmabuf hbuf;
172 struct lpfc_dmabuf dbuf;
425 struct lpfc_dmabuf *fc_rscn_id_list[FC_MAX_HOLD_RSCN];
596 struct lpfc_dmabuf *mbx_dmabuf;
621 struct lpfc_dmabuf lwpd;
778 struct lpfc_dmabuf slim2
[all...]
H A Dlpfc_crtn.h37 int lpfc_read_topology(struct lpfc_hba *, LPFC_MBOXQ_t *, struct lpfc_dmabuf *);
334 struct lpfc_dmabuf *);
335 struct lpfc_dmabuf *lpfc_sli_ringpostbuf_get(struct lpfc_hba *,
340 struct lpfc_dmabuf * lpfc_sli_ring_taggedbuf_get(struct lpfc_hba *,
381 void lpfc_in_buf_free(struct lpfc_hba *, struct lpfc_dmabuf *);
382 void lpfc_rq_buf_free(struct lpfc_hba *phba, struct lpfc_dmabuf *mp);
490 struct lpfc_dmabuf *, uint32_t);
H A Dlpfc_mbox.c63 struct lpfc_dmabuf *mp; in lpfc_dump_static_vport()
83 mp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_dump_static_vport()
291 struct lpfc_dmabuf *mp) in lpfc_read_topology()
605 struct lpfc_dmabuf *mp; in lpfc_read_sparam()
615 mp = kmalloc(sizeof (struct lpfc_dmabuf), GFP_KERNEL); in lpfc_read_sparam()
756 struct lpfc_dmabuf *mp; in lpfc_reg_rpi()
768 mp = kmalloc(sizeof (struct lpfc_dmabuf), GFP_KERNEL); in lpfc_reg_rpi()
2270 struct lpfc_dmabuf *mp = NULL; in lpfc_sli4_dump_cfg_rg23()
2276 mp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_sli4_dump_cfg_rg23()
2328 struct lpfc_dmabuf *m in lpfc_mbx_cmpl_rdp_page_a2()
[all...]
H A Dlpfc_nportdisc.c171 struct lpfc_dmabuf *pcmd, *prsp; in lpfc_check_elscmpl_iocb()
177 pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; in lpfc_check_elscmpl_iocb()
183 prsp = list_get_first(&pcmd->list, struct lpfc_dmabuf, in lpfc_check_elscmpl_iocb()
389 struct lpfc_dmabuf *pcmd; in lpfc_rcv_plogi()
404 pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; in lpfc_rcv_plogi()
744 struct lpfc_dmabuf *pcmd; in lpfc_rcv_padisc()
753 pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; in lpfc_rcv_padisc()
947 payload = ((struct lpfc_dmabuf *)cmdiocb->context2)->virt; in lpfc_rcv_prli_support_check()
978 struct lpfc_dmabuf *pcmd; in lpfc_rcv_prli()
984 pcmd = (struct lpfc_dmabuf *) cmdioc in lpfc_rcv_prli()
[all...]
H A Dlpfc_sli.c1992 struct lpfc_dmabuf *dmabuf, *next_dmabuf; in lpfc_sli_hbqbuf_free_all()
2239 struct lpfc_dmabuf *d_buf; in lpfc_sli_hbqbuf_get()
2241 list_remove_head(rb_list, d_buf, struct lpfc_dmabuf, list); in lpfc_sli_hbqbuf_get()
2258 struct lpfc_dmabuf *h_buf; in lpfc_sli_rqbuf_get()
2263 struct lpfc_dmabuf, list); in lpfc_sli_rqbuf_get()
2282 struct lpfc_dmabuf *d_buf; in lpfc_sli_hbqbuf_find()
2474 struct lpfc_dmabuf *mp; in lpfc_sli_def_mbox_cmpl()
2480 mp = (struct lpfc_dmabuf *)(pmb->ctx_buf); in lpfc_sli_def_mbox_cmpl()
2774 static struct lpfc_dmabuf *
2804 struct lpfc_dmabuf *d_bu in lpfc_nvme_unsol_ls_handler()
[all...]
H A Dlpfc_hbadisc.c1162 struct lpfc_dmabuf *sparam_mp; in lpfc_mbx_cmpl_local_config_link()
1211 sparam_mp = (struct lpfc_dmabuf *) in lpfc_mbx_cmpl_local_config_link()
3016 struct lpfc_dmabuf *dmabuf = mboxq->ctx_buf; in lpfc_mbx_cmpl_reg_vfi()
3109 struct lpfc_dmabuf *mp = (struct lpfc_dmabuf *)pmb->ctx_buf; in lpfc_mbx_cmpl_read_sparam()
3176 struct lpfc_dmabuf *mp; in lpfc_mbx_process_link_up()
3303 mp = (struct lpfc_dmabuf *)sparam_mbox->ctx_buf; in lpfc_mbx_process_link_up()
3436 struct lpfc_dmabuf *mp = (struct lpfc_dmabuf *)(pmb->ctx_buf); in lpfc_mbx_cmpl_read_topology()
3594 struct lpfc_dmabuf *m in lpfc_mbx_cmpl_reg_login()
[all...]
H A Dlpfc_nvme.c474 struct lpfc_dmabuf *buf_ptr; in __lpfc_nvme_ls_req_cmp()
495 buf_ptr = (struct lpfc_dmabuf *)cmdwqe->context3; in __lpfc_nvme_ls_req_cmp()
541 lpfc_nvme_gen_req(struct lpfc_vport *vport, struct lpfc_dmabuf *bmp, in lpfc_nvme_gen_req()
542 struct lpfc_dmabuf *inp, in lpfc_nvme_gen_req()
693 struct lpfc_dmabuf *bmp; in __lpfc_nvme_ls_req()
724 * in a lpfc_dmabuf struct. When freeing we just free the wrapper in __lpfc_nvme_ls_req()
H A Dlpfc_init.c416 struct lpfc_dmabuf *mp; in lpfc_config_port_post()
452 mp = (struct lpfc_dmabuf *)pmb->ctx_buf; in lpfc_config_port_post()
459 mp = (struct lpfc_dmabuf *)pmb->ctx_buf; in lpfc_config_port_post()
910 struct lpfc_dmabuf *mp, *next_mp; in lpfc_hba_free_post_buf()
1404 struct lpfc_dmabuf *buf_ptr; in lpfc_hb_timeout_handler()
1455 struct lpfc_dmabuf, list); in lpfc_hb_timeout_handler()
2081 struct lpfc_dmabuf *mp; in lpfc_handle_latt()
2090 mp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_handle_latt()
2598 struct lpfc_dmabuf *mp1, *mp2; in lpfc_post_buffer()
2614 mp1 = kmalloc(sizeof (struct lpfc_dmabuf), GFP_KERNE in lpfc_post_buffer()
[all...]
H A Dlpfc_vport.c122 struct lpfc_dmabuf *mp; in lpfc_vport_sparm()
141 mp = (struct lpfc_dmabuf *)pmb->ctx_buf; in lpfc_vport_sparm()
H A Dlpfc_sli4.h426 struct lpfc_dmabuf *dmabuf;
1005 struct lpfc_dmabuf *dmabuf;
/kernel/linux/linux-6.6/drivers/scsi/lpfc/
H A Dlpfc_ct.c84 struct lpfc_dmabuf *mp, uint32_t size) in lpfc_ct_ignore_hbq_buffer()
100 struct lpfc_dmabuf *mp, uint32_t size) in lpfc_ct_unsol_buffer()
119 struct lpfc_dmabuf *mp, *bmp; in lpfc_ct_unsol_cmpl()
161 struct lpfc_dmabuf *bmp = NULL; in lpfc_ct_reject_event()
162 struct lpfc_dmabuf *mp = NULL; in lpfc_ct_reject_event()
340 struct lpfc_dmabuf *mp = NULL; in lpfc_ct_unsol_event()
349 struct lpfc_dmabuf *bdeBuf1 = ctiocbq->cmd_dmabuf; in lpfc_ct_unsol_event()
350 struct lpfc_dmabuf *bdeBuf2 = ctiocbq->bpl_dmabuf; in lpfc_ct_unsol_event()
474 lpfc_free_ct_rsp(struct lpfc_hba *phba, struct lpfc_dmabuf *mlist) in lpfc_free_ct_rsp()
476 struct lpfc_dmabuf *mlas in lpfc_free_ct_rsp()
[all...]
H A Dlpfc_bsg.c77 struct lpfc_dmabuf *rmp;
84 struct lpfc_dmabuf *dmabuffers; /* for BIU diags */
124 struct lpfc_dmabuf dma;
130 lpfc_free_bsg_buffers(struct lpfc_hba *phba, struct lpfc_dmabuf *mlist) in lpfc_free_bsg_buffers()
132 struct lpfc_dmabuf *mlast, *next_mlast; in lpfc_free_bsg_buffers()
147 static struct lpfc_dmabuf *
152 struct lpfc_dmabuf *mlist = NULL; in lpfc_alloc_bsg_buffers()
153 struct lpfc_dmabuf *mp; in lpfc_alloc_bsg_buffers()
167 mp = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); in lpfc_alloc_bsg_buffers()
208 lpfc_bsg_copy_data(struct lpfc_dmabuf *dma_buffer
[all...]
H A Dlpfc.h140 struct lpfc_dmabuf { struct
156 struct lpfc_dmabuf *elements;
162 struct lpfc_dmabuf hbuf;
163 struct lpfc_dmabuf dbuf;
173 struct lpfc_dmabuf hbuf;
174 struct lpfc_dmabuf dbuf;
616 struct lpfc_dmabuf *fc_rscn_id_list[FC_MAX_HOLD_RSCN];
815 struct lpfc_dmabuf *mbx_dmabuf;
840 struct lpfc_dmabuf lwpd;
947 struct lpfc_dmabuf *bm
[all...]
H A Dlpfc_crtn.h39 int lpfc_read_topology(struct lpfc_hba *, LPFC_MBOXQ_t *, struct lpfc_dmabuf *);
369 struct lpfc_dmabuf *bmp, u16 cmd_size, u32 did,
372 struct lpfc_dmabuf *bmp, u16 rpi, u32 num_entry,
376 struct lpfc_dmabuf *bmp, u16 rpi, u16 ox_id,
392 struct lpfc_dmabuf *);
393 struct lpfc_dmabuf *lpfc_sli_ringpostbuf_get(struct lpfc_hba *,
398 struct lpfc_dmabuf * lpfc_sli_ring_taggedbuf_get(struct lpfc_hba *,
441 void lpfc_in_buf_free(struct lpfc_hba *, struct lpfc_dmabuf *);
442 void lpfc_rq_buf_free(struct lpfc_hba *phba, struct lpfc_dmabuf *mp);
557 struct lpfc_dmabuf *, uint32_
[all...]
H A Dlpfc_mem.c99 sizeof(struct lpfc_dmabuf), in lpfc_mem_alloc()
291 struct lpfc_dmabuf *mp; in lpfc_mem_free_all()
295 mp = (struct lpfc_dmabuf *)(mbox->ctx_buf); in lpfc_mem_free_all()
305 mp = (struct lpfc_dmabuf *)(mbox->ctx_buf); in lpfc_mem_free_all()
319 mp = (struct lpfc_dmabuf *)(mbox->ctx_buf); in lpfc_mem_free_all()
673 lpfc_in_buf_free(struct lpfc_hba *phba, struct lpfc_dmabuf *mp) in lpfc_in_buf_free()
717 lpfc_rq_buf_free(struct lpfc_hba *phba, struct lpfc_dmabuf *mp) in lpfc_rq_buf_free()
H A Dlpfc_sli.h129 struct lpfc_dmabuf *cmd_dmabuf;
130 struct lpfc_dmabuf *rsp_dmabuf;
131 struct lpfc_dmabuf *bpl_dmabuf;
H A Dlpfc_mbox.c65 struct lpfc_dmabuf *mp; in lpfc_mbox_rsrc_prep()
103 struct lpfc_dmabuf *mp; in lpfc_mbox_rsrc_cleanup()
105 mp = (struct lpfc_dmabuf *)mbox->ctx_buf; in lpfc_mbox_rsrc_cleanup()
137 struct lpfc_dmabuf *mp; in lpfc_dump_static_vport()
359 struct lpfc_dmabuf *mp) in lpfc_read_topology()
675 struct lpfc_dmabuf *mp; in lpfc_read_sparam()
818 struct lpfc_dmabuf *mp; in lpfc_reg_rpi()
2337 struct lpfc_dmabuf *mp = NULL; in lpfc_sli4_dump_cfg_rg23()
2386 struct lpfc_dmabuf *mp = (struct lpfc_dmabuf *)mbo in lpfc_mbx_cmpl_rdp_page_a2()
[all...]
H A Dlpfc_els.c170 struct lpfc_dmabuf *pcmd, *prsp, *pbuflist, *bmp; in lpfc_prep_els_iocb()
440 struct lpfc_dmabuf *dmabuf = NULL; in lpfc_issue_reg_vfi()
950 struct lpfc_dmabuf *pcmd = cmdiocb->cmd_dmabuf, *prsp; in lpfc_cmpl_els_flogi()
1107 prsp = list_get_first(&pcmd->list, struct lpfc_dmabuf, list); in lpfc_cmpl_els_flogi()
2010 struct lpfc_dmabuf *prsp; in lpfc_cmpl_els_plogi()
2121 struct lpfc_dmabuf, list); in lpfc_cmpl_els_plogi()
3364 struct lpfc_dmabuf *pcmd, *prsp; in lpfc_cmpl_els_disc_cmd()
3441 prsp = list_get_first(&pcmd->list, struct lpfc_dmabuf, list); in lpfc_cmpl_els_disc_cmd()
3986 struct lpfc_dmabuf *pcmd, *prsp; in lpfc_cmpl_els_edc()
4030 prsp = list_get_first(&pcmd->list, struct lpfc_dmabuf, lis in lpfc_cmpl_els_edc()
[all...]
H A Dlpfc_sli.c2387 struct lpfc_dmabuf *dmabuf, *next_dmabuf; in lpfc_sli_hbqbuf_free_all()
2634 struct lpfc_dmabuf *d_buf; in lpfc_sli_hbqbuf_get()
2636 list_remove_head(rb_list, d_buf, struct lpfc_dmabuf, list); in lpfc_sli_hbqbuf_get()
2653 struct lpfc_dmabuf *h_buf; in lpfc_sli_rqbuf_get()
2658 struct lpfc_dmabuf, list); in lpfc_sli_rqbuf_get()
2677 struct lpfc_dmabuf *d_buf; in lpfc_sli_hbqbuf_find()
2875 struct lpfc_dmabuf *mp; in lpfc_sli_def_mbox_cmpl()
2888 mp = (struct lpfc_dmabuf *)pmb->ctx_buf; in lpfc_sli_def_mbox_cmpl()
3183 static struct lpfc_dmabuf *
3213 struct lpfc_dmabuf *d_bu in lpfc_nvme_unsol_ls_handler()
[all...]
H A Dlpfc_vport.c122 struct lpfc_dmabuf *mp; in lpfc_vport_sparm()
169 mp = (struct lpfc_dmabuf *)pmb->ctx_buf; in lpfc_vport_sparm()
H A Dlpfc_nportdisc.c171 struct lpfc_dmabuf *pcmd, *prsp; in lpfc_check_elscmpl_iocb()
182 prsp = list_get_first(&pcmd->list, struct lpfc_dmabuf, in lpfc_check_elscmpl_iocb()
329 struct lpfc_dmabuf *pcmd; in lpfc_rcv_plogi()
710 struct lpfc_dmabuf *pcmd; in lpfc_rcv_padisc()
969 struct lpfc_dmabuf *pcmd; in lpfc_rcv_prli()
1240 struct lpfc_dmabuf *pcmd = cmdiocb->cmd_dmabuf; in lpfc_rcv_plogi_plogi_issue()
1350 struct lpfc_dmabuf *pcmd, *prsp; in lpfc_cmpl_plogi_plogi_issue()
1375 prsp = list_get_first(&pcmd->list, struct lpfc_dmabuf, list); in lpfc_cmpl_plogi_plogi_issue()

Completed in 81 milliseconds

12