Searched refs:tocopy (Results 1 – 2 of 2) sorted by relevance
791 unsigned int tocopy; in sock_receive_internal() local794 tocopy = m->m_len; in sock_receive_internal()797 tocopy = clen; in sock_receive_internal()799 memcpy(ctlbuf, mtod(m, caddr_t), tocopy); in sock_receive_internal()800 ctlbuf += tocopy; in sock_receive_internal()801 clen -= tocopy; in sock_receive_internal()
1829 socklen_t tocopy; in copyout_control() local1866 tocopy = tmp_space; in copyout_control()1869 tocopy = len; in copyout_control()1871 error = copyout(tmp_buffer, ctlbuf, tocopy); in copyout_control()1882 tocopy = 0; in copyout_control()1889 tocopy = cp_size; in copyout_control()1892 tocopy = len; in copyout_control()1894 error = copyout((caddr_t) cp, ctlbuf, tocopy); in copyout_control()1905 ctlbuf += tocopy; in copyout_control()1906 len -= tocopy; in copyout_control()