Home
last modified time | relevance | path

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

/xnu-8792.81.2/bsd/kern/
H A Dkpi_socket.c791 unsigned int tocopy; in sock_receive_internal() local
794 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()
H A Duipc_syscalls.c1829 socklen_t tocopy; in copyout_control() local
1866 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()