Home
last modified time | relevance | path

Searched refs:VHOST (Results 1 – 2 of 2) sorted by relevance

/external/crosvm/virtio_sys/src/
Dlib.rs21 pub const VHOST: ::std::os::raw::c_uint = 0xaf; constant
23 ioctl_ior_nr!(VHOST_GET_FEATURES, VHOST, 0x00, ::std::os::raw::c_ulonglong);
24 ioctl_iow_nr!(VHOST_SET_FEATURES, VHOST, 0x00, ::std::os::raw::c_ulonglong);
25 ioctl_io_nr!(VHOST_SET_OWNER, VHOST, 0x01);
26 ioctl_io_nr!(VHOST_RESET_OWNER, VHOST, 0x02);
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);
[all …]
/external/crosvm/sys_util/src/
Dioctl.rs177 const VHOST: ::std::os::raw::c_uint = 0xaf; constant
180 ioctl_io_nr!(VHOST_SET_OWNER, VHOST, 0x01);
183 ioctl_iowr_nr!(VHOST_GET_VRING_BASE, VHOST, 0x12, ::std::os::raw::c_int);