Home
last modified time | relevance | path

Searched refs:bytes_to_copy (Results 1 – 5 of 5) sorted by relevance

/xnu-11215.1.10/osfmk/kdp/output_stages/
H A Dout_buffer.c107 size_t bytes_to_copy = data->total_buffer_size - data->current_size; in buffer_stage_outproc() local
109 if (length < bytes_to_copy) { in buffer_stage_outproc()
112 bytes_to_copy = (size_t) length; in buffer_stage_outproc()
115 bcopy(panic_data, (void *)((uintptr_t)data->buffer + data->current_size), bytes_to_copy); in buffer_stage_outproc()
117 data->current_size += bytes_to_copy; in buffer_stage_outproc()
118 length -= bytes_to_copy; in buffer_stage_outproc()
119 panic_data = (void *) ((uintptr_t) panic_data + bytes_to_copy); in buffer_stage_outproc()
H A Dout_shmem.c275 uint32_t bytes_to_copy; in shmem_stage_outproc() local
347 bytes_to_copy = MIN(bytes_remaining, kdp_hw_shmem_dbg_bufsize - in shmem_stage_outproc()
350 bytes_to_copy); in shmem_stage_outproc()
352 data->currently_filling_buf->khsd_data_length += bytes_to_copy; in shmem_stage_outproc()
367 stage->kos_bytes_written += bytes_to_copy; in shmem_stage_outproc()
368 bytes_remaining -= bytes_to_copy; in shmem_stage_outproc()
369 panic_data = (void *) ((uintptr_t)panic_data + bytes_to_copy); in shmem_stage_outproc()
/xnu-11215.1.10/bsd/kern/
H A Duipc_socket.c2285 int bytes_to_copy; in sosend() local
2290 bytes_to_copy = imin((int)resid, (int)space); in sosend()
2292 bytes_to_alloc = bytes_to_copy; in sosend()
2467 bytes_to_copy > 0 && in sosend()
2468 bytes_to_copy < MHLEN) { in sosend()
2470 bytes_to_copy); in sosend()
2486 len = imin((int)mlen, bytes_to_copy); in sosend()
2510 bytes_to_copy = imin((int)resid, (int)space); in sosend()
H A Duipc_syscalls.c1738 int bytes_to_copy = (int)uio_resid(auio); in mbuf_packet_from_uio() local
1750 int len = imin((int)mlen, bytes_to_copy); in mbuf_packet_from_uio()
/xnu-11215.1.10/bsd/net/
H A Dbpf.c295 bpf_copy_uio_to_mbuf_packet(struct uio *auio, int bytes_to_copy, struct mbuf *top) in bpf_copy_uio_to_mbuf_packet() argument
309 int copy_len = imin((int)mlen, bytes_to_copy); in bpf_copy_uio_to_mbuf_packet()
320 if (bytes_to_copy > copy_len) { in bpf_copy_uio_to_mbuf_packet()
321 bytes_to_copy -= copy_len; in bpf_copy_uio_to_mbuf_packet()