rust/zerocopy/benches/ref_from_suffix_dynamic_size.x86-64

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

File Facts

System
Linux kernel
Corpus path
rust/zerocopy/benches/ref_from_suffix_dynamic_size.x86-64
Extension
.x86-64
Size
197 bytes
Lines
14
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_ref_from_suffix_dynamic_size:
	mov rdx, rsi
	lea ecx, [rsi + rdi]
	mov eax, edx
	and eax, 1
	add rax, rdi
	xor esi, esi
	sub rdx, 4
	cmovb rax, rsi
	shr rdx
	test cl, 1
	cmovne rax, rsi
	ret

Annotation

Implementation Notes