Searched refs:system_context (Results 1 – 2 of 2) sorted by relevance
/systemd-251/src/oom/ |
D | oomd-manager.c | 373 r = oomd_system_context_acquire("/proc/meminfo", &m->system_context); in monitor_swap_contexts_handler() 388 if (oomd_mem_available_below(&m->system_context, 10000 - m->swap_used_limit_permyriad) && in monitor_swap_contexts_handler() 389 … oomd_swap_free_below(&m->system_context, 10000 - m->swap_used_limit_permyriad)) { in monitor_swap_contexts_handler() 396 m->system_context.mem_used, m->system_context.mem_total, in monitor_swap_contexts_handler() 397 m->system_context.swap_used, m->system_context.swap_total, in monitor_swap_contexts_handler() 406 threshold = m->system_context.swap_total * THRESHOLD_SWAP_USED_PERCENT / 100; in monitor_swap_contexts_handler() 418 m->system_context.mem_used, m->system_context.mem_total, in monitor_swap_contexts_handler() 419 … m->system_context.swap_used, m->system_context.swap_total, in monitor_swap_contexts_handler() 817 oomd_dump_system_context(&m->system_context, f, "\t"); in manager_get_dump_string()
|
D | oomd-manager.h | 49 OomdSystemContext system_context; member
|