Home
last modified time | relevance | path

Searched refs:ioctl_with_mut_ref (Results 1 – 14 of 14) sorted by relevance

/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};
118 ioctl_with_mut_ref( in device_ids()
141 ioctl_with_mut_ref( in name()
159 ioctl_with_mut_ref( in serial_name()
177 ioctl_with_mut_ref( in properties()
200 ioctl_with_mut_ref( in supported_events()
221 ioctl_with_mut_ref( in supported_events()
245 ioctl_with_mut_ref( in abs_info()
/external/crosvm/rutabaga_gfx/src/rutabaga_gralloc/
Drendernode.rs16 use base::{ioctl_iowr_nr, ioctl_with_mut_ref};
60 if unsafe { ioctl_with_mut_ref(fd, DRM_IOCTL_VERSION(), &mut version) } < 0 { in get_drm_device_name()
79 if unsafe { ioctl_with_mut_ref(fd, DRM_IOCTL_VERSION(), &mut version) } < 0 { in get_drm_device_name()
/external/crosvm/net_util/src/
Dlib.rs20 ioctl_with_mut_ref, ioctl_with_ref, ioctl_with_val, volatile_impl, AsRawDescriptor,
182 let ret = ioctl_with_mut_ref(&tap_file, net_sys::TUNGETIFF(), &mut ifreq); in from_raw_descriptor()
212 let ret = unsafe { ioctl_with_mut_ref(&tuntap, net_sys::TUNSETIFF(), ifreq) }; in create_tap_with_ifreq()
330 ioctl_with_mut_ref(&sock, net_sys::sockios::SIOCGIFADDR as IoctlNr, &mut ifreq) in ip_addr()
365 ioctl_with_mut_ref( in netmask()
404 ioctl_with_mut_ref( in mac_address()
/external/crosvm/hypervisor/src/kvm/
Dx86_64.rs11 errno_result, error, ioctl, ioctl_with_mut_ptr, ioctl_with_mut_ref, ioctl_with_ptr,
88 ioctl_with_mut_ref(self, KVM_GET_MSR_INDEX_LIST(), &mut msr_list[0]) in get_msr_index_list()
130 let ret = unsafe { ioctl_with_mut_ref(self, KVM_GET_CLOCK(), &mut clock_data) }; in get_pvclock_arch()
162 ioctl_with_mut_ref(self, KVM_GET_IRQCHIP(), &mut irqchip_state) in get_pic_state()
205 ioctl_with_mut_ref(self, KVM_GET_IRQCHIP(), &mut irqchip_state) in get_ioapic_state()
259 let ret = unsafe { ioctl_with_mut_ref(self, KVM_GET_PIT2(), &mut pit_state) }; in get_pit_state()
402 let ret = unsafe { ioctl_with_mut_ref(self, KVM_GET_REGS(), &mut regs) }; in get_regs()
426 let ret = unsafe { ioctl_with_mut_ref(self, KVM_GET_SREGS(), &mut regs) }; in get_sregs()
450 let ret = unsafe { ioctl_with_mut_ref(self, KVM_GET_FPU(), &mut fpu) }; in get_fpu()
475 let ret = unsafe { ioctl_with_mut_ref(self, KVM_GET_DEBUGREGS(), &mut regs) }; in get_debugregs()
[all …]
Daarch64.rs8 errno_result, error, ioctl_with_mut_ref, ioctl_with_ref, Error, MemoryMappingBuilder, Result,
131 let ret = unsafe { ioctl_with_mut_ref(&self.vm, KVM_ARM_PREFERRED_TARGET(), &mut kvi) }; in init()
Dmod.rs33 block_signal, errno_result, error, ioctl, ioctl_with_mut_ref, ioctl_with_ref, ioctl_with_val,
1028 let ret = unsafe { ioctl_with_mut_ref(self, KVM_GET_MP_STATE(), &mut state) }; in get_mp_state()
/external/crosvm/devices/src/
Dvfio.rs19 ioctl, ioctl_with_mut_ref, ioctl_with_ptr, ioctl_with_ref, ioctl_with_val, warn,
158 let ret = unsafe { ioctl_with_mut_ref(self, VFIO_IOMMU_UNMAP_DMA(), &mut dma_unmap) }; in vfio_dma_unmap()
249 unsafe { ioctl_with_mut_ref(&group_file, VFIO_GROUP_GET_STATUS(), &mut group_status) }; in new()
524 let mut ret = unsafe { ioctl_with_mut_ref(dev, VFIO_DEVICE_GET_INFO(), &mut dev_info) }; in get_regions()
545 ret = unsafe { ioctl_with_mut_ref(dev, VFIO_DEVICE_GET_REGION_INFO(), &mut reg_info) }; in get_regions()
565 ioctl_with_mut_ref( in get_regions()
/external/crosvm/kvm/src/
Dlib.rs36 block_signal, ioctl, ioctl_with_mut_ptr, ioctl_with_mut_ref, ioctl_with_ptr, ioctl_with_ref,
182 ioctl_with_mut_ref(self, KVM_GET_MSR_INDEX_LIST(), &mut msr_list[0]) in get_msr_index_list()
457 let ret = unsafe { ioctl_with_mut_ref(self, KVM_GET_CLOCK(), &mut clock_data) }; in get_clock()
511 ioctl_with_mut_ref(self, KVM_GET_IRQCHIP(), &mut irqchip_state) in get_pic_state()
556 ioctl_with_mut_ref(self, KVM_GET_IRQCHIP(), &mut irqchip_state) in get_ioapic_state()
635 let ret = unsafe { ioctl_with_mut_ref(self, KVM_GET_PIT2(), &mut pit_state) }; in get_pit_state()
1104 let ret = unsafe { ioctl_with_mut_ref(self, KVM_GET_REGS(), &mut regs) }; in get_regs()
1129 let ret = unsafe { ioctl_with_mut_ref(self, KVM_GET_SREGS(), &mut regs) }; in get_sregs()
1154 let ret = unsafe { ioctl_with_mut_ref(self, KVM_GET_FPU(), &mut regs) }; in get_fpu()
1182 let ret = unsafe { ioctl_with_mut_ref(self, KVM_GET_DEBUGREGS(), &mut regs) }; in get_debugregs()
[all …]
/external/crosvm/usb_util/src/
Ddevice.rs87 unsafe fn ioctl_with_mut_ref<T>(&self, nr: IoctlNr, arg: &mut T) -> Result<i32> { in ioctl_with_mut_ref() method
88 let ret = handle_eintr_errno!(base::ioctl_with_mut_ref(&*self.fd, nr, arg)); in ioctl_with_mut_ref()
150 unsafe { self.ioctl_with_mut_ref(usb_sys::USBDEVFS_REAPURBNDELAY(), &mut urb_ptr) }; in poll_transfers()
/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};
90 let ret = unsafe { ioctl_with_mut_ref(self, VHOST_GET_FEATURES(), &mut avail_features) }; in get_features()
/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.rs28 pub unsafe fn ioctl_with_mut_ref<T>( in ioctl_with_mut_ref() function
/external/crosvm/vhost/src/
Dlib.rs19 use base::{ioctl, ioctl_with_mut_ref, ioctl_with_ptr, ioctl_with_ref};
88 ioctl_with_mut_ref(self, virtio_sys::VHOST_GET_FEATURES(), &mut avail_features) in get_features()
/external/crosvm/sys_util/src/
Dioctl.rs167 pub unsafe fn ioctl_with_mut_ref<F: AsRawFd, T>(fd: &F, nr: IoctlNr, arg: &mut T) -> c_int { in ioctl_with_mut_ref() function