Home
last modified time | relevance | path

Searched refs:max_pages (Results 1 – 20 of 20) sorted by relevance

/haiku/src/bin/
H A Dps.c229 (systemInfo.max_pages * B_PAGE_SIZE / 1024), in main()
230 (systemInfo.max_pages * B_PAGE_SIZE)); in main()
235 (systemInfo.max_pages - systemInfo.used_pages) * B_PAGE_SIZE / 1024, in main()
236 (systemInfo.max_pages - systemInfo.used_pages) * B_PAGE_SIZE); in main()
238 (float)100 * systemInfo.used_pages / systemInfo.max_pages); in main()
H A Dvmstat.cpp77 printf("max memory:\t\t%" B_PRIu64 "\n", info.max_pages * B_PAGE_SIZE); in main()
99 = (info.max_pages * B_PAGE_SIZE - info.free_memory) in main()
100 - (lastInfo.max_pages * B_PAGE_SIZE - lastInfo.free_memory); in main()
H A Dlistarea.c33 max = info.max_pages * 4; in show_memory_totals()
H A Dramdisk.cpp155 if (deviceSize / B_PAGE_SIZE > (int64)info.max_pages * 2 / 3) { in command_register()
H A Dsysinfo.cpp741 B_PAGE_SIZE * (uint64)(info->max_pages - info->used_pages), in dump_mem()
743 B_PAGE_SIZE * (uint64)info->max_pages); in dump_mem()
/haiku/src/system/libroot/os/
H A Dsystem_info.cpp41 int32 max_pages; /* total # of accessible pages */ member
118 info->max_pages = std::min(systemInfo.max_pages, uint64(INT32_MAX)); in _get_system_info()
/haiku/src/system/libroot/posix/unistd/
H A Dconf.cpp140 return info.max_pages; in __sysconf()
150 return info.max_pages - info.used_pages; in __sysconf()
/haiku/src/apps/activitymonitor/
H A DSystemInfo.cpp75 return fSystemInfo.max_pages * B_PAGE_SIZE; in MaxMemory()
/haiku/src/apps/processcontroller/
H A DKernelMemoryBarMenuItem.cpp28 fPhysicalMemory = (int64)systemInfo.max_pages * B_PAGE_SIZE / 1024LL; in KernelMemoryBarMenuItem()
H A DProcessController.cpp727 fMemoryUsage = float(info.used_pages) / float(info.max_pages); in Update()
/haiku/src/add-ons/kernel/drivers/graphics/radeon/
H A Dmem_controller.c35 return info.max_pages * 4096; in getTopOfRam()
/haiku/src/preferences/virtualmemory/
H A DSettings.cpp44 fDefaultSettings.size = (off_t)sysInfo.max_pages * B_PAGE_SIZE; in Settings()
/haiku/src/apps/aboutsystem/
H A DAboutSystem.cpp104 static int max_pages(system_info*);
1191 double usedMemoryPercent = double(sysInfo->used_pages) / sysInfo->max_pages; in _GetRamUsage()
2254 max_pages(system_info* sysInfo) in max_pages() function
2256 return (int)round(sysInfo->max_pages * B_PAGE_SIZE / 1048576.0); in max_pages()
2263 return max_pages(sysInfo) + ignored_pages(sysInfo); in max_and_ignored_pages()
/haiku/src/apps/showimage/
H A DImageCache.cpp72 fMaxBytes = info.max_pages * B_PAGE_SIZE / 5; in ImageCache()
/haiku/src/system/kernel/vm/
H A Dvm_page.cpp4198 info->max_pages = vm_page_num_pages(); in vm_page_get_stats()
4208 info->used_pages = subtractPages > info->max_pages in vm_page_get_stats()
4209 ? 0 : info->max_pages - subtractPages; in vm_page_get_stats()
4211 if (info->used_pages + info->cached_pages > info->max_pages) { in vm_page_get_stats()
4214 info->cached_pages = info->max_pages - info->used_pages; in vm_page_get_stats()
/haiku/headers/os/kernel/
H A DOS.h448 uint64 max_pages; /* total # of accessible pages */ member
/haiku/src/kits/debugger/controllers/
H A DDebugReportGenerator.cpp304 BPrivate::string_for_size((int64)info.max_pages * B_PAGE_SIZE, in _GenerateReportHeader()
/haiku/src/apps/diskprobe/
H A DTypeEditors.cpp198 return uint64(fEditor.FileSize()) / B_PAGE_SIZE < info.max_pages / 2; in TypeMatches()
/haiku/src/bin/bfs_tools/lib/
H A DInode.cpp183 percentUsed = 100 * info.used_pages / info.max_pages; in _LowMemory()
/haiku/src/kits/tracker/
H A DFSUtils.cpp1433 (sinfo.max_pages - sinfo.used_pages) * B_PAGE_SIZE); in LowLevelCopy()