rust/zerocopy/benches/ref_from_prefix_dynamic_padding.x86-64

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

File Facts

System
Linux kernel
Corpus path
rust/zerocopy/benches/ref_from_prefix_dynamic_padding.x86-64
Extension
.x86-64
Size
314 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_prefix_dynamic_padding:
	xor edx, edx
	mov eax, 0
	test dil, 3
	je .LBB5_1
	ret
.LBB5_1:
	movabs rax, 9223372036854775804
	and rsi, rax
	cmp rsi, 9
	jae .LBB5_3
	mov edx, 1
	xor eax, eax
	ret
.LBB5_3:
	add rsi, -9
	movabs rcx, -6148914691236517205
	mov rax, rsi
	mul rcx
	shr rdx
	mov rax, rdi
	ret

Annotation

Implementation Notes