Lines Matching refs:bd_count
486 int bd_count = 0;
513 bd[bd_count].sge_addr.lo = cpu_to_le32(U64_LO(addr));
514 bd[bd_count].sge_addr.hi = cpu_to_le32(U64_HI(addr));
515 bd[bd_count].sge_len = cpu_to_le32(sg_len);
517 bd_count++;
530 return bd_count;
537 int bd_count;
540 bd_count = qedf_map_sg(io_req);
541 if (bd_count == 0)
544 bd_count = 0;
548 io_req->bd_tbl->bd_valid = bd_count;
600 int bd_count = 0;
640 bd_count = bd_tbl->bd_valid;
646 io_req->sgl_task_params->num_sges = bd_count;