seq_hlist_start_percpu(9)
π seq_hlist_start_percpu β a kernel API manual, but make it cute π
okay so bestie, this is seq_hlist_start_percpu(9) from the Kernel API Manual, and it is literally the little function that kicks off an iteration of a percpu hlist array. no cap. let's get into it π«Ά
πΈ NAME πΈ
seq_hlist_start_percpu β start an iteration of a percpu hlist array β¨
like, it's the opening number. the main character's entrance. the start of the whole walk-through π
π¦ SYNOPSIS π¦
struct hlist_node * seq_hlist_start_percpu (struct hlist_head __percpu
*head , int *cpu , loff_t pos );
three args, one pointer back out, and that's the whole vibe π
π ARGUMENTS π
headβ pointer to percpu array ofstruct hlist_heads. yes, percpu, meaning every CPU gets its own lil copy, and this is the array of them πcpuβ pointer to the cpu "cursor". it's tracking where you are as you hop from cpu to cpu, iykyk πposβ start position of the sequence. this is where you're starting your scroll from β
π₯ DESCRIPTION π₯
Called at seq_file->op->start. that's it, that's the sentence β but it's an important one, because that's the hook where the seq_file machinery says "hey, begin" and this function answers β¨
fr fr it's a small description but don't sleep on it β this is the entry point that makes the whole iteration happen π«
π SEE ALSO π
the whole seq_file friend group, assembled. Kernel file ./fs/seq_file.c and honestly, look at this lineup:
seq_open(9)seq_read(9)seq_lseek(9)seq_release(9)seq_escape_mem(9)seq_mangle_path(9)seq_path(9)seq_file_path(9)seq_put_decimal_ull_width(9)seq_put_hex_ll(9)seq_write(9)seq_pad(9)seq_hlist_start(9)seq_hlist_start_head(9)seq_hlist_next(9)seq_hlist_start_rcu(9)seq_hlist_start_head_rcu(9)seq_hlist_next_rcu(9)seq_hlist_next_percpu(9)
that's nineteen siblings and cousins, and every single one of them ate π
and that's the whole page, bestie π sign-off time: this came from ./fs, dated October 2026, and it's the seq_hlist_start_percpu(9) page β iconic, timeless, obsessed πβ¨
π¦ 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