Searched refs:ioctl_iow_nr (Results 1 – 10 of 10) sorted by relevance
/external/crosvm/kvm_sys/src/ |
D | lib.rs | 9 use base::{ioctl_io_nr, ioctl_ior_nr, ioctl_iow_nr, ioctl_iowr_nr}; 19 use base::{ioctl_ior_nr, ioctl_iow_nr, ioctl_iowr_nr}; 24 ioctl_iow_nr!(KVM_SET_MEMORY_ALIAS, KVMIO, 0x43, kvm_memory_alias); 25 ioctl_iow_nr!(KVM_XEN_HVM_CONFIG, KVMIO, 0x7a, kvm_xen_hvm_config); 27 ioctl_iow_nr!(KVM_SET_PIT2, KVMIO, 0xa0, kvm_pit_state2); 29 ioctl_iow_nr!(KVM_SET_MSRS, KVMIO, 0x89, kvm_msrs); 30 ioctl_iow_nr!(KVM_SET_CPUID, KVMIO, 0x8a, kvm_cpuid); 32 ioctl_iow_nr!(KVM_SET_LAPIC, KVMIO, 0x8f, kvm_lapic_state); 33 ioctl_iow_nr!(KVM_SET_CPUID2, KVMIO, 0x90, kvm_cpuid2); 35 ioctl_iow_nr!(KVM_X86_SETUP_MCE, KVMIO, 0x9c, __u64); [all …]
|
/external/crosvm/virtio_sys/src/ |
D | lib.rs | 9 use base::{ioctl_io_nr, ioctl_ior_nr, ioctl_iow_nr, ioctl_iowr_nr}; 24 ioctl_iow_nr!(VHOST_SET_FEATURES, VHOST, 0x00, ::std::os::raw::c_ulonglong); 27 ioctl_iow_nr!(VHOST_SET_MEM_TABLE, VHOST, 0x03, vhost_memory); 28 ioctl_iow_nr!(VHOST_SET_LOG_BASE, VHOST, 0x04, ::std::os::raw::c_ulonglong); 29 ioctl_iow_nr!(VHOST_SET_LOG_FD, VHOST, 0x07, ::std::os::raw::c_int); 30 ioctl_iow_nr!(VHOST_SET_VRING_NUM, VHOST, 0x10, vhost_vring_state); 31 ioctl_iow_nr!(VHOST_SET_VRING_ADDR, VHOST, 0x11, vhost_vring_addr); 32 ioctl_iow_nr!(VHOST_SET_VRING_BASE, VHOST, 0x12, vhost_vring_state); 34 ioctl_iow_nr!(VHOST_SET_VRING_KICK, VHOST, 0x20, vhost_vring_file); 35 ioctl_iow_nr!(VHOST_SET_VRING_CALL, VHOST, 0x21, vhost_vring_file); [all …]
|
/external/crosvm/net_sys/src/ |
D | lib.rs | 9 use base::{ioctl_ior_nr, ioctl_iow_nr}; 39 ioctl_iow_nr!(TUNSETNOCSUM, TUNTAP, 200, ::std::os::raw::c_int); 40 ioctl_iow_nr!(TUNSETDEBUG, TUNTAP, 201, ::std::os::raw::c_int); 41 ioctl_iow_nr!(TUNSETIFF, TUNTAP, 202, ::std::os::raw::c_int); 42 ioctl_iow_nr!(TUNSETPERSIST, TUNTAP, 203, ::std::os::raw::c_int); 43 ioctl_iow_nr!(TUNSETOWNER, TUNTAP, 204, ::std::os::raw::c_int); 44 ioctl_iow_nr!(TUNSETLINK, TUNTAP, 205, ::std::os::raw::c_int); 45 ioctl_iow_nr!(TUNSETGROUP, TUNTAP, 206, ::std::os::raw::c_int); 47 ioctl_iow_nr!(TUNSETOFFLOAD, TUNTAP, 208, ::std::os::raw::c_uint); 48 ioctl_iow_nr!(TUNSETTXFILTER, TUNTAP, 209, ::std::os::raw::c_uint); [all …]
|
/external/rust/crates/vmm_vhost/src/vhost_kern/ |
D | vhost_binding.rs | 40 ioctl_iow_nr!(VHOST_SET_FEATURES, VHOST, 0x00, raw::c_ulonglong); 43 ioctl_iow_nr!(VHOST_SET_MEM_TABLE, VHOST, 0x03, vhost_memory); 44 ioctl_iow_nr!(VHOST_SET_LOG_BASE, VHOST, 0x04, raw::c_ulonglong); 45 ioctl_iow_nr!(VHOST_SET_LOG_FD, VHOST, 0x07, raw::c_int); 46 ioctl_iow_nr!(VHOST_SET_VRING_NUM, VHOST, 0x10, vhost_vring_state); 47 ioctl_iow_nr!(VHOST_SET_VRING_ADDR, VHOST, 0x11, vhost_vring_addr); 48 ioctl_iow_nr!(VHOST_SET_VRING_BASE, VHOST, 0x12, vhost_vring_state); 50 ioctl_iow_nr!(VHOST_SET_VRING_KICK, VHOST, 0x20, vhost_vring_file); 51 ioctl_iow_nr!(VHOST_SET_VRING_CALL, VHOST, 0x21, vhost_vring_file); 52 ioctl_iow_nr!(VHOST_SET_VRING_ERR, VHOST, 0x22, vhost_vring_file); [all …]
|
/external/crosvm/usb_sys/src/ |
D | lib.rs | 13 use base::{ioctl_io_nr, ioctl_ior_nr, ioctl_iow_nr, ioctl_iowr_nr}; 197 ioctl_iow_nr!(USBDEVFS_REAPURB, U, 12, *mut *mut usbdevfs_urb); 198 ioctl_iow_nr!(USBDEVFS_REAPURBNDELAY, U, 13, *mut *mut usbdevfs_urb); 202 ioctl_iow_nr!(USBDEVFS_CONNECTINFO, U, 17, usbdevfs_connectinfo); 215 ioctl_iow_nr!(USBDEVFS_DROP_PRIVILEGES, U, 30, u32);
|
/external/crosvm/devices/src/virtio/gpu/ |
D | udmabuf.rs | 14 ioctl_iow_nr, ioctl_with_ptr, pagesize, AsRawDescriptor, FromRawDescriptor, MappedRegion, 28 ioctl_iow_nr!(UDMABUF_CREATE, UDMABUF_IOCTL_BASE, 0x42, udmabuf_create); 29 ioctl_iow_nr!(
|
/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}; 106 ioctl_iow_nr!(EVIOCGRAB, EVDEV, 0x90, u32);
|
/external/crosvm/sys_util/src/ |
D | ioctl.rs | 79 macro_rules! ioctl_iow_nr { macro 189 ioctl_iow_nr!(TUNSETQUEUE, TUNTAP, 0xd9, ::std::os::raw::c_int);
|
/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, 103 ioctl_iow_nr!(FS_IOC_FSSETXATTR, 'X' as u32, 32, fsxattr); 106 ioctl_iow_nr!(FS_IOC_SETFLAGS, 'f' as u32, 2, c_long); 109 ioctl_iow_nr!(FS_IOC32_SETFLAGS, 'f' as u32, 2, u32); 112 ioctl_iow_nr!(FS_IOC64_SETFLAGS, 'f' as u32, 2, u64);
|
/external/crosvm/devices/src/virtio/ |
D | wl.rs | 59 use base::{ioctl_iow_nr, ioctl_with_ref}; 131 ioctl_iow_nr!(DMA_BUF_IOCTL_SYNC, DMA_BUF_IOCTL_BASE, 0, dma_buf_sync);
|