Lines Matching refs:offset

264 	off_t offset = data->cd_offset;
278 offset >= data->cd_uio->uio_iov[vec_idx].iov_len;
279 offset -= data->cd_uio->uio_iov[vec_idx++].iov_len)
283 * The caller specified an offset that is larger than the
294 offset, length);
297 (uint8_t *)data->cd_uio->uio_iov[vec_idx].iov_base + offset,
302 offset = 0;
328 off_t offset = digest->cd_offset;
339 for (vec_idx = 0; offset >= digest->cd_uio->uio_iov[vec_idx].iov_len &&
341 offset -= digest->cd_uio->uio_iov[vec_idx++].iov_len)
345 * The caller specified an offset that is
352 if (offset + digest_len <=
366 cd_uio->uio_iov[vec_idx].iov_base + offset,
370 cd_uio->uio_iov[vec_idx].iov_base + offset,
389 offset, length);
391 digest->cd_uio->uio_iov[vec_idx].iov_base + offset,
397 offset = 0;
420 off_t offset = data->cd_offset;
428 for (mp = data->cd_mp; mp != NULL && offset >= MBLKL(mp);
429 offset -= MBLKL(mp), mp = mp->b_cont)
433 * The caller specified an offset that is larger than the
443 cur_len = MIN(MBLKL(mp) - offset, length);
444 SHA1Update(sha1_ctx, mp->b_rptr + offset, cur_len);
446 offset = 0;
473 off_t offset = digest->cd_offset;
479 for (mp = digest->cd_mp; mp != NULL && offset >= MBLKL(mp);
480 offset -= MBLKL(mp), mp = mp->b_cont)
484 * The caller specified an offset that is larger than the
490 if (offset + digest_len <= MBLKL(mp)) {
502 bcopy(digest_scratch, mp->b_rptr + offset, digest_len);
504 SHA1Final(mp->b_rptr + offset, sha1_ctx);
521 cur_len = MIN(MBLKL(mp) - offset, length);
523 mp->b_rptr + offset, cur_len);
528 offset = 0;
1265 off_t offset = mac->cd_offset;
1277 offset >= mac->cd_uio->uio_iov[vec_idx].iov_len &&
1279 offset -= mac->cd_uio->uio_iov[vec_idx++].iov_len)
1283 * The caller specified an offset that is
1294 offset, length);
1297 mac->cd_uio->uio_iov[vec_idx].iov_base + offset,
1306 offset = 0;
1312 off_t offset = mac->cd_offset;
1319 for (mp = mac->cd_mp; mp != NULL && offset >= MBLKL(mp);
1320 offset -= MBLKL(mp), mp = mp->b_cont)
1324 * The caller specified an offset that is larger than
1332 cur_len = MIN(MBLKL(mp) - offset, length);
1334 mp->b_rptr + offset, cur_len) != 0) {
1342 offset = 0;