tpm2_flush_context(9)
πΈ NAME πΈ
okay so bestie, meet tpm2_flush_context(9) β straight outta the Kernel API Manual β¨ β and its whole gig is literally this: execute a TPM2_FlushContext command. no cap. that's the name, that's the function, that's the vibe. π
β¨ SYNOPSIS β¨
void tpm2_flush_context (struct tpm_chip *chip , u32 handle );
so it's a void function, lowkey returning nothing back to you, and it takes exactly two things: a chip and a handle. periodt. π«Ά
π ARGUMENTS π
chipβ TPM chip to use. that's the one, bestie πhandleβ context handle. yep, the handle for the context. iconic. π
π SEE ALSO π
the kernel file is ./drivers/char/tpm/tpm2-cmd.c β and here's the whole function friend group, no cap:
tpm2_calc_ordinal_duration(9)tpm2_pcr_read(9)tpm2_pcr_extend(9)tpm2_get_random(9)tpm2_get_tpm_pt(9)tpm2_shutdown(9)tpm2_do_selftest(9)tpm2_probe(9)tpm2_startup(9)tpm2_auto_startup(9)
and that's the whole glow-up π this page came from the ./drivers/char/tpm source corner, dated October 2026, and it's the tpm2_flush_context(9) manual page. slay, you're ready. π
π¦ 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