tpm_buf_read_u16(9)
β¨ NAME β¨
tpm_buf_read_u16 β read a 16-bit word from a TPM buffer π
hey bestie, welcome to the tpm_buf_read_u16(9) page from the Kernel API Manual β this is the lil helper that reads a 16-bit word from a TPM buffer, no cap β¨
π SYNOPSIS π
the signature, exactly as it is, periodt:
u16 tpm_buf_read_u16 (struct tpm_buf *buf , off_t *offset );
π¦ ARGUMENTS π¦
bufβ atpm_bufinstance π«Ά like, the buffer we're reading from.offsetβ offset within the buffer π the exact spot inside it.
πΈ RETURN πΈ
the next 16-bit word π that's the whole vibe.
π₯ SEE ALSO π₯
- Kernel file
./drivers/char/tpm/tpm-buf.c 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_u32(9)
later bestie π
β this page lives under ./drivers/char/tpm and is dated October 2026 π
π¦ 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