tpm_buf_reset_sized(9)
okay bestie, welcome to the Kernel API Manual page for tpm_buf_reset_sized(9) β yes, the whole page is about re-initializing a sized buffer, and we're gonna read it together like the iconic little kernel doc it is π
β¨
πΈ NAME πΈ
tpm_buf_reset_sized β Re-initialize a sized buffer π
β¨ SYNOPSIS β¨
void tpm_buf_reset_sized (struct tpm_buf *buf );
that's the signature, no cap β return type is void, and it takes that one pointer argument π«Ά
π ARGUMENTS π
bufβ Atpm_bufπ
that's it, that's the argument list, and honestly slay for keeping it simple πΈ
π¦ SEE ALSO π¦
Kernel file: ./drivers/char/tpm/tpm-buf.c β yes, that's the exact path, keep it cute and exact π§
tpm_buf_init(9)tpm_buf_init_sized(9)tpm_buf_reset(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)tpm_buf_read_u32(9)
okay that's the whole page, bestie π source/version line energy: ./drivers/char/tpm, dated October 2026, and this was the Kernel API Manual entry for tpm_buf_reset_sized(9) β periodt ππ₯
π¦ 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