Searched refs:vmtotal (Results 1 – 1 of 1) sorted by relevance
152 struct vmtotal vmtotal; in GetSystemCommitCharge() local154 size_t len = sizeof(vmtotal); in GetSystemCommitCharge()156 if (sysctl(mib, arraysize(mib), &vmtotal, &len, NULL, 0) < 0) in GetSystemCommitCharge()159 mem_total = vmtotal.t_vm; in GetSystemCommitCharge()160 mem_free = vmtotal.t_free; in GetSystemCommitCharge()161 mem_inactive = vmtotal.t_vm - vmtotal.t_avm; in GetSystemCommitCharge()