include/linux/raid/pq.h
Source file repositories/reference/linux-study-clean/include/linux/raid/pq.h
File Facts
- System
- Linux kernel
- Corpus path
include/linux/raid/pq.h- Extension
.h- Size
- 663 bytes
- Lines
- 25
- 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
linux/types.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#ifndef LINUX_RAID_PQ_H
#define LINUX_RAID_PQ_H
#include <linux/types.h>
#define RAID6_MIN_DISKS 4
void raid6_gen_syndrome(int disks, size_t bytes, void **ptrs);
void raid6_xor_syndrome(int disks, int start, int stop, size_t bytes,
void **ptrs);
bool raid6_can_xor_syndrome(void);
void raid6_recov_2data(int disks, size_t bytes, int faila, int failb,
void **ptrs);
void raid6_recov_datap(int disks, size_t bytes, int faila,
void **ptrs);
#endif /* LINUX_RAID_PQ_H */
Annotation
- Immediate include surface: `linux/types.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.