Lines Matching refs:bd_count
1784 int bd_count = 0; in qedi_map_scsi_sg() local
1805 bd[bd_count].sge_addr.lo = (addr & 0xffffffff); in qedi_map_scsi_sg()
1806 bd[bd_count].sge_addr.hi = (addr >> 32); in qedi_map_scsi_sg()
1807 bd[bd_count].sge_len = (u16)sg_len; in qedi_map_scsi_sg()
1813 return ++bd_count; in qedi_map_scsi_sg()
1849 sg_frags = qedi_split_bd(cmd, addr, sg_len, bd_count); in qedi_map_scsi_sg()
1852 bd[bd_count].sge_addr.lo = addr & 0xffffffff; in qedi_map_scsi_sg()
1853 bd[bd_count].sge_addr.hi = addr >> 32; in qedi_map_scsi_sg()
1854 bd[bd_count].sge_len = sg_len; in qedi_map_scsi_sg()
1857 bd_count += sg_frags; in qedi_map_scsi_sg()
1870 return bd_count; in qedi_map_scsi_sg()
1875 int bd_count; in qedi_iscsi_map_sg_list() local
1879 bd_count = qedi_map_scsi_sg(cmd->conn->qedi, cmd); in qedi_iscsi_map_sg_list()
1880 if (bd_count == 0) in qedi_iscsi_map_sg_list()
1888 bd_count = 0; in qedi_iscsi_map_sg_list()
1890 cmd->io_tbl.sge_valid = bd_count; in qedi_iscsi_map_sg_list()