smsm_get_size_info(9)
πΈ smsm_get_size_info πΈ
okay bestie, welcome to the Kernel API Manual, where we're decoding smsm_get_size_info(9) and honestly it's giving βsmall function, important little missionβ energy π
β¨ NAME β¨
smsm_get_size_info β parse the optional memory segment for sizes. periodt π
π SYNOPSIS π
int smsm_get_size_info (struct qcom_smsm *smsm );
π ARGUMENTS π
smsmβ the smsm driver context. That's it, that's the whole argument, and she's iconic π«Ά
π¦ DESCRIPTION π¦
okay so the way that this works: it attempts to acquire the number of hosts and entries from the optional shared memory location. Not being able to find this segment should indicate that we're on a older system where these values was hard coded to SMSM_DEFAULT_NUM_ENTRIES and SMSM_DEFAULT_NUM_HOSTS.
Returns 0 on success, negative errno on failure. no cap, fr fr π
π SEE ALSO π
Kernel file ./drivers/soc/qcom/smsm.c, plus these besties:
struct qcom_smsm(9)struct smsm_entry(9)struct smsm_host(9)smsm_update_bits(9)smsm_intr(9)smsm_mask_irq(9)smsm_unmask_irq(9)smsm_set_irq_type(9)smsm_irq_map(9)smsm_parse_mbox(9)smsm_parse_ipc(9)smsm_inbound_entry(9)
cute little sign-off: sourced from ./drivers/soc/qcom, October 2026 edition β mwah, love u, bye πβ¨
π¦ 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