ipr_sdt_is_fmt2(9)
π ipr_sdt_is_fmt2(9) β a Kernel API Manual moment
okay bestie, welcome to the Kernel API Manual, section 9, where we vibe-check one tiny lil function and honestly? it's iconic in its simplicity. this is ipr_sdt_is_fmt2, and she does exactly one thing. no cap. π
β¨ NAME β¨
ipr_sdt_is_fmt2 β determine if a SDT address is in format 2 π¦
β¨ SYNOPSIS β¨
int ipr_sdt_is_fmt2 (u32 sdt_word );
β¨ ARGUMENTS β¨
sdt_wordβ the SDT address. that's it, that's the whole argument. she's lowkey carrying the entire question in oneu32π«Ά
β¨ DESCRIPTION β¨
bestie here's the whole tea: you hand her an SDT address, and she tells you whether it's format 2 or not. that's the gig. π
Return value: 1 if format 2 / 0 if not β
no guessing, no extra lore β1means format 2,0means it's not. periodt. π§
β¨ SEE ALSO β¨
Kernel file ./drivers/scsi/ipr.h β and the whole friend group, fr fr:
ipr_is_ioa_resource(9)ipr_is_af_dasd_device(9)ipr_is_vset_device(9)ipr_is_gscsi(9)ipr_is_scsi_disk(9)ipr_is_gata(9)ipr_is_naca_model(9)ipr_is_device(9)
and that's the page, bestie! πΈ this cutie lives over in ./drivers/scsi, dated October 2026, and she's serving ipr_sdt_is_fmt2(9) realness from the Kernel API Manual. mwah πβ¨
π¦ 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