Home
last modified time | relevance | path

Searched refs:tocopy (Results 1 – 2 of 2) sorted by relevance

/xnu-8019.80.24/bsd/kern/
H A Dkpi_socket.c789 unsigned int tocopy; in sock_receive_internal() local
792 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()
H A Duipc_syscalls.c1789 socklen_t tocopy; in copyout_control() local
1826 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()