rust/zerocopy/benches/read_from_prefix.x86-64

Source file repositories/reference/linux-study-clean/rust/zerocopy/benches/read_from_prefix.x86-64

File Facts

System
Linux kernel
Corpus path
rust/zerocopy/benches/read_from_prefix.x86-64
Extension
.x86-64
Size
223 bytes
Lines
15
Domain
Rust Kernel Layer
Bucket
Rust API Membrane
Inferred role
Rust Kernel Layer: Rust API Membrane
Status
atlas-only

Why This File Exists

Rust-side wrappers and abstractions around kernel C APIs, ownership contracts, allocation, synchronization, and module integration.

Dependency Surface

Detected Declarations

Annotated Snippet

bench_read_from_prefix_static_size:
	cmp rsi, 5
	jbe .LBB5_2
	mov eax, dword ptr [rdi]
	movzx edi, word ptr [rdi + 4]
	shl rdi, 32
	or rdi, rax
.LBB5_2:
	shl rdi, 16
	inc rdi
	xor eax, eax
	cmp rsi, 6
	cmovae rax, rdi
	ret

Annotation

Implementation Notes