tpm_buf_append_handle(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 β€” your tpm_buf instance. 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:


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