tpm_buf_append_handle(9)
β¨ tpm_buf_append_handle β¨
okay so bestie, welcome to the Kernel API Manual entry for tpm_buf_append_handle β it's a little one, but it absolutely ate π
π NAME π
tpm_buf_append_handle β literally just add a handle π«Ά
πΈ SYNOPSIS πΈ
void tpm_buf_append_handle (struct tpm_buf *buf , u32 handle );
π¦ ARGUMENTS π¦
bufβ yourtpm_bufinstance. the main character, the buffer we're talking to πhandleβ a TPM object handle. that's the thing getting added, no cap β¨
π DESCRIPTION π
So here's the vibe: this function adds a handle to the buffer, and β this is the important bit β it also bumps up the count that's tracking how many handles are chilling in the command buffer π₯
heads up bestie: it works only for command buffers, so don't come at it with anything else, fr fr π
π SEE ALSO π
Kernel file ./drivers/char/tpm/tpm-buf.c and its 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_read(9)tpm_buf_read_u8(9)tpm_buf_read_u16(9)tpm_buf_read_u32(9)
and that's the whole page, bestie π this little gem lives over in ./drivers/char/tpm and was dated October 2026 β go off, kernel docs, iconic behavior honestly πβπ
π¦ 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