| /kernel/object/ |
| A D | buffer_chain_tests.cpp | 76 ASSERT_EQ(ZX_OK, mem_out.copy_array_to_user(buf.get(), kSize), ""); in copy_in_copy_out() 90 ASSERT_EQ(ZX_OK, mem_out.copy_array_to_user(buf.get(), kSize), ""); in copy_in_copy_out() 117 ASSERT_EQ(ZX_OK, mem_out.copy_array_to_user(buf.get(), kSize), ""); in copy_in_copy_out()
|
| A D | mbuf_tests.cpp | 69 ASSERT_EQ(ZX_OK, mem_out.copy_array_to_user(buf, kWriteLen), ""); in stream_write_basic() 192 ASSERT_EQ(ZX_OK, mem_out.copy_array_to_user(buf, sizeof(buf)), ""); in datagram_read_buffer_too_small() 200 ASSERT_EQ(ZX_OK, mem_out.copy_array_to_user(buf, sizeof(buf)), ""); in datagram_read_buffer_too_small() 209 ASSERT_EQ(ZX_OK, mem_out.copy_array_to_user(buf, sizeof(buf)), ""); in datagram_read_buffer_too_small() 219 ASSERT_EQ(ZX_OK, mem_out.copy_array_to_user(buf, sizeof(buf)), ""); in datagram_read_buffer_too_small() 247 ASSERT_EQ(ZX_OK, mem_out.copy_array_to_user(buf, sizeof(buf)), ""); in datagram_write_basic()
|
| A D | message_packet_tests.cpp | 30 ASSERT_EQ(ZX_OK, mem_out.copy_array_to_user(buf.get(), kSize), ""); in create() 133 ASSERT_EQ(ZX_OK, mem_out.copy_array_to_user(buf.get(), kSize), ""); in copy_bad_mem()
|
| A D | diagnostics.cpp | 477 if (maps_.copy_array_to_user(&entry, 1, nelem_) != ZX_OK) { in OnVmAddressRegion() 503 if (maps_.copy_array_to_user(&entry, 1, nelem_) != ZX_OK) { in OnVmMapping() 541 if (maps.copy_array_to_user(&entry, 1, 0) != ZX_OK) { in GetVmAspaceMaps() 576 if (vmos_.copy_array_to_user(&entry, 1, nelem_) != ZX_OK) { in OnVmMapping() 646 if (vmos.copy_array_to_user(&entry, 1, actual) != ZX_OK) { in GetProcessVmosViaHandles()
|
| A D | mbuf.cpp | 53 if (dst.byte_offset(pos).copy_array_to_user(src, copy_len) != ZX_OK) in Read()
|
| A D | fifo_dispatcher.cpp | 201 zx_status_t status = ptr.copy_array_to_user(&data_[offset * elem_size_], in ReadToUser()
|
| A D | socket_dispatcher.cpp | 368 if (dst.copy_array_to_user(&control_msg_->msg, copy_len) != ZX_OK) in ReadControl()
|
| /kernel/lib/user_copy/include/lib/user_copy/ |
| A D | user_ptr.h | 70 zx_status_t copy_array_to_user(const T* src, size_t count) const { in copy_array_to_user() function 80 zx_status_t copy_array_to_user(const T* src, size_t count, size_t offset) const { in copy_array_to_user() function
|
| /kernel/syscalls/ |
| A D | zircon.cpp | 246 if (ptr.copy_array_to_user(buf, actual) != ZX_OK) in sys_debuglog_read() 275 if (buffer.copy_array_to_user(kernel_buf, len) != ZX_OK) in sys_cprng_draw_once()
|
| A D | object.cpp | 71 if (ptr_.copy_array_to_user(&koid, 1, count_) != ZX_OK) { in RecordKoid() 94 if (_buffer.copy_array_to_user(record_data, record_size) != ZX_OK) in single_record_result() 204 _buffer.copy_array_to_user(threads.get(), sizeof(zx_koid_t) * num_to_copy) != ZX_OK) in sys_object_get_info() 399 if (vmos.copy_array_to_user(&entry, 1, 0) != ZX_OK) { in sys_object_get_info() 488 if (cpu_buf.copy_array_to_user(&stats, 1, i) != ZX_OK) in sys_object_get_info() 656 if (_value.copy_array_to_user(name, ZX_MAX_NAME_LEN) != ZX_OK) in sys_object_get_property()
|
| A D | vmo.cpp | 94 status = int_data.copy_array_to_user(&byte, 1, i); in sys_vmo_read() 100 status = int_data.copy_array_to_user(&byte, 1, len - 1); in sys_vmo_read()
|
| A D | debug.cpp | 65 status = ptr.copy_array_to_user(&c, 1, idx); in sys_debug_read()
|
| A D | object_wait.cpp | 167 if (user_items.copy_array_to_user(items, count) != ZX_OK) in sys_object_wait_many()
|
| A D | task.cpp | 245 if (buffer.copy_array_to_user(&local_buffer, local_buffer_len) != ZX_OK) in sys_thread_read_state() 505 status = int_data.copy_array_to_user(&byte, 1, i); in sys_process_read_memory() 511 status = int_data.copy_array_to_user(&byte, 1, buffer_size - 1); in sys_process_read_memory()
|
| A D | hypervisor.cpp | 135 status = user_buffer.copy_array_to_user(buffer, buffer_size); in sys_vcpu_read_state()
|
| A D | system.cpp | 187 return user_buffer.copy_array_to_user(buffer.get(), buffer_size); in sys_system_mexec_payload_get()
|
| A D | channel.cpp | 104 handles.copy_array_to_user(hvs, num_handles); in msg_get_handles()
|
| A D | ddk.cpp | 392 if ((status = addrs.copy_array_to_user(mapped_addrs.get(), addrs_count)) != ZX_OK) { in sys_bti_pin()
|
| /kernel/object/include/object/ |
| A D | buffer_chain.h | 74 const zx_status_t status = dst.copy_array_to_user(src, copy_len); in CopyOut()
|
| /kernel/vm/ |
| A D | vm_object_paged.cpp | 1050 return ptr.byte_offset(offset).copy_array_to_user(src, len); in ReadUser()
|