tpm_buf_read(9)
π NAME π
tpm_buf_read β Read from a TPM buffer
Okay so bestie, this page is tpm_buf_read(9) from the Kernel API Manual, and it's literally here to explain reading from a TPM buffer π
β¨ SYNOPSIS β¨
void tpm_buf_read (struct tpm_buf *buf , off_t *offset , size_t count ,
void *output );
π ARGUMENTS π
bufβ thetpm_bufinstance, aka the buffer we're reading from π«Άoffsetβ the offset within the buffer, like where the reading starts πcountβ the number of bytes to read, no cap, just exactly this many β¨outputβ the output buffer, where the read stuff goes π
π¦ SEE ALSO π¦
- Kernel file
./drivers/char/tpm/tpm-buf.c - The related little icons:
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_u8(9),tpm_buf_read_u16(9),tpm_buf_read_u32(9)
And that's the whole vibe: source ./drivers/char/tpm, dated October 2026, all wrapped up in this tpm_buf_read(9) moment πΈβ¨π
π¦ 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