Home
last modified time | relevance | path

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

/xnu-10063.101.15/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.c2043 socklen_t tocopy; in copyout_control() local
2080 tocopy = tmp_space; in copyout_control()
2083 tocopy = len; in copyout_control()
2085 error = copyout(tmp_buffer, ctlbuf, tocopy); in copyout_control()
2096 tocopy = 0; in copyout_control()
2102 tocopy = cp_size; in copyout_control()
2105 tocopy = len; in copyout_control()
2107 error = copyout((caddr_t) cp, ctlbuf, tocopy); in copyout_control()
2119 ctlbuf += tocopy; in copyout_control()
2120 len -= tocopy; in copyout_control()