llist_del_all(9)
π 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:
- Kernel file
./include/linux/llist.h init_llist_head(9)init_llist_node(9)llist_on_list(9)llist_entry(9)member_address_is_nonnull(9)llist_for_each(9)llist_for_each_safe(9)llist_for_each_entry(9)llist_for_each_entry_safe(9)llist_empty(9)llist_add_batch(9)llist_add(9)llist_del_first_init(9)
π okay bye bestie β this llist_del_all(9) page is from ./include/linux, October 2026. 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