Home
last modified time | relevance | path

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

/xnu-8020.121.3/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.c1793 socklen_t tocopy; in copyout_control() local
1830 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()