Lines Matching refs:start_blk
172 uint32_t start_blk, i;
202 * Get start_blk from user request:
203 * start_blk = bp2->bio_offset / 65536 = 65540/65536 = 1
205 * pos(in stream from parent) = sc->offsets[start_blk] % bsize =
212 start_blk = bp2->bio_offset / sc->blksz;
215 pos = sc->offsets[start_blk] % bsize;
218 DPRINTF(("%s: done: bio_length %jd bio_completed %jd start_blk %d, "
221 start_blk, (intmax_t)pos, (intmax_t)upos,
224 for (i = start_blk; upos < bp2->bio_length; i++) {
227 uoff = i == start_blk ? bp2->bio_offset % sc->blksz : 0;
327 uint32_t start_blk, end_blk;
346 start_blk = bp->bio_offset / sc->blksz;
348 KASSERT(start_blk < sc->nblocks, ("start_blk out of range"));
352 if (start_blk + 1 == end_blk) {
354 if (start_blk == sc->last_blk) {
381 gp->name, start_blk, end_blk,
386 bp2->bio_offset = rounddown(sc->offsets[start_blk], bsize);
401 (uintmax_t)sc->offsets[start_blk],
402 (uintmax_t)sc->offsets[end_blk] - sc->offsets[start_blk],