vgic_its_debug_next(9)
π vgic_its_debug_next(9) π
okay so bestie, welcome to the Kernel API Manual β¨ this one's a little function from the vgic_its_debug_next(9) corner of the kernel and it's honestly such a vibe once u get it π«Ά
πΈ NAME πΈ
vgic_its_debug_next β literally the "next" function for the seq_file interface π« iykyk
β¨ SYNOPSIS β¨
void * vgic_its_debug_next (struct seq_file *s , void *v , loff_t *pos );
three little args, no cap, and it hands u back a void * π
π ARGUMENTS π
sβ theseq_filestructure itself, the main character of this whole operation πvβ the current iterator, aka where we're at rn π¦posβ the current position (offset), the receipts of how far we've gotten π
π₯ DESCRIPTION π₯
so what does it actually do? it advances the iterator to the next entry and increments the position. that's it, that's the whole thing, and it ate πβ¨ literally the plot of the function, no notes.
π¦ RETURN π¦
- an iterator pointer on success π₯³
- or
NULLif the end of the list is reached β yeah when the list runs out it just gives uNULL, iconic exit behavior π
β SEE ALSO β
kernel file ./arch/arm64/kvm/vgic/vgic-debug.c along with the whole friend group: struct vgic_its_iter(9), end_of_iter(9), vgic_its_iter_next(9), vgic_its_debug_start(9), vgic_its_debug_stop(9), vgic_its_debug_show(9), vgic_its_debug_init(9) π go read them too fr fr
and that's a wrap bestie π this page lives under./arch/arm64/kvm/vgic, dated October 2026, and yes the title on it isvgic_its_debug_next(9)β slay, bye πβ¨π
π¦ 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