Searched refs:bytes_to_copy (Results 1 – 5 of 5) sorted by relevance
| /xnu-10063.101.15/osfmk/kdp/output_stages/ |
| H A D | out_buffer.c | 106 size_t bytes_to_copy = data->total_buffer_size - data->current_size; in buffer_stage_outproc() local 108 if (length < bytes_to_copy) { in buffer_stage_outproc() 111 bytes_to_copy = (size_t) length; in buffer_stage_outproc() 114 bcopy(panic_data, (void *)((uintptr_t)data->buffer + data->current_size), bytes_to_copy); in buffer_stage_outproc() 116 data->current_size += bytes_to_copy; in buffer_stage_outproc() 117 length -= bytes_to_copy; in buffer_stage_outproc() 118 panic_data = (void *) ((uintptr_t) panic_data + bytes_to_copy); in buffer_stage_outproc()
|
| H A D | out_shmem.c | 273 uint32_t bytes_to_copy; in shmem_stage_outproc() local 345 bytes_to_copy = MIN(bytes_remaining, kdp_hw_shmem_dbg_bufsize - in shmem_stage_outproc() 348 bytes_to_copy); in shmem_stage_outproc() 350 data->currently_filling_buf->khsd_data_length += bytes_to_copy; in shmem_stage_outproc() 365 stage->kos_bytes_written += bytes_to_copy; in shmem_stage_outproc() 366 bytes_remaining -= bytes_to_copy; in shmem_stage_outproc() 367 panic_data = (void *) ((uintptr_t)panic_data + bytes_to_copy); in shmem_stage_outproc()
|
| /xnu-10063.101.15/bsd/kern/ |
| H A D | uipc_socket.c | 2292 int bytes_to_copy; in sosend() local 2297 bytes_to_copy = imin((int)resid, (int)space); in sosend() 2299 bytes_to_alloc = bytes_to_copy; in sosend() 2474 bytes_to_copy > 0 && in sosend() 2475 bytes_to_copy < MHLEN) { in sosend() 2477 bytes_to_copy); in sosend() 2493 len = imin((int)mlen, bytes_to_copy); in sosend() 2517 bytes_to_copy = imin((int)resid, (int)space); in sosend()
|
| H A D | uipc_syscalls.c | 1727 int bytes_to_copy = (int)uio_resid(auio); in mbuf_packet_from_uio() local 1739 int len = imin((int)mlen, bytes_to_copy); in mbuf_packet_from_uio()
|
| /xnu-10063.101.15/bsd/net/ |
| H A D | bpf.c | 296 bpf_copy_uio_to_mbuf_packet(struct uio *auio, int bytes_to_copy, struct mbuf *top) in bpf_copy_uio_to_mbuf_packet() argument 310 int copy_len = imin((int)mlen, bytes_to_copy); in bpf_copy_uio_to_mbuf_packet() 321 if (bytes_to_copy > copy_len) { in bpf_copy_uio_to_mbuf_packet() 322 bytes_to_copy -= copy_len; in bpf_copy_uio_to_mbuf_packet()
|