rust/zerocopy/benches/split_via_runtime_check_dynamic_padding.x86-64

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

File Facts

System
Linux kernel
Corpus path
rust/zerocopy/benches/split_via_runtime_check_dynamic_padding.x86-64
Extension
.x86-64
Size
440 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_split_via_runtime_check_dynamic_padding:
	mov rax, rdi
	mov rdx, qword ptr [rsi + 16]
	mov ecx, edx
	and ecx, 3
	cmp ecx, 1
	jne .LBB5_1
	mov rcx, qword ptr [rsi]
	mov rsi, qword ptr [rsi + 8]
	lea rdi, [rdx + 2*rdx]
	add rdi, rcx
	add rdi, 9
	sub rsi, rdx
	mov qword ptr [rax + 8], rdx
	mov qword ptr [rax + 16], rdi
	mov qword ptr [rax + 24], rsi
	mov qword ptr [rax], rcx
	ret
.LBB5_1:
	xor ecx, ecx
	mov qword ptr [rax], rcx
	ret

Annotation

Implementation Notes