Lines Matching refs:cc_mbuf
312 cc->cc_mbuf = cb->cb_mbuf; in crypto_cursor_init()
346 remain = cc->cc_mbuf->m_len - cc->cc_offset; in crypto_cursor_advance()
352 cc->cc_mbuf = cc->cc_mbuf->m_next; in crypto_cursor_advance()
359 MPASS(cc->cc_mbuf->m_len >= cc->cc_offset + amount); in crypto_cursor_advance()
417 if (cc->cc_mbuf == NULL) { in crypto_cursor_segment()
436 if (cc->cc_mbuf->m_flags & M_EXTPG) in crypto_cursor_segment()
437 return (m_epg_segment(cc->cc_mbuf, cc->cc_offset, len)); in crypto_cursor_segment()
438 *len = cc->cc_mbuf->m_len - cc->cc_offset; in crypto_cursor_segment()
439 return (mtod(cc->cc_mbuf, char *) + cc->cc_offset); in crypto_cursor_segment()
475 remain = cc->cc_mbuf->m_len - cc->cc_offset; in crypto_cursor_copyback()
477 m_copyback(cc->cc_mbuf, cc->cc_offset, todo, src); in crypto_cursor_copyback()
484 cc->cc_mbuf = cc->cc_mbuf->m_next; in crypto_cursor_copyback()
491 MPASS(cc->cc_mbuf->m_len >= cc->cc_offset + size); in crypto_cursor_copyback()
492 m_copyback(cc->cc_mbuf, cc->cc_offset, size, src); in crypto_cursor_copyback()
564 remain = cc->cc_mbuf->m_len - cc->cc_offset; in crypto_cursor_copydata()
566 m_copydata(cc->cc_mbuf, cc->cc_offset, todo, dst); in crypto_cursor_copydata()
573 cc->cc_mbuf = cc->cc_mbuf->m_next; in crypto_cursor_copydata()
580 MPASS(cc->cc_mbuf->m_len >= cc->cc_offset + size); in crypto_cursor_copydata()
581 m_copydata(cc->cc_mbuf, cc->cc_offset, size, dst); in crypto_cursor_copydata()