Lines Matching defs:offset
38 * and by setting current_offset to an offset within the current iovec or mp.
43 offset_t offset;
54 offset = out->cd_offset;
56 offset >= uiop->uio_iov[vec_idx].iov_len;
57 offset -= uiop->uio_iov[vec_idx++].iov_len)
60 *current_offset = offset;
68 offset = out->cd_offset;
69 for (mp = out->cd_mp; mp != NULL && offset >= MBLKL(mp);
70 offset -= MBLKL(mp), mp = mp->b_cont)
73 *current_offset = offset;
84 * iovec or mp, and offset stores an offset into the current iovec or mp.
91 offset_t offset;
97 offset = *current_offset;
99 if ((offset + amt) <= iov->iov_len) {
101 *out_data_1 = (uint8_t *)iov->iov_base + offset;
104 *current_offset = offset + amt;
112 offset_t offset;
116 offset = *current_offset;
119 p = (uint8_t *)iov->iov_base + offset;
122 if (offset + amt <= iov->iov_len) {
126 *current_offset = offset + amt;
129 *out_data_1_len = iov->iov_len - offset;
145 offset = *current_offset;
147 p = mp->b_rptr + offset;
153 *current_offset = offset + amt;