Home
last modified time | relevance | path

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

/xnu-8796.141.3/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.c1834 socklen_t tocopy; in copyout_control() local
1871 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()