Home
last modified time | relevance | path

Searched defs:vm (Results 1 – 12 of 12) sorted by relevance

/DragonOS/kernel/crates/rbpf/tests/
H A Dubpf_vm.rs38 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_vm_add() localVariable
67 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_vm_alu64_arith() localVariable
100 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_vm_alu64_bit() localVariable
129 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_vm_alu_arith() localVariable
160 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_vm_alu_bit() localVariable
174 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_vm_arsh32_high_shift() localVariable
188 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_vm_arsh() localVariable
204 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_vm_arsh64() localVariable
219 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_vm_arsh_reg() localVariable
233 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_vm_arsh_imm_overflow() localVariable
[all …]
H A Dubpf_jit_x86_64.rs39 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_jit_add() localVariable
71 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_jit_alu64_arith() localVariable
107 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_jit_alu64_bit() localVariable
139 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_jit_alu_arith() localVariable
173 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_jit_alu_bit() localVariable
190 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_jit_arsh32_high_shift() localVariable
207 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_jit_arsh() localVariable
226 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_jit_arsh64() localVariable
244 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_jit_arsh_reg() localVariable
261 let mut vm = rbpf::EbpfVmRaw::new(Some(&prog)).unwrap(); in test_jit_be16() localVariable
[all …]
H A Dcranelift.rs18 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); localVariable
28 let mut vm = rbpf::EbpfVmRaw::new(Some(&prog)).unwrap(); localVariable
273 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_cranelift_call() localVariable
294 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_cranelift_err_call_unreg() localVariable
312 let mut vm = rbpf::EbpfVmRaw::new(Some(&prog)).unwrap(); in test_cranelift_call_memfrob() localVariable
480 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_cranelift_err_stack_out_of_bound() localVariable
1777 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_cranelift_stack2() localVariable
1853 let mut vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_cranelift_string_stack() localVariable
2045 let mut vm = rbpf::EbpfVmRaw::new(Some(prog)).unwrap(); in test_cranelift_tcp_port80_match() localVariable
2062 let mut vm = rbpf::EbpfVmRaw::new(Some(prog)).unwrap(); in test_cranelift_tcp_port80_nomatch() localVariable
[all …]
H A Dubpf_verifier.rs30 let vm = rbpf::EbpfVmNoData::new(Some(prog)).unwrap(); in test_verifier_err_endian_size() localVariable
42 let vm = rbpf::EbpfVmNoData::new(Some(prog)).unwrap(); in test_verifier_err_incomplete_lddw() localVariable
55 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_verifier_err_infinite_loop() localVariable
68 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_verifier_err_invalid_reg_dst() localVariable
81 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_verifier_err_invalid_reg_src() localVariable
95 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_verifier_err_jmp_lddw() localVariable
108 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_verifier_err_jmp_out() localVariable
120 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_verifier_err_no_exit() localVariable
133 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_verifier_err_no_exit_backward_jump() localVariable
151 let vm = rbpf::EbpfVmNoData::new(Some(&prog)).unwrap(); in test_verifier_err_too_many_instructions() localVariable
[all …]
H A Dmisc.rs149 let mut vm = rbpf::EbpfVmFixedMbuff::new(Some(prog), 0x40, 0x50).unwrap(); in test_vm_block_port() localVariable
215 let mut vm = rbpf::EbpfVmFixedMbuff::new(Some(prog), 0x40, 0x50).unwrap(); in test_jit_block_port() localVariable
246 let vm = rbpf::EbpfVmMbuff::new(Some(prog)).unwrap(); in test_vm_mbuff() localVariable
280 let vm = rbpf::EbpfVmMbuff::new(Some(program.into_bytes())).unwrap(); in test_vm_mbuff_with_rust_api() localVariable
305 let mut vm = rbpf::EbpfVmMbuff::new(Some(prog)).unwrap(); in test_jit_mbuff() localVariable
322 let mut vm = rbpf::EbpfVmRaw::new(Some(prog)).unwrap(); in test_vm_jit_ldabsb() localVariable
342 let mut vm = rbpf::EbpfVmRaw::new(Some(prog)).unwrap(); in test_vm_jit_ldabsh() localVariable
362 let mut vm = rbpf::EbpfVmRaw::new(Some(prog)).unwrap(); in test_vm_jit_ldabsw() localVariable
382 let mut vm = rbpf::EbpfVmRaw::new(Some(prog)).unwrap(); in test_vm_jit_ldabsdw() localVariable
402 let vm = rbpf::EbpfVmRaw::new(Some(prog)).unwrap(); in test_vm_err_ldabsb_oob() localVariable
[all …]
/DragonOS/kernel/src/virt/kvm/
H A Dmod.rs14 pub mod vm; module
51 pub fn vm(id: usize) -> Option<Vm> { in vm() function
/DragonOS/kernel/crates/rbpf/examples/
H A Duptime.rs38 let mut vm = rbpf::EbpfVmNoData::new(Some(prog1)).unwrap(); in main() localVariable
H A Dload_elf.rs92 let mut vm = rbpf::EbpfVmFixedMbuff::new(Some(prog), 0x40, 0x50).unwrap(); in main() localVariable
H A Drbpf_plugin.rs92 let mut vm = rbpf::EbpfVmRaw::new(Some(&bytecode)).unwrap(); in main() localVariable
/DragonOS/kernel/src/perf/
H A Dkprobe.rs42 let mut vm = in do_set_bpf_prog() localVariable
56 vm: EbpfVmRawOwned, field
/DragonOS/kernel/src/process/
H A Dexec.rs99 vm: Arc<AddressSpace>, field
134 pub fn vm(&self) -> &Arc<AddressSpace> { in vm() method
/DragonOS/kernel/src/mm/
H A Ducontext.rs76 let vm = ProcessManager::current_pcb() in current() localVariable