Searched refs:bd_tbl (Results 1 – 8 of 8) sorted by relevance
59 struct iscsi_bd *bd_tbl = cmd->io_tbl.bd_tbl; in bnx2i_get_write_cmd_bd_idx() local64 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 …]
240 struct iscsi_bd *bd_tbl; member
318 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() local456 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() local511 bd_tbl = io_req->bd_tbl = cmd_mgr->io_bdt_pool[xid]; in bnx2fc_cmd_alloc()[all …]
1496 struct fcoe_bd_ctx *bd = orig_io_req->bd_tbl->bd_tbl; in bnx2fc_init_seq_cleanup_task()1502 u64 phys_addr = (u64)orig_io_req->bd_tbl->bd_tbl_dma; in bnx2fc_init_seq_cleanup_task()1533 bd_count = orig_io_req->bd_tbl->bd_valid; in bnx2fc_init_seq_cleanup_task()1708 struct io_bdt *bd_tbl = io_req->bd_tbl; in bnx2fc_init_task() local1730 bd_count = bd_tbl->bd_valid; in bnx2fc_init_task()1734 struct fcoe_bd_ctx *fcoe_bd_tbl = bd_tbl->bd_tbl; in bnx2fc_init_task()1750 (u32)bd_tbl->bd_tbl_dma; in bnx2fc_init_task()1752 (u32)((u64)bd_tbl->bd_tbl_dma >> 32); in bnx2fc_init_task()1754 bd_tbl->bd_valid; in bnx2fc_init_task()1813 bd_count = bd_tbl->bd_valid; in bnx2fc_init_task()[all …]
444 struct io_bdt *bd_tbl; member477 struct fcoe_bd_ctx *bd_tbl; member
133 if (bdt_info->bd_tbl) { in qedf_cmd_mgr_free()135 bdt_info->bd_tbl, bdt_info->bd_tbl_dma); in qedf_cmd_mgr_free()136 bdt_info->bd_tbl = NULL; in qedf_cmd_mgr_free()282 bdt_info->bd_tbl = dma_alloc_coherent(&qedf->pdev->dev, in qedf_cmd_mgr_alloc()285 if (!bdt_info->bd_tbl) { in qedf_cmd_mgr_alloc()308 struct io_bdt *bd_tbl; in qedf_alloc_cmd() local385 bd_tbl = io_req->bd_tbl = cmd_mgr->io_bdt_pool[xid]; in qedf_alloc_cmd()386 if (bd_tbl == NULL) { in qedf_alloc_cmd()391 bd_tbl->io_req = io_req; in qedf_alloc_cmd()482 struct scsi_sge *bd = io_req->bd_tbl->bd_tbl; in qedf_map_sg()[all …]
142 struct io_bdt *bd_tbl; member429 struct scsi_sge *bd_tbl; member
723 struct scsi_sge *bd_tbl; in qedi_iscsi_prep_generic_pdu_bd() local725 bd_tbl = (struct scsi_sge *)qedi_conn->gen_pdu.req_bd_tbl; in qedi_iscsi_prep_generic_pdu_bd()727 bd_tbl->sge_addr.hi = in qedi_iscsi_prep_generic_pdu_bd()729 bd_tbl->sge_addr.lo = (u32)qedi_conn->gen_pdu.req_dma_addr; in qedi_iscsi_prep_generic_pdu_bd()730 bd_tbl->sge_len = qedi_conn->gen_pdu.req_wr_ptr - in qedi_iscsi_prep_generic_pdu_bd()732 bd_tbl = (struct scsi_sge *)qedi_conn->gen_pdu.resp_bd_tbl; in qedi_iscsi_prep_generic_pdu_bd()733 bd_tbl->sge_addr.hi = in qedi_iscsi_prep_generic_pdu_bd()735 bd_tbl->sge_addr.lo = (u32)qedi_conn->gen_pdu.resp_dma_addr; in qedi_iscsi_prep_generic_pdu_bd()736 bd_tbl->sge_len = ISCSI_DEF_MAX_RECV_SEG_LEN; in qedi_iscsi_prep_generic_pdu_bd()