objagg_obj_root_priv(9)
β¨ objagg_obj_root_priv β the manual page, but make it make sense β¨
okay so bestie, this is from the Kernel API Manual, and the whole page is literally about objagg_obj_root_priv(9) β she's a tiny little function and honestly she ate π
π NAME π
objagg_obj_root_priv β obtains root private for an object π«Ά
like, that's the whole job. she obtains the root private. for an object. iconic behaviour, no notes.
π SYNOPSIS π
const void * objagg_obj_root_priv (const struct objagg_obj *objagg_obj
);
so you hand her one thing and she gives you back a const void *. simple. clean. main character energy fr fr πΈ
π¦ ARGUMENTS π¦
objagg_objβ the objagg object instance β¨ like, the actual object you're asking about. that's it. that's the only arg.
π NOTE π
okay this is the part where you actually have to pay attention, bestie, no cap π
- all locking must be provided by the caller. literally all of it. she does not lock anything for you. you bring the locks, she brings the vibes. do not come for her if you forgot. π«Ά
- Either the object is root itself when the private is returned directly, or the parent is root and its private is returned instead. so like, two scenarios, both valid, both slay π
- Returns a user private root pointer. π that's the return value. that's the whole point of the function. periodt.
π SEE ALSO π
go look at the kernel file ./lib/objagg.c π and then go read all her friends, they're all linked together like a little friend group:
objagg_obj_delta_priv(9)objagg_obj_raw(9)objagg_obj_get(9)objagg_obj_put(9)objagg_create(9)objagg_destroy(9)objagg_stats_get(9)objagg_stats_put(9)objagg_hints_get(9)objagg_hints_put(9)objagg_hints_stats_get(9)
and that's the whole page, bestie β go forth and obtain those root privates ππ§ββοΈ
this little masterpiece lives in ./lib, it's dated October 2026, and it's page objagg_obj_root_priv(9) from the Kernel API Manual. mwah. πβ¨
π¦ 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