Searched refs:phys_mem (Results 1 – 2 of 2) sorted by relevance
28 unsigned long long phys_mem; in fio_pin_memory() local38 phys_mem = os_phys_mem(); in fio_pin_memory()39 if (phys_mem) { in fio_pin_memory()40 if ((td->o.lockmem + 128 * 1024 * 1024) > phys_mem) { in fio_pin_memory()41 td->o.lockmem = phys_mem - 128 * 1024 * 1024; in fio_pin_memory()
5302 int phys_mem; in get_physical_memory() local5323 phys_mem = sysctl_physmem >> 20; in get_physical_memory()5328 phys_mem = SQUASHFS_LOWMEM; in get_physical_memory()5337 phys_mem = num_pages * page_size >> 20; in get_physical_memory()5343 if(phys_mem < SQUASHFS_LOWMEM) in get_physical_memory()5347 return phys_mem; in get_physical_memory()