Home
last modified time | relevance | path

Searched refs:bd_tbl (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c59 struct iscsi_bd *bd_tbl = cmd->io_tbl.bd_tbl; in bnx2i_get_write_cmd_bd_idx() local
64 while (buf_off >= (cur_offset + bd_tbl->buffer_length)) { in bnx2i_get_write_cmd_bd_idx()
65 cur_offset += bd_tbl->buffer_length; in bnx2i_get_write_cmd_bd_idx()
67 bd_tbl++; in bnx2i_get_write_cmd_bd_idx()
126 i, cmd->io_tbl.bd_tbl[i].\ in bnx2i_setup_write_cmd_bd_info()
146 struct iscsi_bd *bd = cmd->io_tbl.bd_tbl; in bnx2i_map_scsi_sg()
192 struct iscsi_bd *bd = cmd->io_tbl.bd_tbl; in bnx2i_iscsi_map_sg_list()
450 io->bd_tbl = dma_alloc_coherent(&hba->pcidev->dev, in bnx2i_alloc_bdt()
453 if (!io->bd_tbl) { in bnx2i_alloc_bdt()
476 if (cmd->io_tbl.bd_tbl) in bnx2i_destroy_cmd_pool()
[all …]
Dbnx2i.h240 struct iscsi_bd *bd_tbl; member
/linux-6.1.9/drivers/scsi/bnx2fc/
Dbnx2fc_io.c318 bdt_info->bd_tbl = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_cmd_mgr_alloc()
322 if (!bdt_info->bd_tbl) { in bnx2fc_cmd_mgr_alloc()
355 if (bdt_info->bd_tbl) { in bnx2fc_cmd_mgr_free()
357 bdt_info->bd_tbl, in bnx2fc_cmd_mgr_free()
359 bdt_info->bd_tbl = NULL; in bnx2fc_cmd_mgr_free()
401 struct io_bdt *bd_tbl; in bnx2fc_elstm_alloc() local
456 bd_tbl = io_req->bd_tbl = cmd_mgr->io_bdt_pool[xid]; in bnx2fc_elstm_alloc()
457 bd_tbl->io_req = io_req; in bnx2fc_elstm_alloc()
471 struct io_bdt *bd_tbl; in bnx2fc_cmd_alloc() local
509 bd_tbl = io_req->bd_tbl = cmd_mgr->io_bdt_pool[xid]; in bnx2fc_cmd_alloc()
[all …]
Dbnx2fc_hwi.c1495 struct fcoe_bd_ctx *bd = orig_io_req->bd_tbl->bd_tbl; in bnx2fc_init_seq_cleanup_task()
1501 u64 phys_addr = (u64)orig_io_req->bd_tbl->bd_tbl_dma; in bnx2fc_init_seq_cleanup_task()
1532 bd_count = orig_io_req->bd_tbl->bd_valid; in bnx2fc_init_seq_cleanup_task()
1707 struct io_bdt *bd_tbl = io_req->bd_tbl; in bnx2fc_init_task() local
1729 bd_count = bd_tbl->bd_valid; in bnx2fc_init_task()
1733 struct fcoe_bd_ctx *fcoe_bd_tbl = bd_tbl->bd_tbl; in bnx2fc_init_task()
1749 (u32)bd_tbl->bd_tbl_dma; in bnx2fc_init_task()
1751 (u32)((u64)bd_tbl->bd_tbl_dma >> 32); in bnx2fc_init_task()
1753 bd_tbl->bd_valid; in bnx2fc_init_task()
1812 bd_count = bd_tbl->bd_valid; in bnx2fc_init_task()
[all …]
Dbnx2fc.h441 struct io_bdt *bd_tbl; member
474 struct fcoe_bd_ctx *bd_tbl; member
/linux-6.1.9/drivers/scsi/qedf/
Dqedf_io.c128 if (bdt_info->bd_tbl) { in qedf_cmd_mgr_free()
130 bdt_info->bd_tbl, bdt_info->bd_tbl_dma); in qedf_cmd_mgr_free()
131 bdt_info->bd_tbl = NULL; in qedf_cmd_mgr_free()
277 bdt_info->bd_tbl = dma_alloc_coherent(&qedf->pdev->dev, in qedf_cmd_mgr_alloc()
280 if (!bdt_info->bd_tbl) { in qedf_cmd_mgr_alloc()
303 struct io_bdt *bd_tbl; in qedf_alloc_cmd() local
380 bd_tbl = io_req->bd_tbl = cmd_mgr->io_bdt_pool[xid]; in qedf_alloc_cmd()
381 if (bd_tbl == NULL) { in qedf_alloc_cmd()
386 bd_tbl->io_req = io_req; in qedf_alloc_cmd()
477 struct scsi_sge *bd = io_req->bd_tbl->bd_tbl; in qedf_map_sg()
[all …]
Dqedf.h138 struct io_bdt *bd_tbl; member
435 struct scsi_sge *bd_tbl; member
/linux-6.1.9/drivers/scsi/qedi/
Dqedi_iscsi.c755 struct scsi_sge *bd_tbl; in qedi_iscsi_prep_generic_pdu_bd() local
757 bd_tbl = (struct scsi_sge *)qedi_conn->gen_pdu.req_bd_tbl; in qedi_iscsi_prep_generic_pdu_bd()
759 bd_tbl->sge_addr.hi = in qedi_iscsi_prep_generic_pdu_bd()
761 bd_tbl->sge_addr.lo = (u32)qedi_conn->gen_pdu.req_dma_addr; in qedi_iscsi_prep_generic_pdu_bd()
762 bd_tbl->sge_len = qedi_conn->gen_pdu.req_wr_ptr - in qedi_iscsi_prep_generic_pdu_bd()
764 bd_tbl = (struct scsi_sge *)qedi_conn->gen_pdu.resp_bd_tbl; in qedi_iscsi_prep_generic_pdu_bd()
765 bd_tbl->sge_addr.hi = in qedi_iscsi_prep_generic_pdu_bd()
767 bd_tbl->sge_addr.lo = (u32)qedi_conn->gen_pdu.resp_dma_addr; in qedi_iscsi_prep_generic_pdu_bd()
768 bd_tbl->sge_len = ISCSI_DEF_MAX_RECV_SEG_LEN; in qedi_iscsi_prep_generic_pdu_bd()