Lines Matching refs:tocopy
3440 int tocopy; in decrypt_rcmd_mblks() local
3450 tocopy = sizeof (uint32_t) - in decrypt_rcmd_mblks()
3452 if (tocopy > msglen) in decrypt_rcmd_mblks()
3453 tocopy = msglen; in decrypt_rcmd_mblks()
3455 ASSERT(mp->b_rptr + tocopy <= DB_LIM(mp)); in decrypt_rcmd_mblks()
3458 tmi->rcmd_state.cd_len), tocopy); in decrypt_rcmd_mblks()
3460 tmi->rcmd_state.cd_len += tocopy; in decrypt_rcmd_mblks()
3481 msglen -= tocopy; in decrypt_rcmd_mblks()
3482 mp->b_rptr += tocopy; in decrypt_rcmd_mblks()
3577 size_t tocopy; in decrypt_rcmd_mblks() local
3583 tocopy = (needed >= n ? n : needed); in decrypt_rcmd_mblks()
3585 ASSERT(bp->b_rptr + tocopy <= DB_LIM(bp)); in decrypt_rcmd_mblks()
3586 ASSERT(tmi->rcmd_state.c_msg->b_wptr + tocopy <= in decrypt_rcmd_mblks()
3591 tocopy); in decrypt_rcmd_mblks()
3593 tmi->rcmd_state.c_msg->b_wptr += tocopy; in decrypt_rcmd_mblks()
3595 bp->b_rptr += tocopy; in decrypt_rcmd_mblks()