Home
last modified time | relevance | path

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

123

/external/crosvm/base/src/
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()
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()
Ddescriptor.rs30 pub trait AsRawDescriptor { interface
/external/crosvm/third_party/vmm_vhost/src/
Dmaster_req_handler.rs54 _fd: &dyn AsRawDescriptor, in shmem_map()
68 _fd: &dyn AsRawDescriptor, in fs_slave_map()
87 _fd: &dyn AsRawDescriptor, in fs_slave_io()
99 _descriptor: &dyn AsRawDescriptor, in gpu_map()
118 _fd: &dyn AsRawDescriptor, in shmem_map()
132 _fd: &dyn AsRawDescriptor, in fs_slave_map()
151 _fd: &dyn AsRawDescriptor, in fs_slave_io()
163 _descriptor: &dyn AsRawDescriptor, in gpu_map()
177 fd: &dyn AsRawDescriptor, in shmem_map()
189 fd: &dyn AsRawDescriptor, in fs_slave_map()
[all …]
Dslave_proxy.rs144 fd: &dyn AsRawDescriptor, in shmem_map()
167 fd: &dyn AsRawDescriptor, in fs_slave_map()
181 descriptor: &dyn AsRawDescriptor, in gpu_map()
/external/crosvm/base/src/sys/windows/
Dioctl.rs168 descriptor: &dyn AsRawDescriptor, in ioctl_with_val()
196 pub unsafe fn ioctl_with_ref<T>(descriptor: &dyn AsRawDescriptor, nr: IoctlNr, arg: &T) -> c_int { in ioctl_with_ref()
205 descriptor: &dyn AsRawDescriptor, in ioctl_with_mut_ref()
217 descriptor: &dyn AsRawDescriptor, in ioctl_with_ptr_sized()
254 descriptor: &dyn AsRawDescriptor, in ioctl_with_ptr()
267 descriptor: &dyn AsRawDescriptor, in ioctl_with_mut_ptr()
296 pub unsafe fn device_io_control<F: AsRawDescriptor, T, T2>( in device_io_control()
Dread_write_wrappers.rs21 handle: &dyn AsRawDescriptor, in write_file()
64 handle: &dyn AsRawDescriptor, in read_file()
Ddescriptor.rs124 macro_rules! AsRawDescriptor { macro
126 impl AsRawDescriptor for $name { impl
Dconsole.rs49 fn get_read_notifier(&self) -> &dyn AsRawDescriptor { in get_read_notifier()
/external/crosvm/base/src/sys/unix/
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()
Dioctl.rs167 pub unsafe fn ioctl_with_val(descriptor: &dyn AsRawDescriptor, nr: IoctlNr, arg: c_ulong) -> c_int { in ioctl_with_val()
174 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()
Dpoll.rs78 pub fn build_with(fd_tokens: &[(&dyn AsRawDescriptor, T)]) -> Result<EventContext<T>> { in build_with()
89 pub fn add_many(&self, fd_tokens: &[(&dyn AsRawDescriptor, T)]) -> Result<()> { in add_many()
102 pub fn add(&self, fd: &dyn AsRawDescriptor, token: T) -> Result<()> { in add()
115 descriptor: &dyn AsRawDescriptor, in add_for_event()
141 pub fn modify(&self, fd: &dyn AsRawDescriptor, event_type: EventType, token: T) -> Result<()> { in modify()
Dmmap.rs142 pub fn from_fd(fd: &dyn AsRawDescriptor, size: usize) -> Result<MemoryMapping> { in from_fd()
147 fd: &dyn AsRawDescriptor, in from_fd_offset()
163 fd: &dyn AsRawDescriptor, in from_fd_offset_flags()
184 fd: &dyn AsRawDescriptor, in from_fd_offset_protection()
199 fd: &dyn AsRawDescriptor, in from_fd_offset_protection_populate()
255 fd: &dyn AsRawDescriptor, in from_descriptor_offset_protection_fixed()
276 fd: Option<(&dyn AsRawDescriptor, u64)>, in try_mmap()
405 src: &dyn AsRawDescriptor, in read_to_memory()
464 dst: &dyn AsRawDescriptor, in write_from_memory()
753 fd: &dyn AsRawDescriptor, in add_fd_offset()
[all …]
Dfile.rs19 fn lseek(fd: &dyn AsRawDescriptor, offset: u64, option: LseekOption) -> Result<u64> { in lseek()
40 fd: &dyn AsRawDescriptor, in find_next_data()
82 pub fn new(fd: &'a dyn AsRawDescriptor, offset: u64, len: u64) -> Self { in new()
Ddescriptor.rs176 macro_rules! AsRawDescriptor { macro
178 impl AsRawDescriptor for $name { impl
/external/crosvm/third_party/vmm_vhost/src/master_req_handler/
Dwindows.rs33 fn get_read_notifier(&self) -> &dyn AsRawDescriptor { in get_read_notifier()
40 fn get_close_notifier(&self) -> &dyn AsRawDescriptor { in get_close_notifier()
67 _fd: &dyn AsRawDescriptor, in fs_slave_map()
/external/crosvm/rutabaga_gfx/src/rutabaga_os/sys/fuchsia/
Ddescriptor.rs38 macro_rules! AsRawDescriptor { macro
40 impl AsRawDescriptor for $name { impl
/external/crosvm/kernel_loader/src/
Dlib.rs114 F: Read + Seek + AsRawDescriptor, in load_elf32()
143 F: Read + Seek + AsRawDescriptor, in load_elf64()
172 F: Read + Seek + AsRawDescriptor, in load_elf()
185 F: Read + Seek + AsRawDescriptor, in load_elf_for_class()
293 fn read_elf<F>(file: &mut F, required_ei_class: Option<u32>) -> Result<Elf64> in read_elf()
335 fn read_elf_by_type<F, FileHeader, ProgramHeader>(mut file: &mut F) -> Result<Elf64> in read_elf_by_type()
/external/crosvm/rutabaga_gfx/src/rutabaga_os/sys/unix/
Ddescriptor.rs88 macro_rules! AsRawDescriptor { macro
90 impl AsRawDescriptor for $name { impl
/external/crosvm/rutabaga_gfx/src/rutabaga_os/sys/windows/
Ddescriptor.rs123 macro_rules! AsRawDescriptor { macro
125 impl AsRawDescriptor for $name { impl
/external/crosvm/devices/src/virtio/vhost/user/device/listener/sys/
Dunix.rs137 L::Endpoint: Endpoint<MasterReq> + AsRawDescriptor, in run_with_handler()
138 L: Listener + AsRawDescriptor, in run_with_handler()
/external/crosvm/rutabaga_gfx/src/rutabaga_os/
Ddescriptor.rs23 pub trait AsRawDescriptor { interface
/external/crosvm/cros_async/src/sys/windows/
Devent.rs36 descriptor: &dyn AsRawDescriptor, in clone_raw_without_reset()
Dio_completion_port.rs257 file: Option<&dyn AsRawDescriptor>, in create_iocp()
258 existing_iocp: Option<&dyn AsRawDescriptor>, in create_iocp()
/external/crosvm/x86_64/src/
Dbzimage.rs55 F: Read + Seek + AsRawDescriptor, in load_bzimage()

123