arch/powerpc/mm/book3s64/internal.h
Source file repositories/reference/linux-study-clean/arch/powerpc/mm/book3s64/internal.h
File Facts
- System
- Linux kernel
- Corpus path
arch/powerpc/mm/book3s64/internal.h- Extension
.h- Size
- 792 bytes
- Lines
- 35
- Domain
- Architecture Layer
- Bucket
- arch/powerpc
- Inferred role
- Architecture Layer: implementation source
- Status
- source implementation candidate
Why This File Exists
CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
Dependency Surface
linux/jump_label.h
Detected Declarations
function stress_slbfunction stress_hptfunction slb_preload_disabled
Annotated Snippet
#ifndef ARCH_POWERPC_MM_BOOK3S64_INTERNAL_H
#define ARCH_POWERPC_MM_BOOK3S64_INTERNAL_H
#include <linux/jump_label.h>
extern bool stress_slb_enabled;
DECLARE_STATIC_KEY_FALSE(stress_slb_key);
static inline bool stress_slb(void)
{
return static_branch_unlikely(&stress_slb_key);
}
extern bool stress_hpt_enabled;
DECLARE_STATIC_KEY_FALSE(stress_hpt_key);
static inline bool stress_hpt(void)
{
return static_branch_unlikely(&stress_hpt_key);
}
extern bool no_slb_preload;
DECLARE_STATIC_KEY_FALSE(no_slb_preload_key);
static inline bool slb_preload_disabled(void)
{
return static_branch_unlikely(&no_slb_preload_key);
}
void hpt_do_stress(unsigned long ea, unsigned long hpte_group);
#endif /* ARCH_POWERPC_MM_BOOK3S64_INTERNAL_H */
Annotation
- Immediate include surface: `linux/jump_label.h`.
- Detected declarations: `function stress_slb`, `function stress_hpt`, `function slb_preload_disabled`.
- Atlas domain: Architecture Layer / arch/powerpc.
- 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.