arm_smmu_invs_for_each_cmp(9)
π NAME π
Hii bestie, welcome to the Kernel API Manual page for arm_smmu_invs_for_each_cmp β yes, that whole name, no cap. This helper is literally here to iterate over two sorted arrays and compute stuff for arm_smmu_invs_merge() or arm_smmu_invs_unref(). Itβs giving βtiny helper with main character energy,β and weβre obsessed. π¦
β¨ SYNOPSIS β¨
arm_smmu_invs_for_each_cmp (invs_l , idx_l , invs_r , idx_r , cmp );
π ARGUMENTS π
invs_lβ the base invalidation array. Your left-side main character. πidx_lβ a stack variable ofsize_t, to store the base array index. Bestie, itβs a stack variable, so keep it cozy. π«Άinvs_rβ thebuild_invsarray asto_mergeorto_unref. Basically the right-side array with a job. πidx_rβ a stack variable ofsize_t, to store thebuild_invsindex. Another stack cutie, another index. β¨cmpβ a stack variable ofint, to store the return value, which is-1,0, or1. Thatβs the vibe check result, periodt. π₯
πΈ SEE ALSO πΈ
- Kernel file
./drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.cβ go read the source, iykyk. π arm_smmu_invs_for_each_entry(9)β the entry iteration bestie. π―arm_smmu_invs_merge(9)β merging time. π«Άarm_smmu_invs_unref(9)β unref time. πarm_smmu_invs_purge(9)β purge time, dramatic as ever. π
Okay thatβs the whole page, bestie. It comes from ./drivers/iommu/arm/arm-smmu-v3 and itβs dated October 2026 β so yeah, mark your calendar, this helper is booked and busy. πβ¨
π¦ 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