kobject_move(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 be NULL β€” 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:

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