end_of_iter(9)
π¦ NAME π¦
hiii bestie, welcome to end_of_iter(9) from the Kernel API Manual β this is the little function that checks if the iterator has reached the end. Thatβs the whole assignment, and it ate. π
end_of_iter β checks if the iterator has reached the end.
β¨ SYNOPSIS β¨
bool end_of_iter (struct vgic_its_iter *iter );
π ARGUMENTS π
iterβ the iterator to check. This is the one getting the vibe check, bestie. π«Ά
π DESCRIPTION π
Okay so hereβs the lore: when the iterator has completed processing the final ITE in the last device table, it was marked to indicate the end of iteration by setting its device and ITE pointers to NULL. end_of_iter() checks whether the iterator was marked as end. No cap, thatβs it. β¨
πΈ RETURN πΈ
True if the iterator is marked as end, false otherwise. Simple, iconic, done. π
π₯ SEE ALSO π₯
Kernel file ./arch/arm64/kvm/vgic/vgic-debug.c is the place to peek, plus these related besties:
struct vgic_its_iter(9)vgic_its_iter_next(9)vgic_its_debug_start(9)vgic_its_debug_next(9)vgic_its_debug_stop(9)vgic_its_debug_show(9)vgic_its_debug_init(9)
Signed off from source/version ./arch/arm64/kvm/vgic β October 2026. Stay slay, and may your iterators always know when to end. ππ
π¦ 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