ufs_is_valid_unit_desc_lun(9)
π ufs_is_valid_unit_desc_lun(9) β Kernel API Manual edition π
okay so bestie, this is the Kernel API Manual page for ufs_is_valid_unit_desc_lun, and it's literally the vibe check for a LUN. no cap.
πΈ NAME πΈ
ufs_is_valid_unit_desc_lun β checks if the given LUN has a unit descriptor. periodt.
β¨ SYNOPSIS β¨
bool ufs_is_valid_unit_desc_lun (struct ufs_dev_info *dev_info , u8 lun
);
π ARGUMENTS π
dev_infoβ pointer of instance ofstruct ufs_dev_info.lunβ LU number to check.
π₯ RETURN π₯
true if the lun has a matching unit descriptor, false otherwise. that's the whole tea β
π SEE ALSO π
- Kernel file
./drivers/ufs/core/ufshcd-priv.h enum ufs_descr_fmt(9)ufshcd_scsi_to_upiu_lun(9)
mwah π signing off from ./drivers/ufs/core, dated October 2026, page title ufs_is_valid_unit_desc_lun(9) β byeee π«Άβ¨
π¦ 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