Home
last modified time | relevance | path

Searched defs:IoctlNr (Results 1 – 4 of 4) sorted by relevance

/external/crosvm/base/src/
Dioctl.rs14 pub unsafe fn ioctl_with_val(descriptor: &dyn AsRawDescriptor, nr: IoctlNr, arg: c_ulong) -> c_int { in ioctl_with_val()
19 pub unsafe fn ioctl_with_ref<T>(descriptor: &dyn AsRawDescriptor, nr: IoctlNr, arg: &T) -> c_int { in ioctl_with_ref()
30 nr: IoctlNr, in ioctl_with_mut_ref()
43 nr: IoctlNr, in ioctl_with_ptr()
52 nr: IoctlNr, in ioctl_with_mut_ptr()
/external/crosvm/sys_util/src/
Dioctl.rs147 pub type IoctlNr = c_int; typedef
149 pub type IoctlNr = c_ulong; typedef
157 pub unsafe fn ioctl_with_val<F: AsRawFd>(fd: &F, nr: IoctlNr, arg: c_ulong) -> c_int { in ioctl_with_val()
162 pub unsafe fn ioctl_with_ref<F: AsRawFd, T>(fd: &F, nr: IoctlNr, arg: &T) -> c_int { in ioctl_with_ref()
167 pub unsafe fn ioctl_with_mut_ref<F: AsRawFd, T>(fd: &F, nr: IoctlNr, arg: &mut T) -> c_int { in ioctl_with_mut_ref()
172 pub unsafe fn ioctl_with_ptr<F: AsRawFd, T>(fd: &F, nr: IoctlNr, arg: *const T) -> c_int { in ioctl_with_ptr()
177 pub unsafe fn ioctl_with_mut_ptr<F: AsRawFd, T>(fd: &F, nr: IoctlNr, arg: *mut T) -> c_int { in ioctl_with_mut_ptr()
/external/crosvm/usb_util/src/
Ddevice.rs79 unsafe fn ioctl_with_ref<T>(&self, nr: IoctlNr, arg: &T) -> Result<i32> { in ioctl_with_ref()
87 unsafe fn ioctl_with_mut_ref<T>(&self, nr: IoctlNr, arg: &mut T) -> Result<i32> { in ioctl_with_mut_ref()
95 unsafe fn ioctl_with_mut_ptr<T>(&self, nr: IoctlNr, arg: *mut T) -> Result<i32> { in ioctl_with_mut_ptr()
/external/crosvm/hypervisor/src/kvm/
Dx86_64.rs29 kind: IoctlNr, in get_cpuid_with_initial_capacity()