/haiku/src/bin/ |
H A D | ps.c | 232 (systemInfo.used_pages * B_PAGE_SIZE / 1024), in main() 233 (systemInfo.used_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 | listarea.c | 34 used = info.used_pages * 4; in show_memory_totals()
|
H A D | sysinfo.cpp | 741 B_PAGE_SIZE * (uint64)(info->max_pages - info->used_pages), in dump_mem() 742 B_PAGE_SIZE * (uint64)info->used_pages, in dump_mem()
|
/haiku/src/system/kernel/ |
H A D | guarded_heap.cpp | 57 size_t used_pages; member 67 size_t used_pages; member 258 return (atomic_add((int32*)&heap.used_pages, pagesAllocated) in guarded_heap_pages_allocated() 274 if (pagesNeeded > area.page_count - area.used_pages) in guarded_heap_area_allocate() 320 area.used_pages += pagesNeeded; in guarded_heap_area_allocate() 338 area->used_pages = 0; in guarded_heap_area_init() 522 area.used_pages -= pagesFreed; in guarded_heap_area_free() 523 atomic_add((int32*)&area.heap->used_pages, -pagesFreed); in guarded_heap_area_free() 698 kprintf("used pages: %" B_PRIuSIZE "\n", area->used_pages); in dump_guarded_heap_area() 768 kprintf("used pages: %" B_PRIuSIZE "\n", heap->used_pages); in dump_guarded_heap()
|
/haiku/src/system/libroot/os/ |
H A D | system_info.cpp | 42 int32 used_pages; /* # of accessible pages in use */ member 119 info->used_pages = std::min(systemInfo.used_pages, uint64(INT32_MAX)); in _get_system_info()
|
/haiku/src/system/libroot/posix/malloc/debug/ |
H A D | guarded_heap.cpp | 182 size_t used_pages; member 191 size_t used_pages; member 383 atomic_add((int32*)&heap.used_pages, pagesAllocated); in guarded_heap_pages_allocated() 391 if (pagesNeeded > area.page_count - area.used_pages) in guarded_heap_area_allocate() 431 area.used_pages += pagesNeeded; in guarded_heap_area_allocate() 449 area->used_pages = 0; in guarded_heap_area_init() 698 area.used_pages -= pagesFreed; in guarded_heap_area_free() 699 atomic_add((int32*)&area.heap->used_pages, -pagesFreed); in guarded_heap_area_free() 908 printf("used pages: %" B_PRIuSIZE "\n", area.used_pages); in dump_guarded_heap_area() 965 printf("used pages: %" B_PRIuSIZE "\n", heap.used_pages); in dump_guarded_heap()
|
/haiku/src/apps/activitymonitor/ |
H A D | SystemInfo.cpp | 68 return fSystemInfo.used_pages * B_PAGE_SIZE; in UsedMemory()
|
/haiku/src/apps/processcontroller/ |
H A D | MemoryBarMenu.cpp | 78 int64 committedMemory = (int64)sinfo.used_pages * B_PAGE_SIZE / 1024; in Pulse()
|
H A D | KernelMemoryBarMenuItem.cpp | 29 fCommittedMemory = (int64)systemInfo.used_pages * B_PAGE_SIZE / 1024LL; in KernelMemoryBarMenuItem()
|
H A D | ProcessController.cpp | 727 fMemoryUsage = float(info.used_pages) / float(info.max_pages); in Update() 796 int64 committedMemory = (int64)systemInfo.used_pages * B_PAGE_SIZE / 1024; in thread_popup()
|
/haiku/src/apps/aboutsystem/ |
H A D | AboutSystem.cpp | 106 static int used_pages(system_info*); 1191 double usedMemoryPercent = double(sysInfo->used_pages) / sysInfo->max_pages; in _GetRamUsage() 1196 "326 MiB used (16%)"), used_pages(sysInfo), data.String()); in _GetRamUsage() 1199 "326 MiB used (16%)"), used_pages(sysInfo), (int)(100 * usedMemoryPercent)); in _GetRamUsage() 2268 used_pages(system_info* sysInfo) in used_pages() function 2270 return (int)round(sysInfo->used_pages * B_PAGE_SIZE / 1048576.0); in used_pages()
|
/haiku/src/system/libroot/posix/unistd/ |
H A D | conf.cpp | 150 return info.max_pages - info.used_pages; in __sysconf()
|
/haiku/headers/os/kernel/ |
H A D | OS.h | 449 uint64 used_pages; /* # of accessible pages in use */ member
|
/haiku/src/kits/debugger/controllers/ |
H A D | DebugReportGenerator.cpp | 306 BPrivate::string_for_size((int64)info.used_pages * B_PAGE_SIZE, in _GenerateReportHeader()
|
/haiku/src/system/kernel/vm/ |
H A D | vm_page.cpp | 4208 info->used_pages = subtractPages > info->max_pages 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/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()
|