tsm_mr_free_attribute_group(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ tsm_mr_free_attribute_group (kernel API manual, section 9, bestie) πŸ‘‘

okay so hi πŸ’– you've wandered into the kernel API manual for tsm_mr_free_attribute_group(9) and honestly? you're in the right place. this is the cleanup crew of the kernel β€” the moment where we say bye to something we made earlier. slay.


✨ NAME ✨

tsm_mr_free_attribute_group β€” the function that frees the attribute group that tsm_mr_create_attribute_group() handed you earlier 🫢

like. it's the undo button. the "ok we're done here" button. no cap.


🌸 SYNOPSIS 🌸

void tsm_mr_free_attribute_group (const struct attribute_group *attr_grp );

that's it. that's the whole signature. void return, one const pointer argument, and a lot of closure energy πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • attr_grp β€” the attribute group returned by tsm_mr_create_attribute_group πŸŽ€ this is the exact same thing you got back from the create call, and now it's the thing getting freed. circle of life fr fr.

πŸ’œ CONTEXT πŸ’œ

Process context. that's the whole context section 😭 so like, you're running as a process, not in some wild interrupt-y nightmare. keep it that way. periodt.


⭐ SEE ALSO ⭐

  • Kernel file ./drivers/virt/coco/guest/tsm-mr.c β€” go read the source, iykyk πŸ‘‘
  • tsm_mr_create_attribute_group(9) β€” the function that makes the attribute group in the first place 🌈 (the two are literally a matching set, obsessed)

quick vibe check πŸ’€: if you didn't get attr_grp from tsm_mr_create_attribute_group(), that's not this function's problem β€” the manual only tells you what this one does, so don't come for me.

and that's the whole page bestie, no filler, no fluff, all facts πŸ”₯

β€” signed off with love from ./drivers/virt/coco/guest, October 2026, page tsm_mr_free_attribute_group(9) πŸ§šπŸ’–πŸ“

πŸ“¦ where this page comes from