entry_fn_t(9)
π« entry_fn_t(9) β like, the Kernel API Manual page, bestie π«
okay so picture this: you're deep in the kernel, you're restoring a table, and something needs to happen for every single entry. that something? it's this callback. entry_fn_t is literally the callback that gets called on a table entry restore path. no cap. π
β¨ NAME β¨
entry_fn_t β the callback that gets called on a table entry restore path. yes that's the whole vibe. it's giving "small but crucial". π
πΈ SYNOPSIS πΈ
int entry_fn_t (struct vgic_its *its , u32 id , void *entry , void
*opaque );
literally just one function signature, but she's iconic. π¦
π ARGUMENTS π
itsβ theitshandle. your main character struct, fr fr. πidβ the id of the entry. gotta know which one we're talking about, obviously. βentryβ pointer to the entry. this is the actual thing, the moment, the whole point. πopaqueβ pointer to an opaque data. mysterious. unknowable. we love her. π
π₯ RETURN π₯
okay so the return value is doing a little three-way thing and you need to know all three, iykyk:
< 0β on error. it went wrong. π0β if the last element was identified. we're done here, periodt. β- id offset to next element β otherwise, this is your little breadcrumb to the next element. keep going bestie. π«Ά
π§ SEE ALSO π§
go read these, they're all lowkey connected and honestly kind of a friend group:
- Kernel file
./arch/arm64/kvm/vgic/vgic-its.cβ the source file herself π struct vgic_its_abi(9)vgic_its_invall(9)scan_its_table(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 bestie, if you're touching the restore path, you're gonna want the whole little squad above. read them together, it hits different. π
and that's the page!! π this one lives in ./arch/arm64/kvm/vgic, dated October 2026 β screenshot it, cite it, frame it, slay. π
β¨
π¦ 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