arch/powerpc/mm/ptdump/ptdump.h
Source file repositories/reference/linux-study-clean/arch/powerpc/mm/ptdump/ptdump.h
File Facts
- System
- Linux kernel
- Corpus path
arch/powerpc/mm/ptdump/ptdump.h- Extension
.h- Size
- 408 bytes
- Lines
- 24
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/types.hlinux/seq_file.h
Detected Declarations
struct flag_infostruct ptdump_pg_level
Annotated Snippet
struct flag_info {
u64 mask;
u64 val;
const char *set;
const char *clear;
bool is_val;
int shift;
};
struct ptdump_pg_level {
const struct flag_info *flag;
char name[4];
size_t num;
u64 mask;
};
extern struct ptdump_pg_level pg_level[5];
void pt_dump_size(struct seq_file *m, unsigned long delta);
Annotation
- Immediate include surface: `linux/types.h`, `linux/seq_file.h`.
- Detected declarations: `struct flag_info`, `struct ptdump_pg_level`.
- 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.