Searched refs:mp_total_chunks (Results 1 – 1 of 1) sorted by relevance
32 int mp_total_chunks; /* number of total free chunks */ member63 mp->mp_total_chunks = mp->mp_free_chunks; in MPCreate()184 uint32_t danger_num = mp->mp_total_chunks * DANGER_THREASHOLD; in MPIsDanger()185 uint32_t safe_num = mp->mp_total_chunks * SAFE_THREASHOLD; in MPIsDanger()186 if (danger_num < mp->mp_total_chunks - mp->mp_free_chunks) { in MPIsDanger()187 return mp->mp_total_chunks - mp->mp_free_chunks - safe_num; in MPIsDanger()196 uint32_t safe_num = mp->mp_total_chunks * SAFELINE; in MPIsOverSafeline()197 if (safe_num < mp->mp_total_chunks - mp->mp_free_chunks) { in MPIsOverSafeline()