/** * enum qcom_tzmem_policy - Policy for pool growth.
*/ enum qcom_tzmem_policy { /**< Static pool, never grow above initial size. */
QCOM_TZMEM_POLICY_STATIC = 1, /**< When out of memory, add increment * current size of memory. */
QCOM_TZMEM_POLICY_MULTIPLIER, /**< When out of memory add as much as is needed until max_size. */
QCOM_TZMEM_POLICY_ON_DEMAND,
};
/** * struct qcom_tzmem_pool_config - TZ memory pool configuration. * @initial_size: Number of bytes to allocate for the pool during its creation. * @policy: Pool size growth policy. * @increment: Used with policies that allow pool growth. * @max_size: Size above which the pool will never grow.
*/ struct qcom_tzmem_pool_config {
size_t initial_size; enum qcom_tzmem_policy policy;
size_t increment;
size_t max_size;
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.