Lines Matching refs:sstats
87 struct sysinfo sstats; in main() local
150 sysinfo(&sstats); in main()
151 total_ram = sstats.totalram + sstats.totalswap; in main()
152 total_free = sstats.freeram + sstats.freeswap; in main()
154 pre_mem = sstats.mem_unit * total_free; in main()
162 C = sstats.mem_unit * (total_ram - total_free); in main()
170 D = percent * (sstats.mem_unit * total_ram); in main()
282 sysinfo(&sstats); in main()
287 (unsigned long long)sstats.mem_unit * in main()
288 sstats.freeram; in main()
291 (unsigned long long)sstats.mem_unit * in main()
292 sstats.freeswap; in main()
298 sysinfo(&sstats); in main()
300 (unsigned long long)sstats.mem_unit * in main()
301 sstats.freeram; in main()
304 (unsigned long long)sstats.mem_unit * in main()
305 sstats.freeswap; in main()