hlist_nulls_pprev_rcu(9)
π hlist_nulls_pprev_rcu π
okay so bestie, welcome to the Kernel API Manual πΈ β this one's a tiny little one-liner legend from the kernel's RCU hlist-nulls corner, and honestly? iconic. let's get into it β¨
β¨ NAME β¨
hlist_nulls_pprev_rcu β returns the dereferenced pprev of @node. π«Ά that's it, that's the whole gig. short king energy, fr fr.
β¨ SYNOPSIS β¨
hlist_nulls_pprev_rcu (node );
lowkey no cap, that's the exact call right there β
β¨ ARGUMENTS β¨
nodeβ element of the list. π that's your main character right there β hand it over and you get the pprev back, dereferenced and all.
β¨ SEE ALSO β¨
okay so the whole squad lives in the kernel file ./include/linux/rculist_nulls.h π β go say hi to these besties too:
hlist_nulls_del_init_rcu(9)hlist_nulls_first_rcu(9)hlist_nulls_next_rcu(9)hlist_nulls_del_rcu(9)hlist_nulls_add_head_rcu(9)hlist_nulls_add_tail_rcu(9)hlist_nulls_replace_rcu(9)hlist_nulls_replace_init_rcu(9)hlist_nulls_for_each_entry_rcu(9)hlist_nulls_for_each_entry_safe(9)
π reminder bestie: this is kernel RCU territory β pprev dereferencing is doing the absolute most under the hood, so respect the vibe check of the locking rules, iykyk π₯
and that's the whole page, periodt π source is ./include/linux, dated October 2026 β mwah, slay, go read the whole rculist_nulls.h file, it ate π
β¨π¦
π¦ 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