Lines Matching refs:bytes_to_read
31 void *data, size_t bytes_to_read,
532 void *data, size_t bytes_to_read, in pipe_get_internal() argument
566 bytes_to_read); in pipe_get_internal()
587 dest_desc->bytes_to_xfer = bytes_to_read; in pipe_get_internal()
657 if ((num_bytes_read == bytes_to_read) || in pipe_get_internal()
691 *bytes_read = bytes_to_read - dest_desc->bytes_to_xfer; in pipe_get_internal()
694 bytes_to_read); in pipe_get_internal()
699 int z_impl_k_pipe_get(struct k_pipe *pipe, void *data, size_t bytes_to_read, in z_impl_k_pipe_get() argument
707 CHECKIF((min_xfer > bytes_to_read) || (bytes_read == NULL)) { in z_impl_k_pipe_get()
716 int ret = pipe_get_internal(key, pipe, data, bytes_to_read, bytes_read, in z_impl_k_pipe_get()
725 int z_vrfy_k_pipe_get(struct k_pipe *pipe, void *data, size_t bytes_to_read, in z_vrfy_k_pipe_get() argument
730 K_OOPS(K_SYSCALL_MEMORY_WRITE(data, bytes_to_read)); in z_vrfy_k_pipe_get()
733 bytes_to_read, bytes_read, min_xfer, in z_vrfy_k_pipe_get()