destroy_attribute_objs(9)
π 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 π₯
- Kernel file
./drivers/platform/x86/hp/hp-bioscfg/bioscfg.cβ go read the source bestie, it's right there hp_calculate_string_buffer(9)hp_get_wmiobj_pointer(9)hp_get_instance_count(9)hp_alloc_attributes_data(9)hp_update_attribute_permissions(9)release_attributes_data(9)hp_add_other_attributes(9)hp_init_bios_attributes(9)
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 namedestroy_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
- 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