Searched refs:ioctl_with_ptr (Results 1 – 4 of 4) sorted by relevance
/external/crosvm/devices/src/virtio/input/ |
D | evdev.rs | 8 use sys_util::{ioctl_ior_nr, ioctl_iow_nr, ioctl_with_mut_ref, ioctl_with_ptr, ioctl_with_ref}; 250 ioctl_with_ptr(fd, EVIOCGRAB(), null::<u32>()) in ungrab_evdev()
|
/external/crosvm/vhost/src/ |
D | lib.rs | 20 use sys_util::{ioctl, ioctl_with_mut_ref, ioctl_with_ptr, ioctl_with_ref}; 148 let ret = unsafe { ioctl_with_ptr(self, virtio_sys::VHOST_SET_MEM_TABLE(), vhost_memory) }; in set_mem_table()
|
/external/crosvm/sys_util/src/ |
D | ioctl.rs | 165 pub unsafe fn ioctl_with_ptr<F: AsRawFd, T>(fd: &F, nr: c_ulong, arg: *const T) -> c_int { in ioctl_with_ptr() function
|
/external/crosvm/kvm/src/ |
D | lib.rs | 25 ioctl, ioctl_with_mut_ptr, ioctl_with_mut_ref, ioctl_with_ptr, ioctl_with_ref, ioctl_with_val, 1484 ioctl_with_ptr(self, KVM_SET_CPUID2(), cpuid.as_ptr()) in set_cpuid2()
|