rust/zerocopy/benches/ref_from_bytes_dynamic_padding.x86-64

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

File Facts

System
Linux kernel
Corpus path
rust/zerocopy/benches/ref_from_bytes_dynamic_padding.x86-64
Extension
.x86-64
Size
338 bytes
Lines
23
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_bytes_dynamic_padding:
	test dil, 3
	jne .LBB5_3
	movabs rax, 9223372036854775804
	and rax, rsi
	cmp rax, 9
	jb .LBB5_3
	add rax, -9
	movabs rcx, -6148914691236517205
	mul rcx
	shr rdx
	lea rax, [rdx + 2*rdx]
	or rax, 3
	add rax, 9
	cmp rsi, rax
	je .LBB5_4
.LBB5_3:
	xor edi, edi
	mov rdx, rsi
.LBB5_4:
	mov rax, rdi
	ret

Annotation

Implementation Notes