vgic_its_debug_start(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

Okay bestie, welcome to the vgic_its_debug_start(9) page β€” this is the Kernel API Manual, and we are about to make a seq_file iterator feel like main character energy ✨

πŸŽ€ NAME πŸŽ€

vgic_its_debug_start β€” Start function for the seq_file interface. That's the vibe: it's the starter function, periodt πŸ’…

✨ SYNOPSIS ✨

void * vgic_its_debug_start (struct seq_file *s , loff_t *pos );

🫢 ARGUMENTS 🫢

Two args, both iconic:

  • s β€” The seq_file structure.
  • pos β€” The starting position (offset).

🌸 DESCRIPTION 🌸

Okay so here's the lore: this function initializes the iterator to the beginning of the ITS tables and advances it to the specified position. It also acquires the its_lock mutex to protect shared data. No cap, that mutex is doing the most to keep things safe πŸ”₯

πŸ’– RETURN πŸ’–

Here's the vibe check on what comes back:

  • An iterator pointer on success β€” slay πŸ‘‘
  • NULL if no devices are found or the end of the list is reached β€” that's the empty-list energy 😭
  • ERR_PTR(-ENOMEM) on memory allocation failure β€” not the glow-up we wanted, but it's literally in the docs πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

Go read these next, bestie:


Signed, sealed, delivered: source/version is ./arch/arm64/kvm/vgic, the date is October 2026, and the whole page is vgic_its_debug_start(9) from the Kernel API Manual β€” mwah πŸ’‹πŸ«Άβœ¨

πŸ“¦ where this page comes from