Lines Matching refs:offset
165 int offset, resid, tlen, rc;
180 offset = mbc->chain_offset;
181 resid = mbc->max_bytes - offset;
182 if (smb_mbc_peek(mbc, offset, "#c", tlen, tmp_hdr) != 0)
187 offset += tlen;
197 while (mbuf != NULL && (offset >= mbuf->m_len)) {
198 offset -= mbuf->m_len;
207 * residual count, and starting at the current offset.
210 tlen = mbuf->m_len - offset;
213 rc = smb2_hmac_update(ctx, (uint8_t *)mbuf->m_data + offset, tlen);