tpm1_get_pcr_allocation(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, this is the tpm1_get_pcr_allocation(9) page from the Kernel API Manual β€” manual name folded in right near the top instead of a whole header-line reprint, because we're cute like that. πŸ’…βœ¨

🌸 NAME 🌸

tpm1_get_pcr_allocation β€” initialize the allocated bank. That's the whole name-section vibe, and yes it's giving "we're setting up the bank" energy. πŸŽ€

✨ SYNOPSIS ✨

Here's the signature, copied exactly because we do not play with code, ever:

int tpm1_get_pcr_allocation (struct tpm_chip *chip );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • chip β€” the TPM chip to use. That's the argument, bestie; it's a struct tpm_chip * and it's literally the chip we're working with. πŸ’–

πŸ’œ DESCRIPTION πŸ’œ

The function initializes the SHA1 allocated bank to extend PCR. That's the whole description β€” it's giving focused, it's giving "the SHA1 allocated bank is getting initialized so PCR extending can happen", and honestly? Obsessed. 🌈

πŸ”₯ RETURN πŸ”₯

Return vibes are simple:

  • 0 β€” on success, slay. πŸŽ‰
  • < 0 β€” on error, not slay. 😭

🌟 SEE ALSO 🌟

Kernel file ./drivers/char/tpm/tpm1-cmd.c β€” go look, bestie. πŸ‘€


okay that's the page! signing off from ./drivers/char/tpm (the source/version path, periodt), dated October 2026, and this has been tpm1_get_pcr_allocation(9). mwah πŸ’‹πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from