STRUCT TSM_REPORT_OPS(9)
β¨ struct tsm_report_ops(9) β¨
okay bestie, welcome to the Kernel API Manual entry for struct tsm_report_ops β literally the attributes and operations for tsm_report instances. she's a lil struct, but she's got range π
π NAME π
struct tsm_report_ops β attributes and operations for tsm_report instances π«Ά
π SYNOPSIS π
struct tsm_report_ops {
const char *name;
unsigned int privlevel_floor;
int (*report_new)(struct tsm_report *report, void *data);
bool (*report_attr_visible)(int n);
bool (*report_bin_attr_visible)(int n);
};
π¦ Members π¦
nameβ the tsm id, and the way it shows up is literally at/sys/kernel/config/tsm/report/$report/providerβ so when you're poking around in sysfs, that's her name tag iykykprivlevel_floorβ conveys the base privlevel for nested scenarios π§ not me thinking about privilege levels nestled inside each other like russian dollsreport_newβ populates the report with the report blob and auxblob (auxblob is optional, no pressure bestie π), and returns0on a successful population, or-errnootherwise πreport_attr_visibleβ shows or hides a report attribute entry π (yes she's got main character energy over what you're allowed to see)report_bin_attr_visibleβ shows or hides a report binary attribute entry π same vibe, binary edition
πΈ Description πΈ
these are the implementation specific ops, and here's the thing bestie: only one is expected to be registered at a time π₯ like, only one of "sev-guest", "tdx-guest", etc. so no, you can't have them all at once, that's not the vibe, periodt π
π«Ά SEE ALSO π«Ά
- Kernel file
./include/linux/tsm.h struct tsm_report_desc(9)struct tsm_report(9)enum tsm_attr_index(9)enum tsm_bin_attr_index(9)
go read those next, bestie, one of them literally says desc which is short for description, we LOVE a documentation pipeline π
that's the whole page fr fr β¨ source vibes live in ./include/linux and she was dated October 2026 β like, futuristic queen π
π bye bestie, go read more manpages π
π¦ 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