Home
last modified time | relevance | path

Searched refs:ioctl_ior_nr (Results 1 – 5 of 5) sorted by relevance

/external/crosvm/kvm_sys/src/
Dlib.rs9 use sys_util::{ioctl_io_nr, ioctl_ior_nr, ioctl_iow_nr, ioctl_iowr_nr};
22 use sys_util::{ioctl_ior_nr, ioctl_iow_nr, ioctl_iowr_nr};
30 ioctl_ior_nr!(KVM_GET_PIT2, KVMIO, 0x9f, kvm_pit_state2);
35 ioctl_ior_nr!(KVM_GET_LAPIC, KVMIO, 0x8e, kvm_lapic_state);
40 ioctl_ior_nr!(KVM_X86_GET_MCE_CAP_SUPPORTED, KVMIO, 0x9d, __u64);
42 ioctl_ior_nr!(KVM_GET_VCPU_EVENTS, KVMIO, 0x9f, kvm_vcpu_events);
44 ioctl_ior_nr!(KVM_GET_DEBUGREGS, KVMIO, 0xa1, kvm_debugregs);
46 ioctl_ior_nr!(KVM_GET_XSAVE, KVMIO, 0xa4, kvm_xsave);
48 ioctl_ior_nr!(KVM_GET_XCRS, KVMIO, 0xa6, kvm_xcrs);
57 use sys_util::{ioctl_ior_nr, ioctl_iow_nr};
[all …]
/external/crosvm/net_sys/src/
Dlib.rs9 use sys_util::{ioctl_ior_nr, ioctl_iow_nr};
46 ioctl_ior_nr!(TUNGETFEATURES, TUNTAP, 207, ::std::os::raw::c_uint);
49 ioctl_ior_nr!(TUNGETIFF, TUNTAP, 210, ::std::os::raw::c_uint);
50 ioctl_ior_nr!(TUNGETSNDBUF, TUNTAP, 211, ::std::os::raw::c_int);
54 ioctl_ior_nr!(TUNGETVNETHDRSZ, TUNTAP, 215, ::std::os::raw::c_int);
58 ioctl_ior_nr!(TUNGETFILTER, TUNTAP, 219, sock_fprog);
60 ioctl_ior_nr!(TUNGETVNETLE, TUNTAP, 221, ::std::os::raw::c_int);
62 ioctl_ior_nr!(TUNGETVNETBE, TUNTAP, 223, ::std::os::raw::c_int);
/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};
102 ioctl_ior_nr!(EVIOCGID, EVDEV, 0x02, evdev_id);
103 ioctl_ior_nr!(EVIOCGNAME, EVDEV, 0x06, evdev_buffer);
104 ioctl_ior_nr!(EVIOCGUNIQ, EVDEV, 0x08, evdev_buffer);
105 ioctl_ior_nr!(EVIOCGPROP, EVDEV, 0x09, evdev_buffer);
106 ioctl_ior_nr!(EVIOCGBIT, EVDEV, 0x20 + evt, evdev_buffer, evt);
107 ioctl_ior_nr!(EVIOCGABS, EVDEV, 0x40 + abs, evdev_abs_info, abs);
/external/crosvm/virtio_sys/src/
Dlib.rs9 use sys_util::{ioctl_io_nr, ioctl_ior_nr, ioctl_iow_nr, ioctl_iowr_nr};
23 ioctl_ior_nr!(VHOST_GET_FEATURES, VHOST, 0x00, ::std::os::raw::c_ulonglong);
/external/crosvm/sys_util/src/
Dioctl.rs53 macro_rules! ioctl_ior_nr { macro
181 ioctl_ior_nr!(TUNGETFEATURES, TUNTAP, 0xcf, ::std::os::raw::c_uint);
185 ioctl_ior_nr!(EVIOCGBIT, EVDEV, 0x20 + evt, [u8; 128], evt);