hlist_move_list(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ hlist_move_list(9) ✨

okay so this is a page from the Kernel API Manual (hlist_move_list(9)), and honestly? it's a little one but it does exactly what it says on the tin πŸ’…


🌸 NAME 🌸

hlist_move_list β€” Move an hlist πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void hlist_move_list (struct hlist_head *old , struct hlist_head *new );

πŸ“ ARGUMENTS πŸ“

  • old β€” the hlist_head for the old list. this is the one you're moving from, bestie, it's the source πŸ’–
  • new β€” the hlist_head for the new list. the destination, the glow-up location, the place it's going ✨

🌈 DESCRIPTION 🌈

so the whole vibe here is: move a list from one list head to another πŸ”₯ that's it, that's the function.

and then β€” and this is the iconic part β€” it fixes up the pprev reference of the first entry, if it exists 🫢 so like, if the list actually has a first entry, that entry's back-pointer gets corrected to point at the new head. no cap, that's the whole job.

not me being obsessed with a two-sentence description 😭 but like, correctness is sexy, periodt.


πŸ’œ SEE ALSO πŸ’œ

Kernel file ./include/linux/list.h

the list_* fam (and friends) πŸ‘‘

the hlist_* girlies (our actual neighbors) πŸ’…


that's the whole page, bestie, go read the source if you want the deep lore πŸ§šπŸ’–

ngl this one's short and sweet β€” no warnings, no bugs section, no exit statuses. just vibes and a pointer fixup πŸŽ€

mwah πŸ’‹ this page lives in ./include/linux, dated October 2026, and it's hlist_move_list(9) signing off β€” stay slay, keep your pprev valid, and i'll see you in the next manpage 🌟

πŸ“¦ where this page comes from