include/keys/trusted_pkwm.h
Source file repositories/reference/linux-study-clean/include/keys/trusted_pkwm.h
File Facts
- System
- Linux kernel
- Corpus path
include/keys/trusted_pkwm.h- Extension
.h- Size
- 799 bytes
- Lines
- 34
- Domain
- Repository Root And Misc
- Bucket
- include
- Inferred role
- Repository Root And Misc: implementation source
- Status
- source implementation candidate
Why This File Exists
Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.
- Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
keys/trusted-type.hlinux/bitops.hlinux/printk.h
Detected Declarations
struct trusted_pkwm_optionsfunction dump_options
Annotated Snippet
struct trusted_pkwm_options {
u16 wrap_flags;
};
static inline void dump_options(struct trusted_key_options *o)
{
const struct trusted_pkwm_options *pkwm;
bool sb_audit_or_enforce_bit;
bool sb_enforce_bit;
pkwm = o->private;
sb_audit_or_enforce_bit = pkwm->wrap_flags & BIT(0);
sb_enforce_bit = pkwm->wrap_flags & BIT(1);
if (sb_audit_or_enforce_bit)
pr_debug("secure boot mode required: audit or enforce");
else if (sb_enforce_bit)
pr_debug("secure boot mode required: enforce");
else
pr_debug("secure boot mode required: disabled");
}
#endif
Annotation
- Immediate include surface: `keys/trusted-type.h`, `linux/bitops.h`, `linux/printk.h`.
- Detected declarations: `struct trusted_pkwm_options`, `function dump_options`.
- Atlas domain: Repository Root And Misc / include.
- 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.