tools/testing/selftests/powerpc/copyloops/copy_tofrom_user_reference.S
Source file repositories/reference/linux-study-clean/tools/testing/selftests/powerpc/copyloops/copy_tofrom_user_reference.S
File Facts
- System
- Linux kernel
- Corpus path
tools/testing/selftests/powerpc/copyloops/copy_tofrom_user_reference.S- Extension
.S- Size
- 258 bytes
- Lines
- 25
- Domain
- Support Tooling And Documentation
- Bucket
- tools
- Inferred role
- Support Tooling And Documentation: tools
- Status
- atlas-only
Why This File Exists
Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
- Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
Dependency Surface
asm/ppc_asm.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#include <asm/ppc_asm.h>
_GLOBAL(copy_tofrom_user_reference)
cmpdi r5,0
beq 4f
mtctr r5
1: lbz r6,0(r4)
2: stb r6,0(r3)
addi r3,r3,1
addi r4,r4,1
bdnz 1b
3: mfctr r3
blr
4: mr r3,r5
blr
.section __ex_table,"a"
.llong 1b,3b
.llong 2b,3b
.text
Annotation
- Immediate include surface: `asm/ppc_asm.h`.
- Atlas domain: Support Tooling And Documentation / tools.
- Implementation status: atlas-only.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.