Searched refs:tocopy (Results 1 – 2 of 2) sorted by relevance
789 unsigned int tocopy; in sock_receive_internal() local792 tocopy = m->m_len; in sock_receive_internal()795 tocopy = clen; in sock_receive_internal()797 memcpy(ctlbuf, mtod(m, caddr_t), tocopy); in sock_receive_internal()798 ctlbuf += tocopy; in sock_receive_internal()799 clen -= tocopy; in sock_receive_internal()
1789 socklen_t tocopy; in copyout_control() local1826 tocopy = tmp_space; in copyout_control()1829 tocopy = len; in copyout_control()1831 error = copyout(tmp_buffer, ctlbuf, tocopy); in copyout_control()1842 tocopy = 0; in copyout_control()1849 tocopy = cp_size; in copyout_control()1852 tocopy = len; in copyout_control()1854 error = copyout((caddr_t) cp, ctlbuf, tocopy); in copyout_control()1865 ctlbuf += tocopy; in copyout_control()1866 len -= tocopy; in copyout_control()