Lines Matching refs:headspace
331 int headspace = 0;
335 headspace += RCMD_LEN_SZ;
339 headspace += RCMD_LEN_SZ;
344 headspace += null_hash.hash_len + null_hash.confound_len;
347 headspace += crc32_hash.hash_len + crc32_hash.confound_len;
350 headspace += md5_hash.hash_len + md5_hash.confound_len;
353 headspace += sha1_hash.confound_len;
356 headspace += md5_hash.hash_len + md5_hash.confound_len;
360 headspace += DEFAULT_AES_BLOCKLEN;
367 return (headspace);
2961 size_t headspace;
2991 headspace = plaintext_offset(&tmi->enc_data);
3011 * headspace includes the length fields needed
3014 ASSERT(cbp->b_rptr + P2ROUNDUP(plainlen+headspace, 8)
3017 cbp->b_rptr = DB_BASE(cbp) + headspace;
3043 (cbp->b_rptr - headspace < DB_BASE(cbp))) {
3044 ovbcopy(cbp->b_rptr, DB_BASE(cbp) + headspace,
3046 cbp->b_rptr = DB_BASE(cbp) + headspace;
3051 ASSERT(cbp->b_rptr - headspace >= DB_BASE(cbp));