STRUCT ARM_SMMU_INV_STATE(9)
π struct arm_smmu_inv_state β like, the whole vibe β¨
okay so this is a page from the Kernel API Manual, and bestie, we're talking about struct arm_smmu_inv_state β the per-domain invalidation array state. yes, that's a mouthful. no, we're not skipping it. π
πΈ NAME πΈ
struct arm_smmu_inv_state β per-domain invalidation array state. that's it, that's the whole name. she's concise, she's iconic. π
β¨ SYNOPSIS β¨
here's the actual struct, copied character-for-character because we do not play with code:
struct arm_smmu_inv_state {
struct arm_smmu_invs **invs_ptr;
struct arm_smmu_invs *old_invs;
struct arm_smmu_invs *new_invs;
};
look at her. three pointers, one dream. π¦
π«Ά Members π«Ά
okay so now we meet the cast, and honestly? each one has main character energy:
invs_ptrβ this bad boy points todomain->invs(yes, that's the unwinding-nesting/etc. situation going on over there), or it'sNULLif no change should be made. so basically:NULLmeans "we're good, don't touch anything." lowkey respectful. πold_invsβ the original invs array. the before picture. the pre-glow-up. πnew_invsβ okay so this one's doing double duty depending on whose domain we're talking about, and the way that's literally two jobs:- for a new domain, this is the new invs array that updates
domain->invs⨠- for an old domain, this is the
master->build_invsthat you pass in as theto_unrefargument to anarm_smmu_invs_unrefcall π§Ή
- for a new domain, this is the new invs array that updates
periodt. one field, two meanings, no cap. π
π SEE ALSO π
if you wanna keep reading (and you should, ngl), go check out the kernel file ./drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h and its bestie struct arm_smmu_invs(9). iykyk. π₯
aaand that's the page! mwah π this little number lives in ./drivers/iommu/arm/arm-smmu-v3 and it's stamped October 2026 β so yeah, she's from the future, she's ahead of her time, and she's still struct arm_smmu_inv_state(9) at heart. 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