Searched refs:tocopy (Results 1 – 3 of 3) sorted by relevance
| /xnu-12377.1.9/bsd/kern/ |
| H A D | kpi_socket.c | 787 unsigned int tocopy; in sock_receive_internal() local 790 tocopy = m->m_len; in sock_receive_internal() 793 tocopy = clen; in sock_receive_internal() 795 memcpy(ctlbuf, mtod(m, caddr_t), tocopy); in sock_receive_internal() 796 ctlbuf += tocopy; in sock_receive_internal() 797 clen -= tocopy; in sock_receive_internal()
|
| H A D | uipc_socket2.c | 1703 int tocopy = min((int)M_TRAILINGSPACE(n), m->m_len); in sbcompress() local 1705 tocopy); in sbcompress() 1706 n->m_len += tocopy; in sbcompress() 1707 sb->sb_cc += tocopy; in sbcompress() 1720 if (tocopy < m->m_len) { in sbcompress() 1722 mtod(m, caddr_t) + tocopy, m->m_len - tocopy); in sbcompress() 1724 m->m_len -= tocopy; in sbcompress()
|
| H A D | uipc_syscalls.c | 2048 socklen_t tocopy; in copyout_control() local 2085 tocopy = tmp_space; in copyout_control() 2088 tocopy = len; in copyout_control() 2090 error = copyout(tmp_buffer, ctlbuf, tocopy); in copyout_control() 2101 tocopy = 0; in copyout_control() 2107 tocopy = cp_size; in copyout_control() 2110 tocopy = len; in copyout_control() 2112 error = copyout((caddr_t) cp, ctlbuf, tocopy); in copyout_control() 2124 ctlbuf += tocopy; in copyout_control() 2125 len -= tocopy; in copyout_control()
|