Home
last modified time | relevance | path

Searched refs:used_pages (Results 1 – 17 of 17) sorted by relevance

/haiku/src/bin/
H A Dps.c232 (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 Dlistarea.c34 used = info.used_pages * 4; in show_memory_totals()
H A Dsysinfo.cpp741 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 Dguarded_heap.cpp57 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 Dsystem_info.cpp42 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 Dguarded_heap.cpp182 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 DSystemInfo.cpp68 return fSystemInfo.used_pages * B_PAGE_SIZE; in UsedMemory()
/haiku/src/apps/processcontroller/
H A DMemoryBarMenu.cpp78 int64 committedMemory = (int64)sinfo.used_pages * B_PAGE_SIZE / 1024; in Pulse()
H A DKernelMemoryBarMenuItem.cpp29 fCommittedMemory = (int64)systemInfo.used_pages * B_PAGE_SIZE / 1024LL; in KernelMemoryBarMenuItem()
H A DProcessController.cpp727 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 DAboutSystem.cpp106 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 Dconf.cpp150 return info.max_pages - info.used_pages; in __sysconf()
/haiku/headers/os/kernel/
H A DOS.h449 uint64 used_pages; /* # of accessible pages in use */ member
/haiku/src/kits/debugger/controllers/
H A DDebugReportGenerator.cpp306 BPrivate::string_for_size((int64)info.used_pages * B_PAGE_SIZE, in _GenerateReportHeader()
/haiku/src/system/kernel/vm/
H A Dvm_page.cpp4208 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 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()