Lines Matching refs:rcount
336 long bcount, rcount;
353 for (bcount = bp->b_bcount; bcount > 0; bcount -= rcount) {
354 rcount = bp->b_bcount;
355 if ((adi->adi_compsize - bn) < btodb(rcount))
356 rcount = dbtob(adi->adi_compsize - bn);
358 cbp = ld_ataraid_make_cbuf(sc, bp, comp, bn, addr, rcount);
376 addr += rcount;
394 long bcount, rcount;
406 for (bcount = bp->b_bcount; bcount > 0; bcount -= rcount) {
419 rcount = min(bcount, dbtob(sz));
424 rcount = min(bcount, dbtob(aai->aai_interleave - off));
445 cbp = ld_ataraid_make_cbuf(sc, bp, comp, cbn, addr, rcount);
463 comp, cbn, addr, rcount);
472 bn += btodb(rcount);
473 addr += rcount;