Searched refs:VHOST (Results 1 – 3 of 3) sorted by relevance
/external/crosvm/virtio_sys/src/ |
D | lib.rs | 21 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/rust/crates/vmm_vhost/src/vhost_kern/ |
D | vhost_binding.rs | 21 pub const VHOST: raw::c_uint = 0xaf; constant 39 ioctl_ior_nr!(VHOST_GET_FEATURES, VHOST, 0x00, raw::c_ulonglong); 40 ioctl_iow_nr!(VHOST_SET_FEATURES, VHOST, 0x00, raw::c_ulonglong); 41 ioctl_io_nr!(VHOST_SET_OWNER, VHOST, 0x01); 42 ioctl_io_nr!(VHOST_RESET_OWNER, VHOST, 0x02); 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); [all …]
|
/external/crosvm/sys_util/src/ |
D | ioctl.rs | 184 const VHOST: ::std::os::raw::c_uint = 0xaf; constant 187 ioctl_io_nr!(VHOST_SET_OWNER, VHOST, 0x01); 190 ioctl_iowr_nr!(VHOST_GET_VRING_BASE, VHOST, 0x12, ::std::os::raw::c_int);
|