rust/zerocopy/benches/ref_from_suffix_with_elems_dynamic_padding.x86-64

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

File Facts

System
Linux kernel
Corpus path
rust/zerocopy/benches/ref_from_suffix_with_elems_dynamic_padding.x86-64
Extension
.x86-64
Size
394 bytes
Lines
28
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_with_elems_dynamic_padding:
	movabs rax, 3074457345618258598
	cmp rdx, rax
	ja .LBB5_1
	lea r8d, [rsi + rdi]
	xor ecx, ecx
	mov eax, 0
	test r8b, 3
	je .LBB5_3
	mov rdx, rcx
	ret
.LBB5_3:
	lea rax, [rdx + 2*rdx]
	or rax, 3
	add rax, 9
	sub rsi, rax
	jae .LBB5_4
.LBB5_1:
	xor eax, eax
	mov edx, 1
	ret
.LBB5_4:
	add rdi, rsi
	mov rcx, rdx
	mov rax, rdi
	mov rdx, rcx
	ret

Annotation

Implementation Notes