hlist_del(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so welcome to the hlist_del(9) manual page, bestie. The whole vibe is: hlist_del β€” delete the specified hlist_node from its list. That's it, that's the main character energy. πŸ’…

✨ SYNOPSIS ✨

void hlist_del (struct hlist_node *n );

πŸŽ€ ARGUMENTS πŸŽ€

  • n β€” Node to delete. The one getting removed from the list, no cap. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

So hlist_del deletes n from its list β€” slay, iconic, done. But the way that this has a little catch? Read me: this function leaves the node in hashed state. It does not magically unhash it. 😭

If you actually want to unhash n, use hlist_del_init or similar instead. That's the whole note. hlist_del is giving β€œdelete from list,” not β€œunhash the node.” Periodt.

🚨 important caveat, fr fr: hlist_del leaves the node in hashed state. Use hlist_del_init or similar instead to unhash n.

🌈 SEE ALSO 🌈

The kernel file is ./scripts/include/list.h β€” that's the spot. Also, the extended fam:


mwah πŸ’‹ this page came from the ./scripts/include source/version, dated October 2026, and the manual page is hlist_del(9). byeee πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from