/external/libusb/libusb/ |
D | io.c | 2672 int usbi_add_event_source(struct libusb_context *ctx, usbi_os_handle_t os_handle, short poll_events) in usbi_add_event_source() argument 2679 usbi_dbg(ctx, "add " USBI_OS_HANDLE_FORMAT_STRING " events %d", os_handle, poll_events); in usbi_add_event_source() 2680 ievent_source->data.os_handle = os_handle; in usbi_add_event_source() 2689 ctx->fd_added_cb(os_handle, poll_events, ctx->fd_cb_user_data); in usbi_add_event_source() 2696 void usbi_remove_event_source(struct libusb_context *ctx, usbi_os_handle_t os_handle) in usbi_remove_event_source() argument 2701 usbi_dbg(ctx, "remove " USBI_OS_HANDLE_FORMAT_STRING, os_handle); in usbi_remove_event_source() 2704 if (ievent_source->data.os_handle == os_handle) { in usbi_remove_event_source() 2711 usbi_dbg(ctx, "couldn't find " USBI_OS_HANDLE_FORMAT_STRING " to remove", os_handle); in usbi_remove_event_source() 2723 ctx->fd_removed_cb(os_handle, ctx->fd_cb_user_data); in usbi_remove_event_source()
|
D | libusbi.h | 802 usbi_os_handle_t os_handle; member 808 int usbi_add_event_source(struct libusb_context *ctx, usbi_os_handle_t os_handle, 810 void usbi_remove_event_source(struct libusb_context *ctx, usbi_os_handle_t os_handle);
|
/external/crosvm/rutabaga_gfx/ffi/src/ |
D | lib.rs | 74 pub os_handle: i32, field 407 os_handle: RutabagaDescriptor::from_raw_descriptor((*hnd).os_handle), in rutabaga_resource_create_blob() 442 (*handle).os_handle = hnd.os_handle.into_raw_descriptor(); in rutabaga_resource_export_blob()
|
/external/crosvm/rutabaga_gfx/src/ |
D | gfxstream.rs | 73 pub os_handle: i64, field 351 let raw_descriptor = stream_handle.os_handle as RawDescriptor; in export_blob() 355 os_handle: handle, in export_blob() 592 stream_handle.os_handle = handle.os_handle.into_raw_descriptor() as i64; in create_blob()
|
D | rutabaga_utils.rs | 633 pub os_handle: SafeDescriptor, field 641 .os_handle in try_clone() 645 os_handle: clone, in try_clone()
|
D | virgl_renderer.rs | 57 let dmabuf_fd = handle.os_handle.try_clone()?.into_raw_descriptor(); in import_resource() 353 os_handle: handle, in export_blob() 676 os_handle: fence, in export_fence()
|
/external/crosvm/rutabaga_gfx/src/rutabaga_gralloc/ |
D | minigbm.rs | 156 os_handle: dmabuf, in allocate_memory() 178 os_handle: dmabuf, in allocate_memory()
|
D | system_gralloc.rs | 50 os_handle: shm.into(), in allocate_memory()
|
D | vulkano_gralloc.rs | 453 os_handle: descriptor, in allocate_memory()
|
/external/crosvm/devices/src/virtio/gpu/ |
D | virtio_gpu.rs | 262 let dmabuf = to_safe_descriptor(rutabaga.export_blob(resource.resource_id).ok()?.os_handle); in import_resource_to_display() 635 Ok(handle) => to_safe_descriptor(handle.os_handle), in export_resource() 672 handle: to_safe_descriptor(handle.os_handle), in export_fence() 832 os_handle: to_rutabaga_descriptor(descriptor), in resource_create_blob() 862 descriptor: to_safe_descriptor(export.os_handle), in resource_map_blob() 870 descriptor: to_safe_descriptor(export.os_handle), in resource_map_blob()
|
/external/crosvm/rutabaga_gfx/src/rutabaga_gralloc/vulkano_gralloc/sys/ |
D | windows.rs | 48 handle: handle.os_handle.as_raw_descriptor(), in import_memory()
|
D | unix.rs | 54 file: File::from_raw_descriptor(handle.os_handle.into_raw_descriptor()), in import_memory()
|
/external/libusb/libusb/os/ |
D | events_posix.c | 209 fds[i].fd = ievent_source->data.os_handle; in usbi_alloc_event_data() 276 if (ievent_source->data.os_handle != fds[n].fd) in usbi_wait_for_events()
|
D | events_windows.c | 159 handles[i] = ievent_source->data.os_handle; in usbi_alloc_event_data()
|
/external/crosvm/rutabaga_gfx/ffi/src/tests/ |
D | rutabaga_test.c | 244 CHECK(handle.os_handle >= 0); in test_command_submission() 246 result = close(handle.os_handle); in test_command_submission()
|
/external/libusb/include/libusb/ |
D | libusbi.h | 802 usbi_os_handle_t os_handle; member 808 int usbi_add_event_source(struct libusb_context *ctx, usbi_os_handle_t os_handle, 810 void usbi_remove_event_source(struct libusb_context *ctx, usbi_os_handle_t os_handle);
|
/external/crosvm/rutabaga_gfx/ffi/src/include/ |
D | rutabaga_gfx_ffi.h | 134 int64_t os_handle; member
|
/external/crosvm/rutabaga_gfx/src/cross_domain/sys/ |
D | unix.rs | 211 *descriptor = handle.os_handle.as_raw_descriptor(); in send()
|
/external/crosvm/rutabaga_gfx/src/cross_domain/ |
D | cross_domain.rs | 683 os_handle: descriptor, in context_create_blob()
|
/external/crosvm/vm_control/src/ |
D | lib.rs | 413 os_handle: to_rutabaga_desciptor(descriptor), in map()
|
/external/crosvm/devices/src/virtio/ |
D | wl.rs | 521 let safe_descriptor = to_safe_descriptor(handle.os_handle); in allocate_and_register_gpu_memory()
|