tpm_buf_init_sized(9)
π NAME β tpm_buf_init_sized(9) from the Kernel API Manual π
okay so bestie, welcome to tpm_buf_init_sized(9) β the Kernel API Manual entry whose whole entire job is literally Initialize a sized buffer β¨. That's it. That's the vibe. It's giving "set up a tpm_buf with a size" energy, and honestly? iconic π.
πΈ SYNOPSIS πΈ
void tpm_buf_init_sized (struct tpm_buf *buf , u16 buf_size );
π ARGUMENTS π
bufβ Atpm_buf. That's the buffer bestie you're initializing π«Άbuf_sizeβ Size of the buffer.u16energy, no cap π
π¦ SEE ALSO π¦
The kernel file is ./drivers/char/tpm/tpm-buf.c β go peek, iykyk π. And here's the related-function squad, all linked with their (9) sections:
tpm_buf_init(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)tpm_buf_read_u32(9)
mwah π β this page comes from ./drivers/char/tpm, in the Kernel API Manual, dated October 2026, and it's all about tpm_buf_init_sized(9) πβ¨
π¦ 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