/aosp_15_r20/external/crosvm/base/src/sys/macos/ |
H A D | mod.rs | 65 _fd_tokens: &[(&dyn crate::AsRawDescriptor, T)], in build_with() 71 _descriptor: &dyn crate::AsRawDescriptor, in add_for_event() 79 _fd: &dyn crate::AsRawDescriptor, in modify() 132 _fd: &dyn crate::AsRawDescriptor, in from_descriptor_offset_protection_fixed() 166 _descriptor: &dyn crate::AsRawDescriptor, in ioctl_with_val() 176 _descriptor: &dyn crate::AsRawDescriptor, in ioctl_with_ref() 186 _descriptor: &dyn crate::AsRawDescriptor, in ioctl_with_mut_ref() 196 _descriptor: &dyn crate::AsRawDescriptor, in ioctl_with_ptr() 206 _descriptor: &dyn crate::AsRawDescriptor, in ioctl_with_mut_ptr()
|
/aosp_15_r20/external/crosvm/base/src/sys/windows/ |
H A D | ioctl.rs | 175 descriptor: &dyn AsRawDescriptor, in ioctl_with_val() 203 pub unsafe fn ioctl_with_ref<T>(descriptor: &dyn AsRawDescriptor, nr: IoctlNr, arg: &T) -> c_int { in ioctl_with_ref() 212 descriptor: &dyn AsRawDescriptor, in ioctl_with_mut_ref() 224 descriptor: &dyn AsRawDescriptor, in ioctl_with_ptr_sized() 261 descriptor: &dyn AsRawDescriptor, in ioctl_with_ptr() 274 descriptor: &dyn AsRawDescriptor, in ioctl_with_mut_ptr() 303 pub unsafe fn device_io_control<F: AsRawDescriptor, T, T2>( in device_io_control()
|
H A D | read_write_wrappers.rs | 26 handle: &dyn AsRawDescriptor, in write_file() 69 handle: &dyn AsRawDescriptor, in read_file() 132 handle: &dyn AsRawDescriptor, in read_overlapped_blocking()
|
H A D | tube.rs | 373 fn get_read_notifier(&self) -> &dyn AsRawDescriptor { in get_read_notifier() 379 fn get_close_notifier(&self) -> &dyn AsRawDescriptor { in get_close_notifier() 397 fn get_close_notifier(&self) -> &dyn AsRawDescriptor { in get_close_notifier() 403 fn get_close_notifier(&self) -> &dyn AsRawDescriptor { in get_close_notifier() 472 fn get_read_notifier(&self) -> &dyn AsRawDescriptor { in get_read_notifier()
|
H A D | mmap.rs | 96 file_handle: &dyn AsRawDescriptor, in from_descriptor() 107 file_handle: &dyn AsRawDescriptor, in from_descriptor_offset() 227 file_descriptor: Option<&'a dyn AsRawDescriptor>, in wrap()
|
H A D | stream_channel.rs | 411 impl AsRawDescriptor for &StreamChannel { impl 419 fn get_read_notifier(&self) -> &dyn AsRawDescriptor { in get_read_notifier() 425 fn get_close_notifier(&self) -> &dyn AsRawDescriptor { in get_close_notifier()
|
H A D | descriptor.rs | 134 macro_rules! AsRawDescriptor { macro 136 impl AsRawDescriptor for $name { impl
|
H A D | mmap_platform.rs | 89 file_handle: &dyn AsRawDescriptor, in from_descriptor_offset_protection() 138 descriptor: &dyn AsRawDescriptor, in from_descriptor_offset_protection_fixed()
|
/aosp_15_r20/external/crosvm/base/src/sys/linux/ |
H A D | mmap.rs | 153 pub fn from_fd(fd: &dyn AsRawDescriptor, size: usize) -> Result<MemoryMapping> { in from_fd() 158 fd: &dyn AsRawDescriptor, in from_fd_offset() 173 fd: &dyn AsRawDescriptor, in from_fd_offset_protection() 191 fd: &dyn AsRawDescriptor, in from_fd_offset_protection_populate() 250 fd: &dyn AsRawDescriptor, in from_descriptor_offset_protection_fixed() 264 fd: Option<(&dyn AsRawDescriptor, u64)>, in try_mmap() 276 fd: Option<(&dyn AsRawDescriptor, u64)>, in try_mmap_populate() 723 fd: &dyn AsRawDescriptor, in add_fd_offset() 743 fd: &dyn AsRawDescriptor, in add_fd_offset_protection() 757 fd: Option<(&dyn AsRawDescriptor, u64)>, in try_add() [all …]
|
H A D | ioctl.rs | 165 pub unsafe fn ioctl_with_val(descriptor: &dyn AsRawDescriptor, nr: IoctlNr, arg: c_ulong) -> c_int { in ioctl_with_val() 173 pub unsafe fn ioctl_with_ref<T>(descriptor: &dyn AsRawDescriptor, nr: IoctlNr, arg: &T) -> c_int { in ioctl_with_ref() 186 descriptor: &dyn AsRawDescriptor, in ioctl_with_mut_ref() 201 descriptor: &dyn AsRawDescriptor, in ioctl_with_ptr() 212 descriptor: &dyn AsRawDescriptor, in ioctl_with_mut_ptr()
|
H A D | poll.rs | 83 pub fn build_with(fd_tokens: &[(&dyn AsRawDescriptor, T)]) -> Result<EventContext<T>> { in build_with() 94 pub fn add_many(&self, fd_tokens: &[(&dyn AsRawDescriptor, T)]) -> Result<()> { in add_many() 107 pub fn add(&self, fd: &dyn AsRawDescriptor, token: T) -> Result<()> { in add() 120 descriptor: &dyn AsRawDescriptor, in add_for_event() 147 pub fn modify(&self, fd: &dyn AsRawDescriptor, event_type: EventType, token: T) -> Result<()> { in modify()
|
H A D | file.rs | 18 fn lseek(fd: &dyn AsRawDescriptor, offset: u64, option: LseekOption) -> Result<u64> { in lseek() 40 fd: &dyn AsRawDescriptor, in find_next_data() 83 pub fn new(fd: &'a dyn AsRawDescriptor, offset: u64, len: u64) -> Self { in new()
|
H A D | notifiers.rs | 12 fn get_read_notifier(&self) -> &dyn AsRawDescriptor { in get_read_notifier() 18 fn get_close_notifier(&self) -> &dyn AsRawDescriptor { in get_close_notifier()
|
/aosp_15_r20/external/crosvm/base/src/ |
H A D | wait_context.rs | 171 pub fn build_with(triggers: &[(&dyn AsRawDescriptor, T)]) -> Result<WaitContext<T>> { in build_with() 178 pub fn add(&self, descriptor: &dyn AsRawDescriptor, token: T) -> Result<()> { in add() 185 descriptor: &dyn AsRawDescriptor, in add_for_event() 193 pub fn add_many(&self, triggers: &[(&dyn AsRawDescriptor, T)]) -> Result<()> { in add_many() 204 descriptor: &dyn AsRawDescriptor, in modify()
|
H A D | notifiers.rs | 10 fn get_read_notifier(&self) -> &dyn AsRawDescriptor; in get_read_notifier() 14 fn get_read_notifier(&self) -> &dyn AsRawDescriptor { in get_read_notifier() 21 fn get_close_notifier(&self) -> &dyn AsRawDescriptor; in get_close_notifier()
|
H A D | descriptor.rs | 32 pub trait AsRawDescriptor { trait
|
/aosp_15_r20/external/crosvm/third_party/vmm_vhost/src/sys/ |
H A D | windows.rs | 210 fn get_close_notifier(&self) -> &dyn AsRawDescriptor { in get_close_notifier() 216 fn get_read_notifier(&self) -> &dyn AsRawDescriptor { in get_read_notifier() 241 fn get_read_notifier(&self) -> &dyn AsRawDescriptor { in get_read_notifier() 248 fn get_close_notifier(&self) -> &dyn AsRawDescriptor { in get_close_notifier()
|
/aosp_15_r20/external/crosvm/rutabaga_gfx/src/rutabaga_os/ |
H A D | descriptor.rs | 15 pub trait AsRawDescriptor { interface
|
/aosp_15_r20/external/crosvm/src/crosvm/sys/windows/ |
H A D | broker.rs | 308 fn as_descriptor(&self) -> &dyn AsRawDescriptor; in as_descriptor() 328 fn as_descriptor(&self) -> &dyn AsRawDescriptor { in as_descriptor() 355 fn as_descriptor(&self) -> &dyn AsRawDescriptor { in as_descriptor() 1307 handles_to_inherit: Vec<&dyn AsRawDescriptor>, in spawn_sandboxed_child() 1399 handles_to_inherit: Vec<&dyn AsRawDescriptor>, in spawn_unsandboxed_child() 1937 handles_to_inherit: &[&dyn AsRawDescriptor], in spawn_child()
|
/aosp_15_r20/external/crosvm/gpu_display/src/vulkan/sys/ |
H A D | unix.rs | 70 _memory_descriptor: &dyn AsRawDescriptor, in create_post_image_memory_import_info() 78 _descriptor: &dyn AsRawDescriptor, in import_semaphore_from_descriptor()
|
/aosp_15_r20/external/crosvm/src/sys/windows/ |
H A D | generic.rs | 93 fn get_read_notifier(&self) -> &dyn AsRawDescriptor { in get_read_notifier() 102 fn get_close_notifier(&self) -> &dyn AsRawDescriptor { in get_close_notifier() 178 _triggers: &mut [(&'a dyn AsRawDescriptor, Token)], in push_triggers()
|
/aosp_15_r20/external/crosvm/devices/src/virtio/vhost_user_frontend/ |
H A D | handler.rs | 60 fd: &dyn AsRawDescriptor, in shmem_map() 116 descriptor: &dyn AsRawDescriptor, in gpu_map()
|
/aosp_15_r20/external/crosvm/third_party/vmm_vhost/src/ |
H A D | frontend_client.rs | 104 fd: &dyn AsRawDescriptor, in shmem_map() 123 descriptor: &dyn AsRawDescriptor, in gpu_map()
|
/aosp_15_r20/external/crosvm/base/src/sys/unix/ |
H A D | descriptor.rs | 187 macro_rules! AsRawDescriptor { macro 189 impl AsRawDescriptor for $name { impl
|
/aosp_15_r20/external/crosvm/devices/src/utils/ |
H A D | event_loop.rs | 156 descriptor: &dyn AsRawDescriptor, in add_event() 210 descriptor: &dyn AsRawDescriptor, in resume_event_for_descriptor()
|