Home
last modified time | relevance | path

Searched defs:mem (Results 1 – 6 of 6) sorted by relevance

/DragonOS/kernel/crates/rbpf/tests/
H A Dcranelift.rs27 let mem = &mut $mem; localVariable
314 let mem = &mut [0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]; in test_cranelift_call_memfrob() localVariable
2035 let mem = &mut [ in test_cranelift_tcp_port80_match() localVariable
2052 let mem = &mut [ in test_cranelift_tcp_port80_nomatch() localVariable
2069 let mem = &mut [ in test_cranelift_tcp_port80_nomatch_ethertype() localVariable
2086 let mem = &mut [ in test_cranelift_tcp_port80_nomatch_proto() localVariable
2103 let mut mem = TCP_SACK_MATCH.to_vec(); in test_cranelift_tcp_sack_match() localVariable
2115 let mut mem = TCP_SACK_NOMATCH.to_vec(); in test_cranelift_tcp_sack_nomatch() localVariable
2131 let mem = &mut [ in test_cranelift_ldabsb() localVariable
2147 let mem = &mut [ in test_cranelift_ldabsh() localVariable
[all …]
H A Dmisc.rs236 let mem = &[0xaa, 0xbb, 0x11, 0x22, 0xcc, 0xdd]; in test_vm_mbuff() localVariable
270 let mem = &[0xaa, 0xbb, 0x11, 0x22, 0xcc, 0xdd]; in test_vm_mbuff_with_rust_api() localVariable
294 let mem = &mut [0xaa, 0xbb, 0x11, 0x22, 0xcc, 0xdd]; in test_jit_mbuff() localVariable
318 let mem = &mut [ in test_vm_jit_ldabsb() localVariable
338 let mem = &mut [ in test_vm_jit_ldabsh() localVariable
358 let mem = &mut [ in test_vm_jit_ldabsw() localVariable
378 let mem = &mut [ in test_vm_jit_ldabsdw() localVariable
398 let mem = &mut [ in test_vm_err_ldabsb_oob() localVariable
428 let mem = &mut [ in test_vm_jit_ldindb() localVariable
448 let mem = &mut [ in test_vm_jit_ldindh() localVariable
[all …]
H A Dubpf_jit_x86_64.rs260 let mem = &mut [0x11, 0x22]; in test_jit_be16() localVariable
277 let mem = &mut [0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88]; in test_jit_be16_high() localVariable
294 let mem = &mut [0x11, 0x22, 0x33, 0x44]; in test_jit_be32() localVariable
311 let mem = &mut [0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88]; in test_jit_be32_high() localVariable
328 let mem = &mut [0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88]; in test_jit_be64() localVariable
370 let mem = &mut [0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]; in test_jit_call_memfrob() localVariable
1829 let mem = &mut [0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09]; in test_jit_ldxb_all() localVariable
1845 let mem = &mut [0xaa, 0xbb, 0x11, 0xcc, 0xdd]; in test_jit_ldxb() localVariable
1861 let mem = &mut [ in test_jit_ldxdw() localVariable
1918 let mem = &mut [ in test_jit_ldxh_all() localVariable
[all …]
H A Dubpf_vm.rs290 let mem = &mut [0x11, 0x22]; in test_vm_be16() localVariable
304 let mem = &mut [0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88]; in test_vm_be16_high() localVariable
318 let mem = &mut [0x11, 0x22, 0x33, 0x44]; in test_vm_be32() localVariable
332 let mem = &mut [0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88]; in test_vm_be32_high() localVariable
346 let mem = &mut [0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88]; in test_vm_be64() localVariable
382 let mem = &mut [0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]; in test_vm_call_memfrob() localVariable
1641 let mem = &mut [0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09]; in test_vm_ldxb_all() localVariable
1654 let mem = &mut [0xaa, 0xbb, 0x11, 0xcc, 0xdd]; in test_vm_ldxb() localVariable
1667 let mem = &mut [ in test_vm_ldxdw() localVariable
1721 let mem = &mut [ in test_vm_ldxh_all() localVariable
[all …]
/DragonOS/kernel/src/syscall/
H A Dmisc.rs40 let mem = unsafe { LockedFrameAllocator.usage() }; in sysinfo() localVariable
/DragonOS/kernel/crates/rbpf/src/
H A Djit.rs1007 let mut mem = JitMemory { in new() localVariable