hlist_add_behind(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME

hlist_add_behind β€” ok so literally what it does is add a new entry after the one you specify πŸ’«


✨ SYNOPSIS

void hlist_add_behind (struct hlist_node *n , struct hlist_node *prev );

Bestie, that's it. Two pointers in, void out, no cap. 🫢


πŸ’… ARGUMENTS

  • n β€” the brand-new entry you're adding, main character energy, she's the one sliding into the list πŸ”₯
  • prev β€” the hlist node you're tucking n in after, and heads up: this one must be non-NULL. Like, that's not a vibe suggestion, it's the actual rule. Pass a NULL here and it's giving πŸ’€, not cute. Respect the prev, periodt.

πŸ‘‘ SEE ALSO

Okay so this is the part where I need you to lock in, because the whole entire list family lives in Kernel file ./include/linux/list.h, and there are a lot of cousins at this reunion. Buckle up, we're going through all of them πŸ¦‹:

Yeah. Seventy-something icons in one friend group. Iykyk 🌈

Ngl, if you're heading in before a node instead of behind one, you want hlist_add_before(9) β€” linked above, go say hi πŸŽ€

okay that's the whole page, mwah πŸ’– This lil gem comes to you straight out of ./include/linux, dated October 2026 β€” screenshot it, cite it, frame it, she's iconic πŸ‘‘βœ¨

πŸ“¦ where this page comes from