Searched refs:vring_state (Results 1 – 2 of 2) sorted by relevance
/external/rust/crates/vmm_vhost/src/vhost_kern/ |
D | mod.rs | 173 let vring_state = vhost_vring_state { in set_vring_num() localVariable 179 let ret = unsafe { ioctl_with_ref(self, VHOST_SET_VRING_NUM(), &vring_state) }; in set_vring_num() 214 let vring_state = vhost_vring_state { in set_vring_base() localVariable 220 let ret = unsafe { ioctl_with_ref(self, VHOST_SET_VRING_BASE(), &vring_state) }; in set_vring_base() 226 let vring_state = vhost_vring_state { in get_vring_base() localVariable 231 let ret = unsafe { ioctl_with_ref(self, VHOST_GET_VRING_BASE(), &vring_state) }; in get_vring_base() 232 ioctl_result(ret, vring_state.num) in get_vring_base()
|
/external/crosvm/vhost/src/ |
D | lib.rs | 164 let vring_state = virtio_sys::vhost_vring_state { in set_vring_num() localVariable 171 let ret = unsafe { ioctl_with_ref(self, virtio_sys::VHOST_SET_VRING_NUM(), &vring_state) }; in set_vring_num() 282 let vring_state = virtio_sys::vhost_vring_state { in set_vring_base() localVariable 289 let ret = unsafe { ioctl_with_ref(self, virtio_sys::VHOST_SET_VRING_BASE(), &vring_state) }; in set_vring_base()
|