Home
last modified time | relevance | path

Searched defs:new (Results 1 – 25 of 115) sorted by relevance

12345

/cloud-hypervisor/vm-allocator/src/
H A Dgsi.rs27 pub fn new(base: u32, irqs: u32) -> Self { in new() method
43 pub fn new(apics: Vec<GsiApic>) -> Self { in new() method
67 pub fn new() -> Self { in new() method
H A Dmemory_slot.rs30 pub fn new( in new() method
/cloud-hypervisor/vmm/src/
H A Dinterrupt.rs30 pub fn new(allocator: &mut SystemAllocator) -> Result<Self> { in new() method
109 fn new( in new() method
211 fn new(ioapic: Arc<Mutex<dyn InterruptController>>, irq: u32) -> Self { in new() method
255 pub fn new(ioapic: Arc<Mutex<dyn InterruptController>>) -> Self { in new() method
261 pub fn new(allocator: Arc<Mutex<SystemAllocator>>, vm: Arc<dyn hypervisor::Vm>) -> Self { in new() method
H A Ddevice_tree.rs29 pub fn new(id: String, migratable: Option<Arc<Mutex<dyn Migratable>>>) -> Self { in new() method
59 pub fn new() -> Self { in new() method
113 fn new(hash_map: &'a HashMap<String, DeviceNode>) -> Self { in new() method
/cloud-hypervisor/block/src/vhdx/
H A Dvhdx_header.rs99 pub fn new(f: &mut File) -> Result<FileTypeIdentifier> { in new() method
130 pub fn new(f: &mut File, start: u64) -> Result<Header> { in new() method
217 pub fn new(f: &mut File, start: u64) -> Result<RegionTableHeader> { in new() method
258 pub fn new(f: &mut File, region_start: u64, entry_count: u32) -> Result<RegionInfo> { in new() method
342 pub fn new(buffer: &[u8]) -> Result<RegionTableEntry> { in new() method
371 pub fn new(f: &mut File) -> Result<VhdxHeader> { in new() method
H A Dvhdx_metadata.rs105 pub fn new(f: &mut File, metadata_region: &RegionTableEntry) -> Result<DiskSpec> { in new() method
280 pub fn new(buffer: &[u8]) -> Result<MetadataTableHeader> { in new() method
313 fn new(buffer: &[u8]) -> Result<MetadataTableEntry> { in new() method
/cloud-hypervisor/vm-virtio/src/
H A Dqueue.rs34 fn new(location: GuestAddress, mem: &'a GuestMemoryMmap) -> Self { in new() function
84 pub fn new(start: GuestAddress, mem: &'a GuestMemoryMmap) -> Self { in new() method
129 fn new( in new() function
180 pub fn new(start: GuestAddress, mem: &'a GuestMemoryMmap, qsize: u16) -> Self { in new() method
/cloud-hypervisor/devices/src/
H A Dacpi.rs30 pub fn new( in new() method
94 pub fn new( in new() method
225 pub fn new() -> Self { in new() method
/cloud-hypervisor/block/src/
H A Dfixed_vhd_sync.rs20 pub fn new(file: File) -> std::io::Result<Self> { in new() method
48 pub fn new(fd: RawFd, size: u64) -> std::io::Result<Self> { in new() method
H A Dfixed_vhd_async.rs20 pub fn new(file: File) -> std::io::Result<Self> { in new() method
48 pub fn new(fd: RawFd, ring_depth: u32, size: u64) -> std::io::Result<Self> { in new() method
H A Dvhdx_sync.rs23 pub fn new(f: File) -> VhdxResult<Self> { in new() method
55 pub fn new(vhdx_file: Arc<Mutex<Vhdx>>) -> std::io::Result<Self> { in new() method
H A Draw_sync.rs22 pub fn new(file: File) -> Self { in new() method
59 pub fn new(fd: RawFd) -> Self { in new() method
H A Draw_async.rs22 pub fn new(file: File) -> Self { in new() method
62 pub fn new(fd: RawFd, ring_depth: u32) -> std::io::Result<Self> { in new() method
H A Dqcow_sync.rs24 pub fn new(file: File, direct_io: bool) -> QcowResult<Self> { in new() method
55 pub fn new(qcow_file: Arc<Mutex<QcowFile>>) -> Self { in new() method
H A Draw_async_aio.rs25 pub fn new(file: File) -> Self { in new() method
65 pub fn new(fd: RawFd, queue_depth: u32) -> std::io::Result<Self> { in new() method
/cloud-hypervisor/pci/src/
H A Dbus.rs61 pub fn new(config: Option<PciConfiguration>) -> Self { in new() method
121 pub fn new(pci_root: PciRoot, device_reloc: Arc<dyn DeviceRelocation>) -> Self { in new() method
210 pub fn new(pci_bus: Arc<Mutex<PciBus>>) -> Self { in new() method
356 pub fn new(pci_bus: Arc<Mutex<PciBus>>) -> Self { in new() method
/cloud-hypervisor/tracer/src/
H A Dtracer.rs26 fn new() -> Self { in new() method
131 pub fn new(event: &'static str) -> Self { in new() method
/cloud-hypervisor/virtio-devices/src/vsock/csm/
H A Dtxbuf.rs30 pub fn new() -> Self { in new() method
158 fn new() -> Self { in new() method
/cloud-hypervisor/block/src/qcow/
H A Dvec_cache.rs29 pub fn new(count: usize) -> VecCache<T> { in new() method
95 pub fn new(capacity: usize) -> Self { in new() method
/cloud-hypervisor/devices/src/legacy/
H A Dfwdebug.rs19 pub fn new() -> Self { in new() method
H A Di8042.rs22 pub fn new(reset_evt: EventFd, vcpus_kill_signalled: Arc<AtomicBool>) -> I8042Device { in new() method
/cloud-hypervisor/net_util/src/
H A Dqueue_pair.rs34 pub fn new() -> Self { in new() method
162 pub fn new() -> Self { in new() method
310 fn new() -> Self { in new() method
/cloud-hypervisor/serial_buffer/src/
H A Dlib.rs22 pub fn new(out: Box<dyn Write + Send>, write_out: Arc<AtomicBool>) -> Self { in new() method
/cloud-hypervisor/virtio-devices/src/vsock/unix/
H A Dmuxer_rxq.rs39 pub fn new() -> Self { in new() method
H A Dmuxer_killq.rs62 pub fn new() -> Self { in new() method

12345