kobject_move(9)
β¨ kobject_move(9) β a Kernel API Manual moment β¨
okay so bestie, we're diving into the Kernel API Manual today and honestly? this one's a lil function with a big job. let's get into it π
πΈ NAME πΈ
kobject_move β literally just moves an object to another parent. that's the whole vibe. moving day, but for kobjects π¦
π SYNOPSIS π
int kobject_move (struct kobject *kobj , struct kobject *new_parent );
that's it. two args, one int coming back at you. no cap. β¨
π ARGUMENTS π
kobjβ the object in question π like, this is the one we're relocating.new_parentβ the object's new parent. and yes, it can beNULLβ that's allowed, that's fine, we love a flexible parent situation π«Ά
π SEE ALSO π
so there's a whole friend group here, iykyk. the kernel file ./lib/kobject.c is where the magic lives, and here's the entire squad:
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_del(9)kobject_get(9)kobject_put(9)kobject_create(9)kobject_create_and_add(9)kset_init(9)kset_register(9)kset_unregister(9)kset_find_obj(9)kset_create(9)kset_create_and_add(9)
like, the whole kobject and kset extended universe. iconic. go read them too, fr fr π
and that's the page, bestie! no warnings, no exit statuses, no environment variables on this one β it's a short and sweet lil entry π
mwah, that's a wrap π the source lives at ./lib and this edition is dated October 2026 β catch you in the next one, love u, bye! πβ¨π¦
π¦ 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