llist_del_all(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

Okay bestie, welcome to llist_del_all(9) β€” the Kernel API Manual page for llist_del_all, which deletes all entries from lock-less list. It's giving "clear the whole group chat" energy. ✨

✨ SYNOPSIS ✨

the signature is literally:

struct llist_node * llist_del_all (struct llist_head *head );

πŸŽ€ ARGUMENTS πŸŽ€

  • head β€” the head of lock-less list to delete all entries. That's the one and only argument, periodt. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

If the list is empty, it returns NULL. Literally nothing to delete, no cap. 😭

Otherwise, it deletes all the entries and returns the pointer to the first entry. The order of entries deleted is from the newest to the oldest added one β€” newest first, oldest last. πŸ’…

🌈 SEE ALSO 🌈

The SEE ALSO squad is right here, bestie:


πŸ’– okay bye bestie β€” this llist_del_all(9) page is from ./include/linux, October 2026. Mwah! πŸ’‹

πŸ“¦ where this page comes from