destroy_attribute_objs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… destroy_attribute_objs β€” bestie edition

ok so real talk, this one lives in the Kernel API Manual (section 9, the kernel API girlies know) and it's genuinely one of the shorter ones, so we can absolutely get through it together. grab a lil snack πŸ“


✨ NAME ✨

destroy_attribute_objs β€” frees a kset of kobjects 🫢 like, it's the cleanup crew, the "ok everyone out of the pool" function


🌸 SYNOPSIS 🌸

void destroy_attribute_objs (struct kset *kset );

that's it. that's the whole signature. no return value, no drama, just vibes and a pointer. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • kset β€” the kset you wanna destroy. like, the actual one. hand it over and it gets taken care of ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea: it frees the kobjects that were created for each attribute_name under the attribute type kset. that's the whole bit. it's the lil cleanup pass, the "you don't have to go home but you can't stay here" of kobjects πŸ’€

no cap, that's the entire description. short king of a manpage πŸ‘‘


πŸ”₯ SEE ALSO πŸ”₯

the whole hp_* friend group fr fr, they all hang out in the same file 🌈


lowkey reminder: this page is from the Kernel API Manual, and the source path got truncated in the footer as ./drivers/platform/x86/hp/hp-b... β€” that's the manpage's own shorthand, not me being lazy πŸ™ˆ (ok maybe a little bit both) also the footer is stamped October 2026 and repeats the name destroy_attribute_objs(9). time traveler behavior honestly ⭐

mwah, that's the page! short, sweet, fully documented. go free those kobjects, you've got this πŸ’–πŸ§šβ€β™€οΈ

β€” signed off with the source/version stamp ./drivers/platform/x86/hp/hp-b..., dated October 2026, manual entry destroy_attribute_objs(9) πŸŽ€βœ¨

πŸ“¦ where this page comes from