Home
last modified time | relevance | path

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

/xnu-8796.121.2/osfmk/kdp/output_stages/
H A Dout_buffer.c106 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 Dout_shmem.c273 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-8796.121.2/bsd/kern/
H A Duipc_socket.c2296 int bytes_to_copy; in sosend() local
2301 bytes_to_copy = imin((int)resid, (int)space); in sosend()
2303 bytes_to_alloc = bytes_to_copy; in sosend()
2478 bytes_to_copy > 0 && in sosend()
2479 bytes_to_copy < MHLEN) { in sosend()
2481 bytes_to_copy); in sosend()
2497 len = imin((int)mlen, bytes_to_copy); in sosend()
2521 bytes_to_copy = imin((int)resid, (int)space); in sosend()
2871 int bytes_to_copy; in sosend_list() local
2875 bytes_to_copy = (int)uio_resid(auio); in sosend_list()
[all …]