list_del_init(9)
β¨ list_del_init(9) β¨
okay so bestie, we're in the Kernel API Manual today and the star of the show is list_del_init β she deletes an entry from a list and reinitializes it. that's it. that's the whole vibe. two jobs, zero drama, absolute icon behavior π
π NAME π
list_del_init β deletes entry from list and reinitialize it.
literally her whole personality: delete + reinitialize. she's not just leaving the party, she's resetting her whole look before she goes π¦
πΈ SYNOPSIS πΈ
void list_del_init (struct list_head *entry );
yes queen, that's the signature. void return, which means she gives you nothing back and expects you to be grateful (we are π). copy it exactly, no cap:
void list_del_init (struct list_head *entry );
π ARGUMENTS π
entryβ the element to delete from the list. that's the one, bestie. hand her the pointer and she'll unlink it and reinit it. main character energy only π
π SEE ALSO π
okay this is the whole group chat. every single one of her friends, in the exact order the page lists them, no gatekeeping π₯
Kernel file ./tools/include/linux/list.h list_add(9), list_add_tail(9), list_replace(9), list_move(9), list_move_tail(9), list_is_first(9), list_is_last(9), list_empty(9), list_empty_careful(9), list_rotate_left(9), list_is_singular(9), list_cut_position(9), list_splice(9), list_splice_tail(9), list_splice_init(9), list_splice_tail_init(9), list_entry(9), list_first_entry(9), list_last_entry(9), list_first_entry_or_null(9), list_last_entry_or_null(9), list_next_entry(9), list_prev_entry(9), list_for_each(9), list_for_each_prev(9), list_for_each_safe(9), list_for_each_prev_safe(9), list_for_each_entry(9), list_for_each_entry_reverse(9), list_prepare_entry(9), list_for_each_entry_continue(9), list_for_each_entry_continue_reverse(9), list_for_each_entry_from(9), list_for_each_entry_safe(9), list_for_each_entry_safe_continue(9), list_for_each_entry_safe_from(9), list_for_each_entry_safe_reverse(9), list_safe_reset_next(9), hlist_for_each_entry(9), hlist_for_each_entry_continue(9), hlist_for_each_entry_from(9), hlist_for_each_entry_safe(9), list_del_range(9), list_for_each_from(9)
that's forty-four friends and every single one of them made the list. iykyk ππ
real talk: every name above lives under ./tools/include/linux/list.h β that's the file to go read if you want the full lore πβ¨
mwah π that's the page! brought to you by ./tools/include/linux, dated October 2026 β the list_del_init(9) girlies stay winning, periodt. ππ«Άπ·
π¦ 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