Home
last modified time | relevance | path

Searched refs:ioctl_with_ptr (Results 1 – 4 of 4) sorted by relevance

/external/crosvm/devices/src/virtio/input/
Devdev.rs8 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/
Dlib.rs20 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/
Dioctl.rs165 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/
Dlib.rs25 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()