Searched refs:mem_available (Results 1 – 2 of 2) sorted by relevance
222 uint64_t mem_total = UINT64_MAX, mem_available = UINT64_MAX; in procfs_memory_get() local247 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()
421 uint64_t mem_available, swap_free; in oomd_system_context_acquire() local454 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()