rust/zerocopy/benches/try_read_from_prefix.x86-64

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

File Facts

System
Linux kernel
Corpus path
rust/zerocopy/benches/try_read_from_prefix.x86-64
Extension
.x86-64
Size
272 bytes
Lines
17
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_try_read_from_prefix_static_size:
	mov eax, 49345
	cmp rsi, 6
	jb .LBB5_2
	mov eax, dword ptr [rdi]
	movzx ecx, word ptr [rdi + 4]
	shl rcx, 32
	or rcx, rax
	movzx eax, cx
	and rcx, -65536
	or rcx, 49344
	cmp eax, 49344
	mov eax, 49345
	cmove rax, rcx
.LBB5_2:
	ret

Annotation

Implementation Notes