Searched refs:tocopy (Results 1 – 2 of 2) sorted by relevance
787 unsigned int tocopy; in sock_receive_internal() local790 tocopy = m->m_len; in sock_receive_internal()793 tocopy = clen; in sock_receive_internal()795 memcpy(ctlbuf, mtod(m, caddr_t), tocopy); in sock_receive_internal()796 ctlbuf += tocopy; in sock_receive_internal()797 clen -= tocopy; in sock_receive_internal()
2053 socklen_t tocopy; in copyout_control() local2090 tocopy = tmp_space; in copyout_control()2093 tocopy = len; in copyout_control()2095 error = copyout(tmp_buffer, ctlbuf, tocopy); in copyout_control()2106 tocopy = 0; in copyout_control()2112 tocopy = cp_size; in copyout_control()2115 tocopy = len; in copyout_control()2117 error = copyout((caddr_t) cp, ctlbuf, tocopy); in copyout_control()2129 ctlbuf += tocopy; in copyout_control()2130 len -= tocopy; in copyout_control()