/haiku/src/bin/ |
H A D | ps.c | 229 (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 D | vmstat.cpp | 77 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 D | listarea.c | 33 max = info.max_pages * 4; in show_memory_totals()
|
H A D | ramdisk.cpp | 155 if (deviceSize / B_PAGE_SIZE > (int64)info.max_pages * 2 / 3) { in command_register()
|
H A D | sysinfo.cpp | 741 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 D | system_info.cpp | 41 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 D | conf.cpp | 140 return info.max_pages; in __sysconf() 150 return info.max_pages - info.used_pages; in __sysconf()
|
/haiku/src/apps/activitymonitor/ |
H A D | SystemInfo.cpp | 75 return fSystemInfo.max_pages * B_PAGE_SIZE; in MaxMemory()
|
/haiku/src/apps/processcontroller/ |
H A D | KernelMemoryBarMenuItem.cpp | 28 fPhysicalMemory = (int64)systemInfo.max_pages * B_PAGE_SIZE / 1024LL; in KernelMemoryBarMenuItem()
|
H A D | ProcessController.cpp | 727 fMemoryUsage = float(info.used_pages) / float(info.max_pages); in Update()
|
/haiku/src/add-ons/kernel/drivers/graphics/radeon/ |
H A D | mem_controller.c | 35 return info.max_pages * 4096; in getTopOfRam()
|
/haiku/src/preferences/virtualmemory/ |
H A D | Settings.cpp | 44 fDefaultSettings.size = (off_t)sysInfo.max_pages * B_PAGE_SIZE; in Settings()
|
/haiku/src/apps/aboutsystem/ |
H A D | AboutSystem.cpp | 104 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 D | ImageCache.cpp | 72 fMaxBytes = info.max_pages * B_PAGE_SIZE / 5; in ImageCache()
|
/haiku/src/system/kernel/vm/ |
H A D | vm_page.cpp | 4198 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 D | OS.h | 448 uint64 max_pages; /* total # of accessible pages */ member
|
/haiku/src/kits/debugger/controllers/ |
H A D | DebugReportGenerator.cpp | 304 BPrivate::string_for_size((int64)info.max_pages * B_PAGE_SIZE, in _GenerateReportHeader()
|
/haiku/src/apps/diskprobe/ |
H A D | TypeEditors.cpp | 198 return uint64(fEditor.FileSize()) / B_PAGE_SIZE < info.max_pages / 2; in TypeMatches()
|
/haiku/src/bin/bfs_tools/lib/ |
H A D | Inode.cpp | 183 percentUsed = 100 * info.used_pages / info.max_pages; in _LowMemory()
|
/haiku/src/kits/tracker/ |
H A D | FSUtils.cpp | 1433 (sinfo.max_pages - sinfo.used_pages) * B_PAGE_SIZE); in LowLevelCopy()
|