Home
last modified time | relevance | path

Searched refs:pgscan (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/oom/ !
Dtest-oomd-util.c137 assert_se(ctx->pgscan == 0); in test_oomd_cgroup_context_acquire_and_insert()
175 c1->pgscan = UINT64_MAX; in test_oomd_cgroup_context_acquire_and_insert()
211 .pgscan = 57 }, in test_oomd_update_cgroup_contexts_between_hashmaps()
216 .pgscan = 42 }, in test_oomd_update_cgroup_contexts_between_hashmaps()
221 .pgscan = 57 }, in test_oomd_update_cgroup_contexts_between_hashmaps()
223 .pgscan = 101 }, in test_oomd_update_cgroup_contexts_between_hashmaps()
238 assert_se(c_old->pgscan == c_new->last_pgscan); in test_oomd_update_cgroup_contexts_between_hashmaps()
245 assert_se(c_old->pgscan == c_new->last_pgscan); in test_oomd_update_cgroup_contexts_between_hashmaps()
381 .pgscan = 33, in test_oomd_sort_cgroups()
386 .pgscan = 1, in test_oomd_sort_cgroups()
[all …]
Doomd-util.c116 if (c->last_pgscan > c->pgscan) { in oomd_pgscan_rate()
118 c->last_pgscan, c->pgscan, c->path); in oomd_pgscan_rate()
122 return c->pgscan - last_pgscan; in oomd_pgscan_rate()
263 if (sorted[i]->pgscan == 0 && sorted[i]->current_memory_usage == 0) in oomd_kill_by_pgscan_rate()
404 r = safe_atou64(val, &ctx->pgscan); in oomd_cgroup_context_acquire()
511 curr_ctx->last_pgscan = old_ctx->pgscan; in oomd_insert_cgroup_context()
541 ctx->last_pgscan = old_ctx->pgscan; in oomd_update_cgroup_contexts_between_hashmaps()
595 strempty(prefix), ctx->pgscan, in oomd_dump_memory_pressure_cgroup_context()
Doomd-util.h32 uint64_t pgscan; member