include/linux/text-patching.h
Source file repositories/reference/linux-study-clean/include/linux/text-patching.h
File Facts
- System
- Linux kernel
- Corpus path
include/linux/text-patching.h- Extension
.h- Size
- 349 bytes
- Lines
- 16
- Domain
- Core OS
- Bucket
- Core Kernel Interface
- Inferred role
- Core OS: implementation source
- Status
- source implementation candidate
Why This File Exists
Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
Dependency Surface
asm/text-patching.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#ifndef _LINUX_TEXT_PATCHING_H
#define _LINUX_TEXT_PATCHING_H
#include <asm/text-patching.h>
#ifndef text_poke_copy
static inline void *text_poke_copy(void *dst, const void *src, size_t len)
{
return memcpy(dst, src, len);
}
#define text_poke_copy text_poke_copy
#endif
#endif /* _LINUX_TEXT_PATCHING_H */
Annotation
- Immediate include surface: `asm/text-patching.h`.
- Atlas domain: Core OS / Core Kernel Interface.
- Implementation status: source implementation candidate.
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.