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()
1793 socklen_t tocopy; in copyout_control() local1830 tocopy = tmp_space; in copyout_control()1833 tocopy = len; in copyout_control()1835 error = copyout(tmp_buffer, ctlbuf, tocopy); in copyout_control()1846 tocopy = 0; in copyout_control()1853 tocopy = cp_size; in copyout_control()1856 tocopy = len; in copyout_control()1858 error = copyout((caddr_t) cp, ctlbuf, tocopy); in copyout_control()1869 ctlbuf += tocopy; in copyout_control()1870 len -= tocopy; in copyout_control()