Home
last modified time | relevance | path

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

/freebsd/sys/opencrypto/
H A Dcriov.c315 cc->cc_offset = cb->cb_vm_page_offset; in crypto_cursor_init()
344 remain = cc->cc_mbuf->m_len - cc->cc_offset; in crypto_cursor_advance()
346 cc->cc_offset += amount; in crypto_cursor_advance()
351 cc->cc_offset = 0; in crypto_cursor_advance()
357 MPASS(cc->cc_mbuf->m_len >= cc->cc_offset + amount); in crypto_cursor_advance()
358 cc->cc_offset += amount; in crypto_cursor_advance()
364 remain = MIN(PAGE_SIZE - cc->cc_offset, cc->cc_buf_len); in crypto_cursor_advance()
367 cc->cc_offset += amount; in crypto_cursor_advance()
373 cc->cc_offset = 0; in crypto_cursor_advance()
380 remain = cc->cc_iov->iov_len - cc->cc_offset; in crypto_cursor_advance()
[all …]
H A Dcryptodev.h409 size_t cc_offset; member