lib/crc/x86/crc-pclmul-template.h
Source file repositories/reference/linux-study-clean/lib/crc/x86/crc-pclmul-template.h
File Facts
- System
- Linux kernel
- Corpus path
lib/crc/x86/crc-pclmul-template.h- Extension
.h- Size
- 2640 bytes
- Lines
- 72
- Domain
- Kernel Services
- Bucket
- lib
- Inferred role
- Kernel Services: implementation source
- Status
- source 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.
Dependency Surface
asm/cpufeatures.hasm/simd.hlinux/static_call.hcrc-pclmul-consts.h
Detected Declarations
function have_vpclmulfunction have_avx512function kernel_fpu_begin
Annotated Snippet
likely(irq_fpu_usable())) { \
const void *consts_ptr; \
\
consts_ptr = (consts).fold_across_128_bits_consts; \
kernel_fpu_begin(); \
crc = static_call(prefix##_pclmul)((crc), (p), (len), \
consts_ptr); \
kernel_fpu_end(); \
return crc; \
} \
} while (0)
#endif /* _CRC_PCLMUL_TEMPLATE_H */
Annotation
- Immediate include surface: `asm/cpufeatures.h`, `asm/simd.h`, `linux/static_call.h`, `crc-pclmul-consts.h`.
- Detected declarations: `function have_vpclmul`, `function have_avx512`, `function kernel_fpu_begin`.
- Atlas domain: Kernel Services / lib.
- 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.