tpm_buf_read_u32(9)
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:
tpm_buf_init(9)tpm_buf_init_sized(9)tpm_buf_reset(9)tpm_buf_reset_sized(9)tpm_buf_length(9)tpm_buf_append(9)tpm_buf_append_handle(9)tpm_buf_read(9)tpm_buf_read_u8(9)tpm_buf_read_u16(9)
π«Ά source/version: ./drivers/char/tpm Β· date: October 2026 β mwah, bye bestie π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms