seq_hlist_next_percpu(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ seq_hlist_next_percpu(9) ✨

okay so bestie, this is a page straight out of the Kernel API Manual and it's literally about moving to the next position of the percpu hlist array. that's it, that's the vibe πŸ’…


πŸ¦‹ NAME πŸ¦‹

seq_hlist_next_percpu β€” move to the next position of the percpu hlist array, no cap ✨


🌸 SYNOPSIS 🌸

struct hlist_node * seq_hlist_next_percpu (void *v , struct hlist_head
__percpu *head , int *cpu , loff_t *pos );

πŸŽ€ ARGUMENTS πŸŽ€

  • v β€” pointer to the current hlist_node, like where you're at right now 🫢
  • head β€” pointer to the percpu array of struct hlist_heads, aka the whole squad of lists πŸ‘‘
  • cpu β€” pointer to the cpu "cursor", yes the quotes are canon, it's a cursor bestie πŸ–±οΈ
  • pos β€” the start position of the sequence, the beginning of the story ⭐

πŸ’– DESCRIPTION πŸ’–

so basically this gets called at seq_file->op->next. that's the whole description. short and iconic, honestly πŸ’€βœ¨


🌈 SEE ALSO 🌈

the kernel file ./fs/seq_file.c is where it's all happening, and here's the whole friend group:


ngl the whole seq family showed up to the group chat at once and that's on periodt πŸ’…

and that's the page!! it lives at ./fs and it's stamped October 2026 πŸŽ€πŸ¦‹ so go forth and iterate bestie, you got this fr fr πŸ’œ

πŸ“¦ where this page comes from