tools/testing/shared/linux/kernel.h
Source file repositories/reference/linux-study-clean/tools/testing/shared/linux/kernel.h
File Facts
- System
- Linux kernel
- Corpus path
tools/testing/shared/linux/kernel.h- Extension
.h- Size
- 538 bytes
- Lines
- 26
- Domain
- Support Tooling And Documentation
- Bucket
- tools
- Inferred role
- Support Tooling And Documentation: implementation source
- Status
- source implementation candidate
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
../../include/linux/kernel.hstring.hstdio.hlimits.hlinux/compiler.hlinux/err.hlinux/bitops.hlinux/log2.h../../../include/linux/kconfig.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#ifndef _KERNEL_H
#define _KERNEL_H
#include "../../include/linux/kernel.h"
#include <string.h>
#include <stdio.h>
#include <limits.h>
#include <linux/compiler.h>
#include <linux/err.h>
#include <linux/bitops.h>
#include <linux/log2.h>
#include "../../../include/linux/kconfig.h"
#define printk printf
#define pr_err printk
#define pr_info printk
#define pr_debug printk
#define pr_cont printk
#define schedule()
#define PAGE_SHIFT 12
#define EXPORT_PER_CPU_SYMBOL_GPL(x)
#endif /* _KERNEL_H */
Annotation
- Immediate include surface: `../../include/linux/kernel.h`, `string.h`, `stdio.h`, `limits.h`, `linux/compiler.h`, `linux/err.h`, `linux/bitops.h`, `linux/log2.h`.
- Atlas domain: Support Tooling And Documentation / tools.
- 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.