vgic_its_debug_next(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the seq_file structure 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 NULL if the end of the list is reached β€” yeah when the list runs out it just gives u NULL, 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 is vgic_its_debug_next(9) β€” slay, bye πŸŽ€βœ¨πŸ‘‘
πŸ“¦ where this page comes from