Searched refs:current_memory_usage (Results 1 – 3 of 3) sorted by relevance
/systemd-251/src/oom/ |
D | test-oomd-util.c | 132 assert_se(ctx->current_memory_usage > 0); in test_oomd_cgroup_context_acquire_and_insert() 164 assert_se(ctx->current_memory_usage > 0); in test_oomd_cgroup_context_acquire_and_insert() 382 .current_memory_usage = 10 }, in test_oomd_sort_cgroups() 387 .current_memory_usage = 20 }, in test_oomd_sort_cgroups() 392 .current_memory_usage = 40 }, in test_oomd_sort_cgroups() 397 .current_memory_usage = 10 }, in test_oomd_sort_cgroups() 402 .current_memory_usage = 10 }, in test_oomd_sort_cgroups()
|
D | oomd-util.h | 25 uint64_t current_memory_usage; member 91 return CMP((*c2)->current_memory_usage, (*c1)->current_memory_usage); in compare_pgscan_rate_and_memory_usage()
|
D | oomd-util.c | 263 if (sorted[i]->pgscan == 0 && sorted[i]->current_memory_usage == 0) in oomd_kill_by_pgscan_rate() 376 r = procfs_memory_get_used(&ctx->current_memory_usage); in oomd_cgroup_context_acquire() 380 …attribute_as_uint64(SYSTEMD_CGROUP_CONTROLLER, path, "memory.current", &ctx->current_memory_usage); in oomd_cgroup_context_acquire() 585 strempty(prefix), FORMAT_BYTES(ctx->current_memory_usage)); in oomd_dump_memory_pressure_cgroup_context()
|