Home
last modified time | relevance | path

Searched refs:cc_offset (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/opencrypto/
H A Dcriov.c317 cc->cc_offset = cb->cb_vm_page_offset; in crypto_cursor_init()
346 remain = cc->cc_mbuf->m_len - cc->cc_offset; in crypto_cursor_advance()
348 cc->cc_offset += amount; in crypto_cursor_advance()
353 cc->cc_offset = 0; in crypto_cursor_advance()
359 MPASS(cc->cc_mbuf->m_len >= cc->cc_offset + amount); in crypto_cursor_advance()
360 cc->cc_offset += amount; in crypto_cursor_advance()
366 remain = MIN(PAGE_SIZE - cc->cc_offset, cc->cc_buf_len); in crypto_cursor_advance()
369 cc->cc_offset += amount; in crypto_cursor_advance()
375 cc->cc_offset = 0; in crypto_cursor_advance()
382 remain = cc->cc_iov->iov_len - cc->cc_offset; in crypto_cursor_advance()
[all …]
H A Dcryptodev.h409 size_t cc_offset; member