Home
last modified time | relevance | path

Searched refs:mem_available (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/basic/ !
Dprocfs-util.c222 uint64_t mem_total = UINT64_MAX, mem_available = UINT64_MAX; in procfs_memory_get() local
247 v = &mem_available; in procfs_memory_get()
256 if (mem_total != UINT64_MAX && mem_available != UINT64_MAX) in procfs_memory_get()
260 if (mem_available > mem_total) in procfs_memory_get()
266 *ret_used = mem_total - mem_available; in procfs_memory_get()
/systemd-251/src/oom/ !
Doomd-util.c421 uint64_t mem_available, swap_free; in oomd_system_context_acquire() local
454 r = convert_meminfo_value_to_uint64_bytes(word, &mem_available); in oomd_system_context_acquire()
474 if (mem_available > ctx.mem_total) in oomd_system_context_acquire()
477 mem_available, in oomd_system_context_acquire()
486 ctx.mem_used = ctx.mem_total - mem_available; in oomd_system_context_acquire()