Lines Matching refs:tocopy
3444 int tocopy; in decrypt_rcmd_mblks() local
3454 tocopy = sizeof (uint32_t) - in decrypt_rcmd_mblks()
3456 if (tocopy > msglen) in decrypt_rcmd_mblks()
3457 tocopy = msglen; in decrypt_rcmd_mblks()
3459 ASSERT(mp->b_rptr + tocopy <= DB_LIM(mp)); in decrypt_rcmd_mblks()
3462 tmi->rcmd_state.cd_len), tocopy); in decrypt_rcmd_mblks()
3464 tmi->rcmd_state.cd_len += tocopy; in decrypt_rcmd_mblks()
3485 msglen -= tocopy; in decrypt_rcmd_mblks()
3486 mp->b_rptr += tocopy; in decrypt_rcmd_mblks()
3581 size_t tocopy; in decrypt_rcmd_mblks() local
3587 tocopy = (needed >= n ? n : needed); in decrypt_rcmd_mblks()
3589 ASSERT(bp->b_rptr + tocopy <= DB_LIM(bp)); in decrypt_rcmd_mblks()
3590 ASSERT(tmi->rcmd_state.c_msg->b_wptr + tocopy <= in decrypt_rcmd_mblks()
3595 tocopy); in decrypt_rcmd_mblks()
3597 tmi->rcmd_state.c_msg->b_wptr += tocopy; in decrypt_rcmd_mblks()
3599 bp->b_rptr += tocopy; in decrypt_rcmd_mblks()