kset_register(9)
π NAME π
okay bestie, welcome to kset_register(9) from the Kernel API Manual β this one is literally here to Initialize and add a kset. that's the whole name tag, no cap π
β¨ SYNOPSIS β¨
the signature is giving one-line main character energy:
int kset_register (struct kset *k );
πΈ ARGUMENTS πΈ
kβ akset. that's the one and only argument, bestie π
π¨ NOTE π¨
plot twist alert π: on error, the kset.kobj.name allocated by kobj_set_name is freed. it can not be used any more. fr fr, that name is done-zo after that π
π¦ SEE ALSO π¦
the kernel file ./lib/kobject.c is the hot spot, and these functions are the whole friend group β iykyk π
kobject_namespace(9)kobject_get_ownership(9)kobject_get_path(9)kobject_set_name_vargs(9)kobject_set_name(9)kobject_init(9)kobject_add(9)kobject_init_and_add(9)kobject_rename(9)kobject_move(9)kobject_del(9)kobject_get(9)kobject_put(9)kobject_create(9)kobject_create_and_add(9)kset_init(9)kset_unregister(9)kset_find_obj(9)kset_create(9)kset_create_and_add(9)
mwah π β source/version ./lib, date October 2026, page kset_register(9). periodt π
π¦ 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