rust/zerocopy/benches/try_read_from_suffix.x86-64

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

File Facts

System
Linux kernel
Corpus path
rust/zerocopy/benches/try_read_from_suffix.x86-64
Extension
.x86-64
Size
310 bytes
Lines
19
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_suffix_static_size:
	mov eax, 49345
	cmp rsi, 6
	jb .LBB5_2
	mov eax, dword ptr [rdi + rsi - 6]
	movzx ecx, word ptr [rdi + rsi - 2]
	shl rcx, 32
	or rcx, rax
	movzx edx, cx
	xor eax, eax
	cmp edx, 49344
	cmovne rcx, rsi
	sete al
	and rcx, -65536
	xor rax, 49345
	or rax, rcx
.LBB5_2:
	ret

Annotation

Implementation Notes