tools/objtool/include/objtool/checksum_types.h

Source file repositories/reference/linux-study-clean/tools/objtool/include/objtool/checksum_types.h

File Facts

System
Linux kernel
Corpus path
tools/objtool/include/objtool/checksum_types.h
Extension
.h
Size
376 bytes
Lines
26
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: implementation source
Status
source implementation candidate

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

struct sym_checksum {
	u64 addr;
	u64 checksum;
};

#ifdef BUILD_KLP

#include <xxhash.h>

struct checksum {
	XXH3_state_t *state;
	XXH64_hash_t checksum;
};

#else /* !BUILD_KLP */

struct checksum {};

#endif /* !BUILD_KLP */

#endif /* _OBJTOOL_CHECKSUM_TYPES_H */

Annotation

Implementation Notes