seq_hlist_next_percpu(9)
β¨ 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 currenthlist_node, like where you're at right now π«Άheadβ pointer to the percpu array ofstruct 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:
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_start_percpu(9)
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
- 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