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()
1834 socklen_t tocopy; in copyout_control() local1871 tocopy = tmp_space; in copyout_control()1874 tocopy = len; in copyout_control()1876 error = copyout(tmp_buffer, ctlbuf, tocopy); in copyout_control()1887 tocopy = 0; in copyout_control()1894 tocopy = cp_size; in copyout_control()1897 tocopy = len; in copyout_control()1899 error = copyout((caddr_t) cp, ctlbuf, tocopy); in copyout_control()1910 ctlbuf += tocopy; in copyout_control()1911 len -= tocopy; in copyout_control()