/external/crosvm/devices/src/virtio/vhost/user/ |
D | handler.rs | 19 fn set_features(vu: &mut Master, avail_features: u64, ack_features: u64) -> Result<u64> { in set_features() 20 let features = avail_features & ack_features; in set_features() 27 pub avail_features: u64, field 42 let avail_features = allow_features & vu.get_features().map_err(Error::GetFeatures)?; in new() localVariable 43 let acked_features = set_features(&mut vu, avail_features, init_features)?; in new() 57 avail_features, in new() 80 self.avail_features, in ack_features()
|
D | net.rs | 91 self.handler.borrow().avail_features in features()
|
D | block.rs | 93 self.handler.borrow().avail_features in features()
|
D | fs.rs | 94 self.handler.borrow().avail_features in features()
|
/external/crosvm/devices/src/virtio/vhost/ |
D | vsock.rs | 28 avail_features: u64, field 44 let avail_features = base_features in new() localVariable 62 avail_features, in new() 74 avail_features: features, in new_for_testing() 126 self.avail_features in features() 138 let unrequested_features = v & !self.avail_features; in ack_features()
|
D | net.rs | 34 avail_features: u64, field 77 let avail_features = base_features in new() localVariable 103 avail_features, in new() 174 self.avail_features in features() 181 let unrequested_features = v & !self.avail_features; in ack_features()
|
D | worker.rs | 58 let avail_features = self in run() localVariable 63 let features: c_ulonglong = self.acked_features & avail_features; in run()
|
/external/crosvm/devices/src/virtio/ |
D | p9.rs | 151 avail_features: u64, field 174 avail_features: base_features | 1 << VIRTIO_9P_MOUNT_TAG, in new() 198 self.avail_features in features() 205 let unrequested_features = v & !self.avail_features; in ack_features()
|
D | block.rs | 501 avail_features: u64, field 553 let mut avail_features: u64 = base_features; in new() localVariable 554 avail_features |= 1 << VIRTIO_BLK_F_FLUSH; in new() 556 avail_features |= 1 << VIRTIO_BLK_F_RO; in new() 559 avail_features |= 1 << VIRTIO_BLK_F_DISCARD; in new() 561 avail_features |= 1 << VIRTIO_BLK_F_WRITE_ZEROES; in new() 563 avail_features |= 1 << VIRTIO_BLK_F_SEG_MAX; in new() 564 avail_features |= 1 << VIRTIO_BLK_F_BLK_SIZE; in new() 578 avail_features, in new() 767 self.avail_features in features()
|
D | block_async.rs | 569 avail_features: u64, field 622 let mut avail_features: u64 = base_features; in new() localVariable 623 avail_features |= 1 << VIRTIO_BLK_F_FLUSH; in new() 625 avail_features |= 1 << VIRTIO_BLK_F_RO; in new() 628 avail_features |= 1 << VIRTIO_BLK_F_DISCARD; in new() 630 avail_features |= 1 << VIRTIO_BLK_F_WRITE_ZEROES; in new() 632 avail_features |= 1 << VIRTIO_BLK_F_SEG_MAX; in new() 633 avail_features |= 1 << VIRTIO_BLK_F_BLK_SIZE; in new() 634 avail_features |= 1 << VIRTIO_BLK_F_MQ; in new() 648 avail_features, in new() [all …]
|
D | net.rs | 430 avail_features: u64, field 471 let mut avail_features = base_features in from() localVariable 482 avail_features |= 1 << virtio_net::VIRTIO_NET_F_MQ; in from() 500 avail_features, in from() 610 self.avail_features in features() 617 let unrequested_features = v & !self.avail_features; in ack_features()
|
/external/crosvm/devices/src/virtio/fs/ |
D | mod.rs | 132 avail_features: u64, field 168 avail_features: base_features, in new() 219 self.avail_features in features() 224 let unrequested_features = v & !self.avail_features; in ack_features()
|
/external/rust/crates/vmm_vhost/src/vhost_kern/ |
D | mod.rs | 88 let mut avail_features: u64 = 0; in get_features() localVariable 90 let ret = unsafe { ioctl_with_mut_ref(self, VHOST_GET_FEATURES(), &mut avail_features) }; in get_features() 91 ioctl_result(ret, avail_features) in get_features()
|
/external/crosvm/vhost/src/ |
D | lib.rs | 84 let mut avail_features: u64 = 0; in get_features() localVariable 88 ioctl_with_mut_ref(self, virtio_sys::VHOST_GET_FEATURES(), &mut avail_features) in get_features() 93 Ok(avail_features) in get_features()
|