Lines Matching refs:bd_count
481 int bd_count = 0;
508 bd[bd_count].sge_addr.lo = cpu_to_le32(U64_LO(addr));
509 bd[bd_count].sge_addr.hi = cpu_to_le32(U64_HI(addr));
510 bd[bd_count].sge_len = cpu_to_le32(sg_len);
512 bd_count++;
525 return bd_count;
532 int bd_count;
535 bd_count = qedf_map_sg(io_req);
536 if (bd_count == 0)
539 bd_count = 0;
543 io_req->bd_tbl->bd_valid = bd_count;
599 int bd_count = 0;
639 bd_count = bd_tbl->bd_valid;
645 io_req->sgl_task_params->num_sges = bd_count;