qcom_mdt_get_size(9)
π qcom_mdt_get_size(9) β Kernel API Manual, bestie edition
okay so picture this: it's a kernel API manual page, the function is called qcom_mdt_get_size, and it's about to tell you exactly how much memory room the mdt needs. it's giving "let me just check how big this is before we commit" energy and honestly? iconic. π
β¨ NAME β¨
qcom_mdt_get_size β acquire the size of the memory region needed to load mdt
π¦ SYNOPSIS π¦
ssize_t qcom_mdt_get_size (const struct firmware *fw );
πΈ ARGUMENTS πΈ
fwβ the firmware object for the mdt file. that's the whole vibe check right there, one (1) firmware struct and nothing else π
π₯ DESCRIPTION π₯
She returns the size of the loaded firmware blob, full stop. That's the number you asked for, no cap.
But bestie β if something goes sideways and it fails, you're getting -EINVAL back. Lowkey a jump scare, but at least it's honest about it. π
π SEE ALSO π
Kernel file ./drivers/soc/qcom/mdt_loader.c, plus these fellow main characters right here:
and that's the whole page, bestie, you ate that π«Ά
source/version: ./drivers/soc/qcom Β· dated October 2026 Β· qcom_mdt_get_size(9) β mwah, see u next manpage πβ¨
π¦ 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