Searched refs:ioctl_with_ptr (Results 1 – 11 of 11) sorted by relevance
/external/crosvm/devices/src/virtio/gpu/ |
D | udmabuf.rs | 14 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/ |
D | mod.rs | 16 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/ |
D | lib.rs | 19 ioctl, ioctl_with_mut_ptr, ioctl_with_mut_ref, ioctl_with_ptr, ioctl_with_ref, ioctl_with_val,
|
D | ioctl.rs | 41 pub unsafe fn ioctl_with_ptr<T>( in ioctl_with_ptr() function
|
/external/crosvm/devices/src/virtio/input/ |
D | evdev.rs | 5 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/ |
D | lib.rs | 19 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/ |
D | ioctl.rs | 172 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/ |
D | vfio.rs | 19 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/ |
D | x86_64.rs | 11 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/ |
D | passthrough.rs | 20 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/ |
D | lib.rs | 36 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()
|