Lines Matching defs:curcnt
425 u32 flags = 0, cnt, curcnt;
440 curcnt = (ocp->seg_map_cnt - ocp->cur_seg);
441 curcnt = (curcnt < io->sgl_allocated) ? curcnt : io->sgl_allocated;
447 for (cnt = 0; cnt < curcnt; cnt++, sg = sg_next(sg)) {
458 return efct_scsi_recv_wr_data(io, flags, sgl, curcnt, length,
470 uint flags = 0, cnt = 0, curcnt = 0;
496 curcnt = min(ocp->seg_map_cnt - ocp->cur_seg, io->sgl_allocated);
498 while (cnt < curcnt) {
526 return efct_scsi_send_rd_data(io, flags, sgl, curcnt, length,