Home
last modified time | relevance | path

Searched refs:instance (Results 1 – 6 of 6) sorted by relevance

/DragonOS/kernel/src/driver/acpi/
H A Dsysfs.rs155 instance: isize, field
164 instance: 0, in new()
170 r.instance = attr.instance; in new()
174 r.instance += 1; in new()
175 if r.instance > ACPI_MAX_TABLE_INSTANCES as isize { in new()
192 if r.instance > 1 || (r.instance == 1 && has_multiple_instances) { in new()
193 r.filename = format!("{}{}", r.name, r.instance); in new()
/DragonOS/tools/debugging/logmonitor/src/backend/
H A Dmod.rs40 let instance = r.clone(); in new() localVariable
44 let mut backend = BackendThread::new(cmdargs, sd, Arc::downgrade(&instance), dt); in new()
/DragonOS/kernel/src/virt/kvm/
H A Dvm.rs36 let instance = Self { in new() localVariable
44 Ok(instance) in new()
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/
H A Dvcpu.rs119 let mut instance = Self { in alloc() localVariable
130 instance.init_region()?; in alloc()
131 Ok(instance) in alloc()
157 let instance = Self { in new() localVariable
169 Ok(instance) in new()
/DragonOS/
H A D.readthedocs.yaml20 …# You can configure Sphinx to use a different builder, for instance use the dirhtml builder for si…
/DragonOS/kernel/crates/rbpf/
H A DREADME.md158 This is used to create a new instance of a VM. The return type is dependent of
159 the struct from which the function is called. For instance,
160 `rbpf::EbpfVmRaw::new(Some(my_program))` would return an instance of `struct
183 program after the VM instance creation. This program is checked with the
651 instance; or they can be handled in user space. Rust has arrays and hashmaps,