crypto/async_tx/async_pq.c
Source file repositories/reference/linux-study-clean/crypto/async_tx/async_pq.c
File Facts
- System
- Linux kernel
- Corpus path
crypto/async_tx/async_pq.c- Extension
.c- Size
- 13241 bytes
- Lines
- 465
- Domain
- Kernel Services
- Bucket
- crypto
- Inferred role
- Kernel Services: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Shared kernel service surface used by multiple subsystems, including helpers, cryptography, virtualization support, and async I/O infrastructure.
- Shared kernel service surface used by multiple subsystems, including helpers, cryptography, virtualization support, and async I/O infrastructure.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/kernel.hlinux/interrupt.hlinux/module.hlinux/dma-mapping.hlinux/raid/pq.hlinux/raid/pq_tables.hlinux/async_tx.hlinux/gfp.h
Detected Declarations
function async_syndrome_valfunction do_sync_gen_syndromefunction is_dma_pq_aligned_offsfunction async_gen_syndromefunction dma_maxpqfunction pq_val_chanfunction async_syndrome_valfunction async_pq_initfunction async_pq_exitmodule init async_pq_initexport async_gen_syndromeexport async_syndrome_val
Annotated Snippet
module_init(async_pq_init);
module_exit(async_pq_exit);
MODULE_DESCRIPTION("asynchronous raid6 syndrome generation/validation");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/interrupt.h`, `linux/module.h`, `linux/dma-mapping.h`, `linux/raid/pq.h`, `linux/raid/pq_tables.h`, `linux/async_tx.h`, `linux/gfp.h`.
- Detected declarations: `function async_syndrome_val`, `function do_sync_gen_syndrome`, `function is_dma_pq_aligned_offs`, `function async_gen_syndrome`, `function dma_maxpq`, `function pq_val_chan`, `function async_syndrome_val`, `function async_pq_init`, `function async_pq_exit`, `module init async_pq_init`.
- Atlas domain: Kernel Services / crypto.
- Implementation status: integration implementation candidate.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
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.