Home
last modified time | relevance | path

Searched refs:NR_FREE_PAGES (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/mm/
Dshow_mem.c52 available = global_zone_page_state(NR_FREE_PAGES) - totalreserve_pages; in si_mem_available()
82 val->freeram = global_zone_page_state(NR_FREE_PAGES); in si_meminfo()
104 val->freeram = sum_zone_node_page_state(nid, NR_FREE_PAGES); in si_meminfo_node()
111 free_highpages += zone_page_state(zone, NR_FREE_PAGES); in si_meminfo_node()
231 global_zone_page_state(NR_FREE_PAGES), in show_free_areas()
331 K(zone_page_state(zone, NR_FREE_PAGES)), in show_free_areas()
Dpage_alloc.c2099 zone_page_state(zone, NR_FREE_PAGES) / 2) { in __rmqueue()
2153 __mod_zone_page_state(zone, NR_FREE_PAGES, -(i << order)); in rmqueue_bulk()
2917 zone_page_state(z, NR_FREE_PAGES)); in zone_watermark_ok()
2926 free_pages = zone_page_state(z, NR_FREE_PAGES); in zone_watermark_fast()
2968 long free_pages = zone_page_state(z, NR_FREE_PAGES); in zone_watermark_ok_safe()
2971 free_pages = zone_page_state_snapshot(z, NR_FREE_PAGES); in zone_watermark_ok_safe()
3830 available += zone_page_state_snapshot(zone, NR_FREE_PAGES); in should_reclaim_retry()
6644 (zone_page_state(zone, NR_FREE_PAGES) - in try_to_accept_memory()
Dpage-writeback.c283 nr_pages += zone_page_state(zone, NR_FREE_PAGES); in node_dirtyable_memory()
318 nr_pages = zone_page_state(z, NR_FREE_PAGES); in highmem_dirtyable_memory()
349 x = global_zone_page_state(NR_FREE_PAGES); in global_dirtyable_memory()
Dhighmem.c124 pages += zone_page_state(zone, NR_FREE_PAGES); in __nr_free_highpages()
Dnommu.c1803 free_kbytes = K(global_zone_page_state(NR_FREE_PAGES)); in init_user_reserve()
1824 free_kbytes = K(global_zone_page_state(NR_FREE_PAGES)); in init_admin_reserve()
Dcompaction.c2313 zone_page_state(zone, NR_FREE_PAGES)); in compaction_suitable()
2371 available += zone_page_state_snapshot(zone, NR_FREE_PAGES); in compaction_zonelist_suitable()
Dmmap.c3819 free_kbytes = K(global_zone_page_state(NR_FREE_PAGES)); in init_user_reserve()
3840 free_kbytes = K(global_zone_page_state(NR_FREE_PAGES)); in init_admin_reserve()
3884 free_kbytes = K(global_zone_page_state(NR_FREE_PAGES)); in reserve_mem_notifier()
Dvmstat.c1698 zone_page_state(zone, NR_FREE_PAGES), in zoneinfo_show_print()
Dvmscan.c2991 free = sum_zone_node_page_state(pgdat->node_id, NR_FREE_PAGES); in prepare_scan_count()
6967 free_pages += zone_page_state_snapshot(zone, NR_FREE_PAGES); in allow_direct_reclaim()
/linux-6.6.21/kernel/power/
Dsnapshot.c1306 cnt += zone_page_state(zone, NR_FREE_PAGES); in count_free_highmem_pages()
1880 highmem += zone_page_state(zone, NR_FREE_PAGES); in hibernate_preallocate_memory()
1882 count += zone_page_state(zone, NR_FREE_PAGES); in hibernate_preallocate_memory()
2024 free += zone_page_state(zone, NR_FREE_PAGES); in enough_free_mem()
/linux-6.6.21/include/linux/
Dswap.h366 #define nr_free_pages() global_zone_page_state(NR_FREE_PAGES)
Dvmstat.h493 __mod_zone_page_state(zone, NR_FREE_PAGES, nr_pages); in __mod_zone_freepage_state()
Dmmzone.h134 NR_FREE_PAGES, enumerator
/linux-6.6.21/Documentation/admin-guide/kdump/
Dvmcoreinfo.rst322 NR_FREE_PAGES section in Common variables
326 vm_stat[NR_FREE_PAGES]. Used to get the number of free pages.
/linux-6.6.21/kernel/
Dcrash_core.c666 VMCOREINFO_NUMBER(NR_FREE_PAGES); in crash_save_vmcoreinfo_init()
/linux-6.6.21/fs/ntfs3/
Dsuper.c1634 unsigned long limit = global_zone_page_state(NR_FREE_PAGES) in ntfs_unmap_meta()