Home
last modified time | relevance | path

Searched defs:AsRawDescriptor (Results 1 – 25 of 68) sorted by relevance

123

/aosp_15_r20/external/crosvm/base/src/sys/macos/
H A Dmod.rs65 _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 Dioctl.rs175 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 Dread_write_wrappers.rs26 handle: &dyn AsRawDescriptor, in write_file()
69 handle: &dyn AsRawDescriptor, in read_file()
132 handle: &dyn AsRawDescriptor, in read_overlapped_blocking()
H A Dtube.rs373 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 Dmmap.rs96 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 Dstream_channel.rs411 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 Ddescriptor.rs134 macro_rules! AsRawDescriptor { macro
136 impl AsRawDescriptor for $name { impl
H A Dmmap_platform.rs89 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 Dmmap.rs153 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 Dioctl.rs165 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 Dpoll.rs83 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 Dfile.rs18 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 Dnotifiers.rs12 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 Dwait_context.rs171 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 Dnotifiers.rs10 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 Ddescriptor.rs32 pub trait AsRawDescriptor { trait
/aosp_15_r20/external/crosvm/third_party/vmm_vhost/src/sys/
H A Dwindows.rs210 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 Ddescriptor.rs15 pub trait AsRawDescriptor { interface
/aosp_15_r20/external/crosvm/src/crosvm/sys/windows/
H A Dbroker.rs308 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 Dunix.rs70 _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 Dgeneric.rs93 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 Dhandler.rs60 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 Dfrontend_client.rs104 fd: &dyn AsRawDescriptor, in shmem_map()
123 descriptor: &dyn AsRawDescriptor, in gpu_map()
/aosp_15_r20/external/crosvm/base/src/sys/unix/
H A Ddescriptor.rs187 macro_rules! AsRawDescriptor { macro
189 impl AsRawDescriptor for $name { impl
/aosp_15_r20/external/crosvm/devices/src/utils/
H A Devent_loop.rs156 descriptor: &dyn AsRawDescriptor, in add_event()
210 descriptor: &dyn AsRawDescriptor, in resume_event_for_descriptor()

123