lib/crc/x86/crc64.h

Source file repositories/reference/linux-study-clean/lib/crc/x86/crc64.h

File Facts

System
Linux kernel
Corpus path
lib/crc/x86/crc64.h
Extension
.h
Size
1275 bytes
Lines
49
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

if (have_vpclmul()) {
			if (have_avx512()) {
				static_call_update(crc64_msb_pclmul,
						   crc64_msb_vpclmul_avx512);
				static_call_update(crc64_lsb_pclmul,
						   crc64_lsb_vpclmul_avx512);
			} else {
				static_call_update(crc64_msb_pclmul,
						   crc64_msb_vpclmul_avx2);
				static_call_update(crc64_lsb_pclmul,
						   crc64_lsb_vpclmul_avx2);
			}
		}
	}
}

Annotation

Implementation Notes