Lines Matching refs:offset

288 	off_t offset = data->cd_offset;
302 offset >= data->cd_uio->uio_iov[vec_idx].iov_len;
303 offset -= data->cd_uio->uio_iov[vec_idx++].iov_len)
307 * The caller specified an offset that is larger than the
318 offset, length);
321 uio_iov[vec_idx].iov_base + offset, cur_len);
324 offset = 0;
350 off_t offset = digest->cd_offset;
361 for (vec_idx = 0; offset >= digest->cd_uio->uio_iov[vec_idx].iov_len &&
363 offset -= digest->cd_uio->uio_iov[vec_idx++].iov_len)
367 * The caller specified an offset that is
374 if (offset + digest_len <=
392 cd_uio->uio_iov[vec_idx].iov_base + offset,
396 cd_uio->uio_iov[vec_idx].iov_base + offset,
417 offset, length);
419 digest->cd_uio->uio_iov[vec_idx].iov_base + offset,
425 offset = 0;
448 off_t offset = data->cd_offset;
456 for (mp = data->cd_mp; mp != NULL && offset >= MBLKL(mp);
457 offset -= MBLKL(mp), mp = mp->b_cont)
461 * The caller specified an offset that is larger than the
471 cur_len = MIN(MBLKL(mp) - offset, length);
472 SHA2Update(sha2_ctx, mp->b_rptr + offset, cur_len);
474 offset = 0;
501 off_t offset = digest->cd_offset;
507 for (mp = digest->cd_mp; mp != NULL && offset >= MBLKL(mp);
508 offset -= MBLKL(mp), mp = mp->b_cont)
512 * The caller specified an offset that is larger than the
518 if (offset + digest_len <= MBLKL(mp)) {
533 bcopy(digest_scratch, mp->b_rptr + offset, digest_len);
535 SHA2Final(mp->b_rptr + offset, sha2_ctx);
552 cur_len = MIN(MBLKL(mp) - offset, length);
554 mp->b_rptr + offset, cur_len);
559 offset = 0;
1420 off_t offset = mac->cd_offset;
1432 offset >= mac->cd_uio->uio_iov[vec_idx].iov_len &&
1434 offset -= mac->cd_uio->uio_iov[vec_idx++].iov_len)
1438 * The caller specified an offset that is
1449 offset, length);
1452 mac->cd_uio->uio_iov[vec_idx].iov_base + offset,
1461 offset = 0;
1467 off_t offset = mac->cd_offset;
1474 for (mp = mac->cd_mp; mp != NULL && offset >= MBLKL(mp);
1475 offset -= MBLKL(mp), mp = mp->b_cont)
1479 * The caller specified an offset that is larger than
1487 cur_len = MIN(MBLKL(mp) - offset, length);
1489 mp->b_rptr + offset, cur_len) != 0) {
1497 offset = 0;