rust/zerocopy/benches/try_ref_from_suffix_dynamic_size.x86-64

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

File Facts

System
Linux kernel
Corpus path
rust/zerocopy/benches/try_ref_from_suffix_dynamic_size.x86-64
Extension
.x86-64
Size
278 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_ref_from_suffix_dynamic_size:
	lea eax, [rsi + rdi]
	cmp rsi, 4
	setb cl
	or cl, al
	test cl, 1
	je .LBB5_2
	xor eax, eax
	ret
.LBB5_2:
	lea rdx, [rsi - 4]
	shr rdx
	and esi, 1
	lea rcx, [rdi + rsi]
	xor eax, eax
	cmp word ptr [rdi + rsi], -16192
	cmove rax, rcx
	ret

Annotation

Implementation Notes