Home
last modified time | relevance | path

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

/Linux-v6.6/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()
3835 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()
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()
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()
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()
6932 free_pages += zone_page_state_snapshot(zone, NR_FREE_PAGES); in allow_direct_reclaim()
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/kernel/
Dcrash_core.c666 VMCOREINFO_NUMBER(NR_FREE_PAGES); in crash_save_vmcoreinfo_init()
/Linux-v6.6/fs/ntfs3/
Dsuper.c1623 unsigned long limit = global_zone_page_state(NR_FREE_PAGES) in ntfs_unmap_meta()