Home
last modified time | relevance | path

Searched refs:global_node_page_state (Results 1 – 12 of 12) sorted by relevance

/Linux-v4.19/fs/proc/
Dmeminfo.c47 cached = global_node_page_state(NR_FILE_PAGES) - in meminfo_proc_show()
53 pages[lru] = global_node_page_state(NR_LRU_BASE + lru); in meminfo_proc_show()
89 global_node_page_state(NR_FILE_DIRTY)); in meminfo_proc_show()
91 global_node_page_state(NR_WRITEBACK)); in meminfo_proc_show()
93 global_node_page_state(NR_ANON_MAPPED)); in meminfo_proc_show()
95 global_node_page_state(NR_FILE_MAPPED)); in meminfo_proc_show()
98 global_node_page_state(NR_SLAB_RECLAIMABLE) + in meminfo_proc_show()
99 global_node_page_state(NR_SLAB_UNRECLAIMABLE)); in meminfo_proc_show()
102 global_node_page_state(NR_SLAB_RECLAIMABLE)); in meminfo_proc_show()
104 global_node_page_state(NR_SLAB_UNRECLAIMABLE)); in meminfo_proc_show()
[all …]
/Linux-v4.19/mm/
Doom_kill.c181 nr_lru = global_node_page_state(NR_ACTIVE_ANON) + in is_dump_unreclaim_slabs()
182 global_node_page_state(NR_INACTIVE_ANON) + in is_dump_unreclaim_slabs()
183 global_node_page_state(NR_ACTIVE_FILE) + in is_dump_unreclaim_slabs()
184 global_node_page_state(NR_INACTIVE_FILE) + in is_dump_unreclaim_slabs()
185 global_node_page_state(NR_ISOLATED_ANON) + in is_dump_unreclaim_slabs()
186 global_node_page_state(NR_ISOLATED_FILE) + in is_dump_unreclaim_slabs()
187 global_node_page_state(NR_UNEVICTABLE); in is_dump_unreclaim_slabs()
189 return (global_node_page_state(NR_SLAB_UNRECLAIMABLE) > nr_lru); in is_dump_unreclaim_slabs()
Dutil.c664 free += global_node_page_state(NR_FILE_PAGES); in __vm_enough_memory()
672 free -= global_node_page_state(NR_SHMEM); in __vm_enough_memory()
682 free += global_node_page_state(NR_SLAB_RECLAIMABLE); in __vm_enough_memory()
688 free += global_node_page_state( in __vm_enough_memory()
Dpage_alloc.c4708 pages[lru] = global_node_page_state(NR_LRU_BASE + lru); in si_mem_available()
4732 available += global_node_page_state(NR_SLAB_RECLAIMABLE) - in si_mem_available()
4733 min(global_node_page_state(NR_SLAB_RECLAIMABLE) / 2, in si_mem_available()
4740 available += global_node_page_state(NR_INDIRECTLY_RECLAIMABLE_BYTES) >> in si_mem_available()
4752 val->sharedram = global_node_page_state(NR_SHMEM); in si_meminfo()
4874 global_node_page_state(NR_ACTIVE_ANON), in show_free_areas()
4875 global_node_page_state(NR_INACTIVE_ANON), in show_free_areas()
4876 global_node_page_state(NR_ISOLATED_ANON), in show_free_areas()
4877 global_node_page_state(NR_ACTIVE_FILE), in show_free_areas()
4878 global_node_page_state(NR_INACTIVE_FILE), in show_free_areas()
[all …]
Dpage-writeback.c373 x += global_node_page_state(NR_INACTIVE_FILE); in global_dirtyable_memory()
374 x += global_node_page_state(NR_ACTIVE_FILE); in global_dirtyable_memory()
1595 nr_reclaimable = global_node_page_state(NR_FILE_DIRTY) + in balance_dirty_pages()
1596 global_node_page_state(NR_UNSTABLE_NFS); in balance_dirty_pages()
1598 gdtc->dirty = nr_reclaimable + global_node_page_state(NR_WRITEBACK); in balance_dirty_pages()
1936 gdtc->dirty = global_node_page_state(NR_FILE_DIRTY) + in wb_over_bg_thresh()
1937 global_node_page_state(NR_UNSTABLE_NFS); in wb_over_bg_thresh()
Dvmstat.c1681 v[i] = global_node_page_state(i); in vmstat_start()
/Linux-v4.19/include/trace/events/
Dwriteback.h415 __entry->nr_dirty = global_node_page_state(NR_FILE_DIRTY);
416 __entry->nr_writeback = global_node_page_state(NR_WRITEBACK);
417 __entry->nr_unstable = global_node_page_state(NR_UNSTABLE_NFS);
418 __entry->nr_dirtied = global_node_page_state(NR_DIRTIED);
419 __entry->nr_written = global_node_page_state(NR_WRITTEN);
/Linux-v4.19/include/linux/
Dvmstat.h187 static inline unsigned long global_node_page_state(enum node_stat_item item) in global_node_page_state() function
239 #define node_page_state(node, item) global_node_page_state(item)
/Linux-v4.19/arch/s390/appldata/
Dappldata_mem.c106 mem_data->cached = P2K(global_node_page_state(NR_FILE_PAGES) in appldata_get_mem_data()
/Linux-v4.19/kernel/power/
Dsnapshot.c1654 size = global_node_page_state(NR_SLAB_RECLAIMABLE) in minimum_image_size()
1655 + global_node_page_state(NR_ACTIVE_ANON) in minimum_image_size()
1656 + global_node_page_state(NR_INACTIVE_ANON) in minimum_image_size()
1657 + global_node_page_state(NR_ACTIVE_FILE) in minimum_image_size()
1658 + global_node_page_state(NR_INACTIVE_FILE); in minimum_image_size()
/Linux-v4.19/drivers/virtio/
Dvirtio_balloon.c260 caches = global_node_page_state(NR_FILE_PAGES); in update_balloon_stats()
/Linux-v4.19/fs/
Dfs-writeback.c943 return global_node_page_state(NR_FILE_DIRTY) + in get_nr_dirty_pages()
944 global_node_page_state(NR_UNSTABLE_NFS) + in get_nr_dirty_pages()