scan_its_table(9)
β¨ scan_its_table(9) β¨
okay so bestie, welcome to scan_its_table(9) from the Kernel API Manual β this is the girl who walks a contiguous table living in guest RAM and runs a function on every single entry. she's giving very much "personal assistant who goes down the list one by one" energy π
πΈ NAME πΈ
scan_its_table β scan a contiguous table in guest RAM and applies a function to each entry
π SYNOPSIS π
int scan_its_table (struct vgic_its *its , gpa_t base , int size , u32
esz , int start_id , entry_fn_t fn , void *opaque );
π¦ ARGUMENTS π¦
literally every single one, no skips:
itsβ theitshandle, bestie. that's the whole context you're working with π«Άbaseβ base gpa of the table, i.e. where it starts in guest physical address land β¨sizeβ size of the table in bytes, the full vibe of how much ground we're coveringeszβ entry size in bytes β how thicc each individual entry isstart_idβ the ID of the first entry in the table (non zero for 2d level tables π yes this matters)fnβ function to apply on each entry. the main character of this whole operation tbhopaqueβ pointer to opaque data. we don't ask what's inside, we just pass it along π
π RETURN π
here's the vibe check on what you get back:
< 0on error β something went wrong, sorry bestie π0if last element was identified β you found the end, slay π1otherwise β but heads up: the last element may not be found on second level tables, so likeβ¦ don't come for her if it isn't there fr fr
π SEE ALSO π
the whole friend group, obviously:
Kernel file ./arch/arm64/kvm/vgic/vgic-its.c, struct vgic_its_abi(9), vgic_its_invall(9), entry_fn_t(9), vgic_its_restore_ite(9), vgic_its_restore_itt(9), vgic_its_save_dte(9), vgic_its_restore_dte(9), handle_l1_dte(9)
ngl this one's short but she ate π go read the SEE ALSO list, that's where the lore lives
okay bye ily, this page came from ./arch/arm64/kvm/vgic, October 2026 edition β iconic, no cap πβπ
π¦ 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