Lines Matching refs:pages
87 double pages = sysconf (_SC_PHYS_PAGES); in physmem_total() local
89 if (0 <= pages && 0 <= pagesize) in physmem_total()
90 return pages * pagesize; in physmem_total()
99 double pages = pss.physical_memory; in physmem_total() local
101 if (0 <= pages && 0 <= pagesize) in physmem_total()
102 return pages * pagesize; in physmem_total()
113 double pages = realmem.physmem; in physmem_total() local
114 if (0 <= pages && 0 <= pagesize) in physmem_total()
115 return pages * pagesize; in physmem_total()
191 double pages = sysconf (_SC_AVPHYS_PAGES); in physmem_available() local
193 if (0 <= pages && 0 <= pagesize) in physmem_available()
194 return pages * pagesize; in physmem_available()
205 double pages = psd.psd_free; in physmem_available() local
207 if (0 <= pages && 0 <= pagesize) in physmem_available()
208 return pages * pagesize; in physmem_available()
219 double pages = realmem.availrmem; in physmem_available() local
220 if (0 <= pages && 0 <= pagesize) in physmem_available()
221 return pages * pagesize; in physmem_available()
232 double pages = vmstats.free_count; in physmem_available() local
235 if (0 <= pages && 0 <= pagesize) in physmem_available()
236 return pages * pagesize; in physmem_available()