ENUM QCOM_TZMEM_POLICY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum qcom_tzmem_policy(9)

okay so bestie, welcome to the Kernel API Manual ✨ this is the page for enum qcom_tzmem_policy and honestly? it's giving "small but mighty" πŸŽ€


🌸 NAME

enum qcom_tzmem_policy β€” literally the policy for pool growth πŸ’– (yes, that's its whole job, and it ate)


✨ SYNOPSIS

here's the whole enum, bestie, typed out exactly so you can't mess it up πŸ™ˆ

enum qcom_tzmem_policy {
    QCOM_TZMEM_POLICY_STATIC ,
    QCOM_TZMEM_POLICY_MULTIPLIER ,
    QCOM_TZMEM_POLICY_ON_DEMAND

};

πŸ¦‹ Constants

three constants, three vibes, let's go 🌈

  • QCOM_TZMEM_POLICY_STATIC β€” static pool, no cap. it never grows above its initial size 🧊 like it's happy where it is.
  • QCOM_TZMEM_POLICY_MULTIPLIER β€” when it's out of memory, it adds increment * current size of memory. so it scales up by multiplying, main character energy πŸ”₯
  • QCOM_TZMEM_POLICY_ON_DEMAND β€” when it's out of memory it adds as much as is needed, until max_size. literally only takes what it needs, humble queen πŸ‘‘

πŸ’œ SEE ALSO

  • Kernel file ./include/linux/firmware/qcom/qcom_tzmem.h
  • struct qcom_tzmem_pool_config(9) 🫢

fr fr go read qcom_tzmem_pool_config(9) next, it's the sister page and they're obsessed with each other πŸ’…

and that's the whole thing! πŸ“ this lil masterpiece comes from ./include/linux/firmware/qcom, dated October 2026, and it's filed under enum qcom_tzmem_policy(9) β€” periodt ⭐ πŸ’–

πŸ“¦ where this page comes from