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.

Dependency Surface

Detected Declarations

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

Implementation Notes