Lines Matching defs:bd_tbl
55 struct iscsi_bd *bd_tbl = cmd->io_tbl.bd_tbl;
60 while (buf_off >= (cur_offset + bd_tbl->buffer_length)) {
61 cur_offset += bd_tbl->buffer_length;
63 bd_tbl++;
122 i, cmd->io_tbl.bd_tbl[i].\
142 struct iscsi_bd *bd = cmd->io_tbl.bd_tbl;
188 struct iscsi_bd *bd = cmd->io_tbl.bd_tbl;
438 io->bd_tbl = dma_alloc_coherent(&hba->pcidev->dev,
441 if (!io->bd_tbl) {
465 if (cmd->io_tbl.bd_tbl)
469 cmd->io_tbl.bd_tbl,
1033 struct iscsi_bd *bd_tbl;
1035 bd_tbl = (struct iscsi_bd *) bnx2i_conn->gen_pdu.req_bd_tbl;
1037 bd_tbl->buffer_addr_hi =
1039 bd_tbl->buffer_addr_lo = (u32) bnx2i_conn->gen_pdu.req_dma_addr;
1040 bd_tbl->buffer_length = bnx2i_conn->gen_pdu.req_wr_ptr -
1042 bd_tbl->reserved0 = 0;
1043 bd_tbl->flags = ISCSI_BD_LAST_IN_BD_CHAIN |
1046 bd_tbl = (struct iscsi_bd *) bnx2i_conn->gen_pdu.resp_bd_tbl;
1047 bd_tbl->buffer_addr_hi = (u64) bnx2i_conn->gen_pdu.resp_dma_addr >> 32;
1048 bd_tbl->buffer_addr_lo = (u32) bnx2i_conn->gen_pdu.resp_dma_addr;
1049 bd_tbl->buffer_length = ISCSI_DEF_MAX_RECV_SEG_LEN;
1050 bd_tbl->reserved0 = 0;
1051 bd_tbl->flags = ISCSI_BD_LAST_IN_BD_CHAIN |