Home
last modified time | relevance | path

Searched defs:prog (Results 1 – 14 of 14) sorted by relevance

/DragonOS/kernel/crates/rbpf/tests/
H A Dubpf_vm.rs29 let prog = assemble( in test_vm_add() localVariable
44 let prog = assemble( in test_vm_alu64_arith() localVariable
73 let prog = assemble( in test_vm_alu64_bit() localVariable
106 let prog = assemble( in test_vm_alu_arith() localVariable
135 let prog = assemble( in test_vm_alu_bit() localVariable
166 let prog = assemble( in test_vm_arsh32_high_shift() localVariable
180 let prog = assemble( in test_vm_arsh() localVariable
194 let prog = assemble( in test_vm_arsh64() localVariable
210 let prog = assemble( in test_vm_arsh_reg() localVariable
225 let prog = assemble( in test_vm_arsh_imm_overflow() localVariable
[all …]
H A Dubpf_jit_x86_64.rs30 let prog = assemble( in test_jit_add() localVariable
48 let prog = assemble( in test_jit_alu64_arith() localVariable
80 let prog = assemble( in test_jit_alu64_bit() localVariable
116 let prog = assemble( in test_jit_alu_arith() localVariable
148 let prog = assemble( in test_jit_alu_bit() localVariable
182 let prog = assemble( in test_jit_arsh32_high_shift() localVariable
199 let prog = assemble( in test_jit_arsh() localVariable
216 let prog = assemble( in test_jit_arsh64() localVariable
235 let prog = assemble( in test_jit_arsh_reg() localVariable
253 let prog = assemble( in test_jit_be16() localVariable
[all …]
H A Dcranelift.rs17 let prog = assemble($prog).unwrap(); localVariable
26 let prog = assemble($prog).unwrap(); localVariable
261 let prog = assemble( in test_cranelift_call() localVariable
282 let prog = assemble( in test_cranelift_err_call_unreg() localVariable
300 let prog = assemble( in test_cranelift_call_memfrob() localVariable
476 let prog = [ in test_cranelift_err_stack_out_of_bound() localVariable
1756 let prog = assemble( in test_cranelift_stack2() localVariable
1820 let prog = assemble( in test_cranelift_string_stack() localVariable
2044 let prog = &PROG_TCP_PORT_80; in test_cranelift_tcp_port80_match() localVariable
2061 let prog = &PROG_TCP_PORT_80; in test_cranelift_tcp_port80_nomatch() localVariable
[all …]
H A Dubpf_verifier.rs26 let prog = &[ in test_verifier_err_endian_size() localVariable
38 let prog = &[ in test_verifier_err_incomplete_lddw() localVariable
49 let prog = assemble( in test_verifier_err_infinite_loop() localVariable
62 let prog = assemble( in test_verifier_err_invalid_reg_dst() localVariable
75 let prog = assemble( in test_verifier_err_invalid_reg_src() localVariable
88 let prog = assemble( in test_verifier_err_jmp_lddw() localVariable
102 let prog = assemble( in test_verifier_err_jmp_out() localVariable
115 let prog = assemble( in test_verifier_err_no_exit() localVariable
126 let prog = assemble( in test_verifier_err_no_exit_backward_jump() localVariable
142 let mut prog = (0..(1_000_000 * ebpf::INSN_SIZE)) in test_verifier_err_too_many_instructions() localVariable
[all …]
H A Dmisc.rs116 let prog = &[ in test_vm_block_port() localVariable
182 let prog = &[ in test_jit_block_port() localVariable
230 let prog = &[ in test_vm_mbuff() localVariable
288 let prog = &[ in test_jit_mbuff() localVariable
314 let prog = &[ in test_vm_jit_ldabsb() localVariable
334 let prog = &[ in test_vm_jit_ldabsh() localVariable
354 let prog = &[ in test_vm_jit_ldabsw() localVariable
374 let prog = &[ in test_vm_jit_ldabsdw() localVariable
394 let prog = &[ in test_vm_err_ldabsb_oob() localVariable
411 let prog = &[ in test_vm_err_ldabsb_nomem() localVariable
[all …]
H A Ddisassembler.rs369 let prog = to_insn_vec(&insns); in test_offset_overflow() localVariable
/DragonOS/kernel/crates/rbpf/examples/
H A Ddisassemble.rs9 let prog = &[ in main() localVariable
H A Dto_json.rs71 let prog = &text_scn.data; in main() localVariable
H A Dload_elf.rs64 let prog = &text_scn.data; in main() localVariable
/DragonOS/kernel/src/bpf/
H A Dmod.rs3 pub mod prog; module
/DragonOS/kernel/crates/rbpf/src/
H A Dlib.rs117 prog: Option<&'a [u8]>, field
323 let prog = match self.prog { in jit_compile() localVariable
442 let prog = match self.prog { in cranelift_compile() localVariable
841 let prog = match self.parent.prog { in jit_compile() localVariable
954 let prog = match self.parent.prog { in cranelift_compile() localVariable
1262 let prog = match self.parent.prog { in jit_compile() localVariable
1344 let prog = match self.parent.prog { in cranelift_compile() localVariable
H A Dinterpreter.rs92 let prog = match prog_ { in execute_program() localVariable
/DragonOS/kernel/src/bpf/prog/
H A Dmod.rs117 let prog = BpfProg::new(args); in bpf_prog_load() localVariable
119 let prog = BpfProgVerifier::new(prog, log_info.log_level, &mut []).verify(&fd_table)?; in bpf_prog_load() localVariable
H A Dverifier.rs20 prog: BpfProg, field