Home
last modified time | relevance | path

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

/external/crosvm/devices/src/virtio/gpu/
Dudmabuf.rs14 ioctl_iow_nr, ioctl_with_ptr, pagesize, AsRawDescriptor, FromRawDescriptor, MappedRegion,
157 ioctl_with_ptr(&self.driver_fd, UDMABUF_CREATE_LIST(), create_list) in create_udmabuf()
/external/rust/crates/vmm_vhost/src/vhost_kern/
Dmod.rs16 use sys_util::ioctl::{ioctl, ioctl_with_mut_ref, ioctl_with_ptr, ioctl_with_ref};
141 let ret = unsafe { ioctl_with_ptr(self, VHOST_SET_MEM_TABLE(), vhost_memory.as_ptr()) }; in set_mem_table()
/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.rs41 pub unsafe fn ioctl_with_ptr<T>( in ioctl_with_ptr() function
/external/crosvm/devices/src/virtio/input/
Devdev.rs5 use base::{ioctl_ior_nr, ioctl_iow_nr, ioctl_with_mut_ref, ioctl_with_ptr, ioctl_with_ref};
282 ioctl_with_ptr( in ungrab_evdev()
/external/crosvm/vhost/src/
Dlib.rs19 use base::{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.rs172 pub unsafe fn ioctl_with_ptr<F: AsRawFd, T>(fd: &F, nr: IoctlNr, arg: *const T) -> c_int { in ioctl_with_ptr() function
/external/crosvm/devices/src/
Dvfio.rs19 ioctl, ioctl_with_mut_ref, ioctl_with_ptr, ioctl_with_ref, ioctl_with_val, warn,
305 let ret = unsafe { ioctl_with_ptr(self, VFIO_GROUP_GET_DEVICE_FD(), path_ptr) }; in get_device()
/external/crosvm/hypervisor/src/kvm/
Dx86_64.rs11 errno_result, error, ioctl, ioctl_with_mut_ptr, ioctl_with_mut_ref, ioctl_with_ptr,
563 ioctl_with_ptr(self, KVM_SET_CPUID2(), cpuid.as_ptr()) in set_cpuid()
/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,
935 let res = unsafe { ioctl_with_ptr(&*data, FS_IOC_FSSETXATTR(), &attr) }; in set_fsxattr()
973 let res = unsafe { ioctl_with_ptr(&*data, FS_IOC_SETFLAGS(), &flags) }; in set_flags()
/external/crosvm/kvm/src/
Dlib.rs36 block_signal, ioctl, ioctl_with_mut_ptr, ioctl_with_mut_ref, ioctl_with_ptr, ioctl_with_ref,
1282 ioctl_with_ptr(self, KVM_SET_CPUID2(), cpuid.as_ptr()) in set_cpuid2()