Lines Matching +full:not +full:- +full:swapped

1 // SPDX-License-Identifier: GPL-2.0
3 * Data gathering module for Linux-VM Monitor Stream, Stage 1.
23 #define P2K(x) ((x) << (PAGE_SHIFT - 10)) /* Converts #Pages to KB */
37 same. If not, the record has been updated on
43 u64 pswpin; /* pages swapped in */
44 u64 pswpout; /* pages swapped out */
58 // New in 2.6 -->
62 // <-- New in 2.6
83 mem_data->sync_count_1++; in appldata_get_mem_data()
86 mem_data->pgpgin = ev[PGPGIN] >> 1; in appldata_get_mem_data()
87 mem_data->pgpgout = ev[PGPGOUT] >> 1; in appldata_get_mem_data()
88 mem_data->pswpin = ev[PSWPIN]; in appldata_get_mem_data()
89 mem_data->pswpout = ev[PSWPOUT]; in appldata_get_mem_data()
90 mem_data->pgalloc = ev[PGALLOC_NORMAL]; in appldata_get_mem_data()
91 mem_data->pgalloc += ev[PGALLOC_DMA]; in appldata_get_mem_data()
92 mem_data->pgfault = ev[PGFAULT]; in appldata_get_mem_data()
93 mem_data->pgmajfault = ev[PGMAJFAULT]; in appldata_get_mem_data()
96 mem_data->sharedram = val.sharedram; in appldata_get_mem_data()
97 mem_data->totalram = P2K(val.totalram); in appldata_get_mem_data()
98 mem_data->freeram = P2K(val.freeram); in appldata_get_mem_data()
99 mem_data->totalhigh = P2K(val.totalhigh); in appldata_get_mem_data()
100 mem_data->freehigh = P2K(val.freehigh); in appldata_get_mem_data()
101 mem_data->bufferram = P2K(val.bufferram); in appldata_get_mem_data()
102 mem_data->cached = P2K(global_node_page_state(NR_FILE_PAGES) in appldata_get_mem_data()
103 - val.bufferram); in appldata_get_mem_data()
106 mem_data->totalswap = P2K(val.totalswap); in appldata_get_mem_data()
107 mem_data->freeswap = P2K(val.freeswap); in appldata_get_mem_data()
109 mem_data->timestamp = get_tod_clock(); in appldata_get_mem_data()
110 mem_data->sync_count_2++; in appldata_get_mem_data()
135 return -ENOMEM; in appldata_mem_init()
161 MODULE_DESCRIPTION("Linux-VM Monitor Stream, MEMORY statistics");