cp_iova_pinned(9)
β¨ cp_iova_pinned(9) β¨
okay so bestie, this is a page from the Kernel API Manual (9 = kernel API section, iykyk) and it's about one tiny little helper function called cp_iova_pinned. it's short, it's sweet, it's giving "small but important" energy π
πΈ NAME πΈ
cp_iova_pinned β check if an iova is pinned for a ccw chain π
like, literally all it does. little vibe check for an iova. no cap.
π¦ SYNOPSIS π¦
bool cp_iova_pinned (struct channel_program *cp , u64 iova , u64 length );
it returns a bool, it takes three things, and yes the spacing in that signature is exactly how it's written, don't @ me π
π ARGUMENTS π
cpβ thechannel_programon which to perform the operationiovaβ the iova to check πlengthβ the length to check fromiova
three args, three besties, all accounted for π«Ά
β DESCRIPTION β
okay so here's the whole plot: if the iova is currently pinned for the ccw chain, return true; else return false. that's it. that's the function. main character energy, minimal dialogue π₯
no side quests, no surprises, just a yes-or-no. iconic honestly.
π SEE ALSO π
- Kernel file
./drivers/s390/cio/vfio_ccw_cp.c ccwchain_calc_length(9)cp_init(9)cp_free(9)cp_prefetch(9)cp_get_orb(9)cp_update_scsw(9)
the whole friend group π§ go read them too, they're all in ./drivers/s390/cio and they slay in their own ways π
fr fr the only rule here: it's a boolean check.trueif pinned,falseif not. don't overthink it bestie π
bye babes π this lil page lives in ./drivers/s390/cio and it's dated October 2026 β so go forth, check your iovas, and stay pinned π β¨
π¦ 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