Home
last modified time | relevance | path

Searched refs:ioctl_with_mut_ptr (Results 1 – 7 of 7) sorted by relevance

/external/crosvm/usb_util/src/
Ddevice.rs95 unsafe fn ioctl_with_mut_ptr<T>(&self, nr: IoctlNr, arg: *mut T) -> Result<i32> { in ioctl_with_mut_ptr() method
96 let ret = handle_eintr_errno!(base::ioctl_with_mut_ptr(&*self.fd, nr, arg)); in ioctl_with_mut_ptr()
131 self.ioctl_with_mut_ptr(usb_sys::USBDEVFS_SUBMITURB(), urb_ptr)?; in submit_transfer()
443 handle_eintr_errno!(base::ioctl_with_mut_ptr( in cancel()
/external/crosvm/base/src/
Dlib.rs19 ioctl, ioctl_with_mut_ptr, ioctl_with_mut_ref, ioctl_with_ptr, ioctl_with_ref, ioctl_with_val,
Dioctl.rs50 pub unsafe fn ioctl_with_mut_ptr<T>( in ioctl_with_mut_ptr() function
/external/crosvm/sys_util/src/
Dioctl.rs177 pub unsafe fn ioctl_with_mut_ptr<F: AsRawFd, T>(fd: &F, nr: IoctlNr, arg: *mut T) -> c_int { in ioctl_with_mut_ptr() function
/external/crosvm/devices/src/virtio/fs/
Dpassthrough.rs20 error, ioctl_ior_nr, ioctl_iow_nr, ioctl_iowr_nr, ioctl_with_mut_ptr, ioctl_with_ptr,
891 unsafe { ioctl_with_mut_ptr(&*data, FS_IOC_GET_ENCRYPTION_POLICY_EX(), &mut arg) }; in get_encryption_policy_ex()
910 let res = unsafe { ioctl_with_mut_ptr(&*data, FS_IOC_FSGETXATTR(), buf.as_mut_ptr()) }; in get_fsxattr()
954 let res = unsafe { ioctl_with_mut_ptr(&*data, FS_IOC_GETFLAGS(), &mut flags) }; in get_flags()
/external/crosvm/kvm/src/
Dlib.rs36 block_signal, ioctl, ioctl_with_mut_ptr, ioctl_with_mut_ref, ioctl_with_ptr, ioctl_with_ref,
147 ioctl_with_mut_ptr(self, kind, cpuid.as_mut_ptr()) in get_cpuid()
1300 ioctl_with_mut_ptr(self, KVM_GET_SUPPORTED_HV_CPUID(), cpuid.as_mut_ptr()) in get_hyperv_cpuid()
/external/crosvm/hypervisor/src/kvm/
Dx86_64.rs11 errno_result, error, ioctl, ioctl_with_mut_ptr, ioctl_with_mut_ref, ioctl_with_ptr,
41 ioctl_with_mut_ptr(descriptor, kind, kvm_cpuid.as_mut_ptr()) in get_cpuid_with_initial_capacity()