tpm_buf_read_u32(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hiii bestie πŸ’– you're on the tpm_buf_read_u32(9) page of the Kernel API Manual, and it's giving tiny-but-iconic. we're literally just reading a 32-bit word out of a TPM buffer. slay.

🌸 NAME 🌸

tpm_buf_read_u32 β€” Read 32-bit word from a TPM buffer. that's her whole thing, no cap πŸ’…

✨ SYNOPSIS ✨

u32 tpm_buf_read_u32 (struct tpm_buf *buf , off_t *offset );

okay so that's the signature, exactly as written. periodt.

πŸŽ€ ARGUMENTS πŸŽ€

  • buf β€” tpm_buf instance. the buffer baddie in question πŸ¦‹
  • offset β€” offset within the buffer. that's where we're reading from, iykyk.

πŸ‘‘ RETURN πŸ‘‘

the next 32-bit word. that's it, that's the tea β˜•βœ¨

🌈 SEE ALSO 🌈

Kernel file ./drivers/char/tpm/tpm-buf.c β€” and the whole friend group:


🫢 source/version: ./drivers/char/tpm Β· date: October 2026 β€” mwah, bye bestie πŸ’–
πŸ“¦ where this page comes from